Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2009 10:17:06 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        Scott Aitken <scott@thismonkey.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: disabling queuewarn DSN when mailhub delivers to specific host
Message-ID:  <6C9757B2-E4D9-4898-973E-E4C42DCA05B6@mac.com>
In-Reply-To: <20090118085337.GA77758@server-01.thismonkey.com>
References:  <20090118085337.GA77758@server-01.thismonkey.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 18, 2009, at 12:53 AM, Scott Aitken wrote:
> If my exchange server is down for whatever reason, after  
> confTO_QUEUEWARN
> expires my mailhub sends the sender a delay DSN.
>
> Because I consider this mail to have already been accepted into my  
> network,
> and has been delivered locally at least, can I configure sendmail to  
> NOT send
> the DSN?

Add:

   define(`confTO_QUEUEWARN', `6d')dnl

...to your sendmail.mc and rebuild sendmail.cf; this will change the  
DSN warning period to be longer than the (standard) bounce time, so no  
warning DSNs will be generated until the final bounce.  This is not  
considered to be good practice, as most people would like a warning  
that the email they tried to send has not been delivered to the  
intended recipient sooner than that.

(Most people seem to want email to resemble IM in terms of speed, so  
even a delay of a few minutes bothers some....)

> Specifically I would like to do this on a per-host basis (ie, turn
> it off when delays to the exchange server occur, but not for other  
> (future)
> servers).

I don't believe you can configure different timeouts for different  
destinations short of setting up multiple sendmail installations with  
different configs.

> I would still like delay DSNs sent from other mail Internet servers  
> to get though to my
> local users too.

Not a problem, aside from the fact that any DSNs someone else sends  
are going to be delayed just like all other mail if your Exchange  
server is down...

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C9757B2-E4D9-4898-973E-E4C42DCA05B6>