Red Hat Bugzilla – Bug 802518
Sendmail DaemonPort change from 25
Last modified: 2012-03-13 05:05:01 EDT
Description of problem:
If you change the DaemonPortOptions=Port=25 to DaemonPortOptions=Port=125 the MTA will not start. You can start the MTA at the command line with "/usr/sbin/sendmail -bd -q1h.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2.change the DaemonPortOptions=Port=125
Looks like it starts, but only the client actually starts.
maillog stats that
Mar 12 09:42:48 mail sendmail: starting daemon (8.14.4): SMTP+queueing@01:00:00
Mar 12 09:42:48 mail sendmail: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: cannot bind: Permission denied
Mar 12 09:42:48 mail sendmail: daemon MTA: problem creating SMTP socket
Mar 12 09:42:48 mail sendmail: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting
If you after this enter at the command line as root
/usr/sbin/sendmail -bd -q1h
Sendmail works fine on port 125.
It looks like SELinux, you need to mark your new port as SMTP, i.e. by:
# yum install policycoreutils-python
# semanage port -a -t smtp_port_t -p tcp 125
or disable SELinux (not recommended), one-shot for running session:
# setenforce 0
According to the above I am closing this as NOTABUG. If the problem persists, feel free to reopen.