OT: Sendmail related...

Steve Freegard steve.freegard at fsl.com
Tue Jun 23 17:45:24 IST 2009


Eduardo Casarero wrote:
> 
> 
> 2009/6/22 Alex Neuman <alex at rtpty.com <mailto:alex at rtpty.com>>
> 
>     Hi list,
> 
>     I've been googling around and haven't been able to figure out *how*
>     to look for the following two things. Feel free to reply off-list if
>     you think it's not list-worthy material.
> 
>     1. How do I change the "try to deliver for four days and then bounce
>     back to the sender" to, say, two days, when using sendmail?
> 
> 
> Check this values in your sendmail.cf <http://sendmail.cf> notice that
> "queuewarn" is higher than "queuereturn", so my sendmail nevers send the
> DSN saying "we cant send your email but we are still trying" we only
> send the DSN "sorry after 5 days we could not send your email"
> 
> O Timeout.queuereturn=5d
> #O Timeout.queuereturn.normal=5d
> #O Timeout.queuereturn.urgent=2d
> #O Timeout.queuereturn.non-urgent=7d
> #O Timeout.queuereturn.dsn=5d
> O Timeout.queuewarn=8d
> 

Never edit sendmail.cf directly; edit sendmail.mc and set the
appropriate values there instead.

On most UNIXes running 'make' in /etc/mail will build the maps and
update sendmail.cf if sendmail.mc has been modified; so any edits to the
sendmail.cf file will be lost.

Regards,
Steve.


More information about the MailScanner mailing list