-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 02 November 2001 01:42 am, Harry Putnam wrote:
> rpm -qa|grep sendmail
> sendmail-8.11.6-1.7.1
> sendmail-cf-8.11.6-1.7.1
>

> 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?

# rpm -qa | grep sendmail
sendmail-cf-8.11.6-1.7.1
sendmail-doc-8.11.6-1.7.1
sendmail-8.11.6-1.7.1

In /etc/rc.d/init.d/sendmail :

daemon /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd) \
                                  $([ -n "$QUEUE" ] && echo -q$QUEUE)

If $DAEMON and $QUEUE are defined, and they are in the sourced file 
/etc/sysconfig/sendmail, then it
looks like it is being started as sendmail -bd -q1h

You should be able to change:
([ "$DAEMON" = yes ] && echo -bd)
To:
([ "$DAEMON" = yes ] && echo -bd -X /path/to/your/logfile)

Completely untested. 
Note than man sendmail shows -X  logfile as opposed to -x logfile.

Hope that helps,

- -D

- -- 

pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt

- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE75UtdeMAUbzJhSVcRAkp7AKCJi2dF3qnBQIA2gEdLTBgS4gZ3RwCguKzx
g6oJYaU0bsIt6m6mkTVi+eI=
=MeJ8
-----END PGP SIGNATURE-----



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to