[CentOS] Sendmail logs?
Ashley M. Kirchner
ashley at pcraft.com
Tue Jan 15 22:13:09 UTC 2013
How would it know which one goes to which line?
daemon /usr/sbin/sendmail -L sm-mta $([ "x$DAEMON" = xyes ] && echo
-bd) \
$([ -n "$QUEUE" ] && echo -q$QUEUE) $SENDMAIL_OPTARG -X
/var/log/sm-mta
versus
daemon --check sm-client /usr/sbin/sendmail -L sm-msp-queue -Ac \
-q$SMQUEUE $SENDMAIL_OPTARG -X /var/log/sm-msp
If I stick those in SENDMAIL_OPTARG, how does it know which option applies
to which?
On Tue, Jan 15, 2013 at 2:58 PM, John R Pierce <pierce at hogranch.com> wrote:
> 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
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
More information about the CentOS
mailing list