Hi there --
I am running an ESMTP sendmail 8.13.8/8.13.8 server on a CentOS 64-bit distribution. The server is able to send out messages, but is unable to receive them. I have confirmed this by trying to send messages to various accounts on the server and monitoring the /var/log/maillog file with the tail -f command. Additionally, I have checked the time stamp of several /var/spool/mail/<userid> files, and none have today's date.
I checked the /etc/mail/sendmail.mc file, and focused my attention on one of the DAEMON_OPTIONS settings. Prior to making any changes, I made backup copies of the sendmail.cf and sendmail.mc files in the /etc/mail directory. The one in question is shown below:
Code:
dnl # The following causes sendmail to only listen on the IPv4 loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
I believe that is the cause of the issue, and I changed the line question to read as it is shown. The original format of the DAEMON_OPTIONS line is the following:
Code:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
After I made the change, I ran the following command to have the changes go into effect:
Code:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
The text of the file scrolled down the screen, and ended with a command prompt. I then ran the service sendmail restart command. The daemon stopped and restarted without issue.
I tried sending an e-mail from an external account to the server, but there was no indication the message got through. Is there something wrong with my syntax, or is there an additional step that needs to be done?
Thanks.