Re: Sendmail logs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxx> 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@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux