From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 18:17:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 304D71065673 for ; Mon, 19 Jan 2009 18:17:07 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out4.apple.com (mail-out4.apple.com [17.254.13.23]) by mx1.freebsd.org (Postfix) with ESMTP id 15E5B8FC18 for ; Mon, 19 Jan 2009 18:17:06 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay14.apple.com (relay14.apple.com [17.128.113.52]) by mail-out4.apple.com (Postfix) with ESMTP id D16794F3F139; Mon, 19 Jan 2009 10:17:06 -0800 (PST) Received: from relay14.apple.com (unknown [127.0.0.1]) by relay14.apple.com (Symantec Brightmail Gateway) with ESMTP id B7F8828182; Mon, 19 Jan 2009 10:17:06 -0800 (PST) X-AuditID: 11807134-ac863bb000000ff0-de-4974c3a2c96e Received: from cswiger1.apple.com (cswiger1.apple.com [17.227.140.124]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by relay14.apple.com (Apple SCV relay) with ESMTP id 86C04280F7; Mon, 19 Jan 2009 10:17:06 -0800 (PST) Message-Id: <6C9757B2-E4D9-4898-973E-E4C42DCA05B6@mac.com> From: Chuck Swiger To: Scott Aitken In-Reply-To: <20090118085337.GA77758@server-01.thismonkey.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Mon, 19 Jan 2009 10:17:06 -0800 References: <20090118085337.GA77758@server-01.thismonkey.com> X-Mailer: Apple Mail (2.930.3) X-Brightmail-Tracker: AAAAAA== Cc: freebsd-questions@freebsd.org Subject: Re: disabling queuewarn DSN when mailhub delivers to specific host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2009 18:17:07 -0000 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