sendmail & centos07

hello - i have been able to install sendmail on my home centOS7 box but not the interserver one.

i simply do:

yum -y install sendmail sendmail-cf m4 ;
systemctl start sendmail ;


this works fine on my home centOS box, but here on interserver i get this message:

systemctl start sendmail;

Job for sendmail.service failed because a timeout was exceeded. See "systemctl status sendmail.service" and "journalctl -xe" for details.

systemctl status sendmail.service;

● sendmail.service - Sendmail Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/sendmail.service; disabled; vendor preset: disabled)
Active: failed (Result: timeout) since Tue 2016-02-09 12:17:04 EST; 12s ago
Process: 15978 ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG (code=exited, status=0/SUCCESS)
Process: 15971 ExecStartPre=/etc/mail/make aliases (code=exited, status=0/SUCCESS)
Process: 15969 ExecStartPre=/etc/mail/make (code=exited, status=0/SUCCESS)

Feb 09 12:15:34 edwardsmark.info systemd[1]: Starting Sendmail Mail Transport Agent...
Feb 09 12:15:34 edwardsmark.info systemd[1]: PID file /run/sendmail.pid not readable (yet?) after start.
Feb 09 12:15:35 edwardsmark.info postfix/master[16052]: daemon started -- version 2.10.1, configuration /etc/postfix
Feb 09 12:17:04 edwardsmark.info systemd[1]: sendmail.service start operation timed out. Terminating.
Feb 09 12:17:04 edwardsmark.info systemd[1]: Failed to start Sendmail Mail Transport Agent.
Feb 09 12:17:04 edwardsmark.info systemd[1]: Unit sendmail.service entered failed state.
Feb 09 12:17:04 edwardsmark.info systemd[1]: sendmail.service failed.

i am ready to reload the OS on the interserver control panel and see if that works, but thought i would check here first.
 

lerab2019

New Member
This is my problem on centOS 7, please help me to solve it....
May 29 02:10:05 server.fcblerp.com systemd[1]: Stopped Sendmail Mail Transport Agent.
May 29 02:10:05 server.fcblerp.com systemd[1]: Starting Sendmail Mail Transport Agent...
May 29 02:10:08 server.fcblerp.com systemd[1]: PID file /run/sendmail.pid not readable (yet?) after start.
May 29 02:10:08 server.fcblerp.com sendmail[24800]: starting daemon (8.14.7): SMTP+queueing@01:00:00
May 29 02:10:08 server.fcblerp.com systemd[1]: Started Sendmail Mail Transport Agent.
 

Quags

Administrator
Staff member
systemctl status sendmail.service may show more info.

check logs with journalctl -xf and poste them here.

Marks issue was most likely that postfix was already installed.
 

lerab2019

New Member
It is displaying this after journalctl -xf


-- Logs begin at Wed 2019-05-29 22:55:16 +06. --
May 29 23:00:28 server.fcblerp.com sm-msp-queue[20450]: starting daemon (8.14.7): queueing@01:00:00
May 29 23:00:28 server.fcblerp.com systemd[1]: Started Sendmail Mail Transport Client.
-- Subject: Unit sm-client.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit sm-client.service has finished starting up.
--
-- The start-up result is done.
May 29 23:01:01 server.fcblerp.com systemd[1]: Created slice User Slice of root.
-- Subject: Unit user-0.slice has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit user-0.slice has finished starting up.
--
-- The start-up result is done.
May 29 23:01:01 server.fcblerp.com systemd[1]: Started Session 3 of user root.
-- Subject: Unit session-3.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-3.scope has finished starting up.
--
-- The start-up result is done.
May 29 23:01:01 server.fcblerp.com CROND[20459]: (root) CMD (run-parts /etc/cron.hourly)
May 29 23:01:01 server.fcblerp.com run-parts(/etc/cron.hourly)[20466]: starting 0anacron
May 29 23:01:01 server.fcblerp.com run-parts(/etc/cron.hourly)[20472]: finished 0anacron
May 29 23:01:01 server.fcblerp.com run-parts(/etc/cron.hourly)[20474]: starting mcelog.cron
May 29 23:01:01 server.fcblerp.com run-parts(/etc/cron.hourly)[20478]: finished mcelog.cron
May 29 23:01:01 server.fcblerp.com systemd[1]: Removed slice User Slice of root.
-- Subject: Unit user-0.slice has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit user-0.slice has finished shutting down.
 

lerab2019

New Member
This is more information after running systemctl status sendmail

May 29 23:13:16 server.fcblerp.com systemd[1]: Starting Sendmail Mail Transport Agent...
May 29 23:13:16 server.fcblerp.com systemd[1]: PID file /run/sendmail.pid not readable (yet?) after start.
May 29 23:13:16 server.fcblerp.com sendmail[20773]: starting daemon (8.14.7): SMTP+queueing@01:00:00
May 29 23:13:16 server.fcblerp.com systemd[1]: Started Sendmail Mail Transport Agent.
May 29 23:17:16 server.fcblerp.com sendmail[20774]: x4SImV9q023432: to=<my@email.com>, ctladdr=<fcbl_erp2019@server.fcblerp.com> (1000/1000), delay=22:28:45, xdelay=00:04:00, mailer=esmtp, pri=1740323, relay=mx00.mail.com. [74.208.5.20], dsn=4.0.0, stat=Deferred: Connection timed out with mx00.mail.com.
May 29 23:17:16 server.fcblerp.com sendmail[20774]: x4SInW5k023445: to=<my@email.com>, ctladdr=<fcbl_erp2019@server.fcblerp.com> (1000/1000), delay=22:27:44, xdelay=00:00:00, mailer=esmtp, pri=1740323, relay=mx01.mail.com., dsn=4.0.0, stat=Deferred: Connection timed out with mx01.mail.com.
May 29 23:17:16 server.fcblerp.com sendmail[20774]: x4SInYRn023450: to=<my@email.com>, ctladdr=<fcbl_erp2019@server.fcblerp.com> (1000/1000), delay=22:27:42, xdelay=00:00:00, mailer=esmtp, pri=1830323, relay=mx00.mail.com., dsn=4.0.0, stat=Deferred: Connection timed out with mx00.mail.com.
 

Quags

Administrator
Staff member
relay=mx00.mail.com., dsn=4.0.0, stat=Deferred: Connection timed out with

Either port 25 outgoing is blocked, or mail.com is blocking your server.
 
Top