[CentOS] Sendmail logs?

John R Pierce pierce at hogranch.com
Tue Jan 15 21:58:06 UTC 2013

On 1/15/2013 1:29 PM, Ashley M. Kirchner wrote:
> Adding -X /var/log/sm-mta and -X /var/log/sm-msp to the appropriate startup
> lines in /etc/init.d/sendmail fixes this problem.

don't modify /etc/init.d scripts from managed packages or you can expect 
grief from updates.

instead, put your modifications in /etc/sysconfig/sendmail like...

SENDMAIL_OPTARG= -X /var/log/sm-mta and -X /var/log/sm-msp

More information about the CentOS mailing list