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

On Wednesday 27 February 2002 09:11 pm, Roger wrote:
> Hi guys
>
> You know sendmail will keep 5 days to retry sending mails that can't be
> delivered to destination at once. I wonder how can I change 5 days to 4
> days 3 ..?
>
> Any suggestion will be appreciated!

Look at /etc/mail/sendmail.mc
This line:
dnl define(`confTO_QUEUERETURN', `5d')dnl
could be changed to:
define(`confTO_QUEUERETURN', `3d')dnl
To return mail after 3 days. (The default if not defined is 5 days.)

After editing sendmail.mc, you need to run 
cp /etc/sendmail.cf /etc/sendmail.cf.save
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
service sendmail restart

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

iD8DBQE8fZRGeMAUbzJhSVcRAmumAJ9CZ8u0bxwVV9413h0rv9248VEc2QCgnxWW
VYvyO7fJmWwhkld6Y8GYIpo=
=Fkv1
-----END PGP SIGNATURE-----



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

Reply via email to