if unable to start sendmail and get the following error messages in syslog, the fix is at the bottom:
Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]: Unable to start Sendmail.
Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]:
Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]: The sendmail.cf file is configured for send_only feature.
Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]: Modify the /etc/rc.config.d/mailservs file with the send_only feature.
Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: To disable the send_only feature:
Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Run the gen_cf file to generate the sendmail.cf file.
Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Merge your site-specific customizations with the /usr/newconfig/etc/mail/cf/cf/sendmail.cf.gen file.
Nov 19 15:13:06 HOSTNAME /sbin/init.d/sendmail[11536]:
Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Copy the /usr/newconfig/etc/mail/cf/cf/sendmail.cf.gen file as /etc/mail/sendmail.cf.
Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Change the /etc/rc.config.d/mailservs file accordingly.
Nov 19 15:13:07 HOSTNAME /sbin/init.d/sendmail[11536]: - Restart Sendmail.
in /etc/mail/sendmail.cf change the following (or similar line)
from:
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1,Name=MTA
to:
O DaemonPortOptions=Name=MTA
then restart sendmail: /sbin/init.d/sendmail start it should start fine.
11.19.2009
Subscribe to:
Posts (Atom)