On Thu, 1 Nov 2001, Harry Putnam wrote:
> How can I determine what flags are being fed to sendmail?
>
> ps waxu|grep sendmail doesn't show any:
> root 14709 [...] sendmail: accepting connections
> I couldn't figure them out in /etc/rc.d/init.d/sendmail
> There don't seem to be any other than `daemon'
>
> It souces /etc/sysconfig/sendmail where I find:
>
> DAEMON=yes
> QUEUE=1h
>
> But I know some flags must be getting set somewhere -b, -f maybe some
> more. I want to set the -x flag and set a log file for it. Separate
> from /var/log/maillog.
>
> Where can I set a custom flag?
>
You will have to edit /etc/rc.d/init.d/sendmail. There are no
provisions in the startup file to pass anything except -bd and -q<time>.
What you waould want to do is edit the line:
daemon /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd) \
to
something like:
daemon /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd -X logfile) \
I am not sure why you want to use this option, but that will do it.
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list