From owner-freebsd-questions@FreeBSD.ORG Thu Aug 19 05:58:36 2010 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 DA8F9106567A for ; Thu, 19 Aug 2010 05:58:36 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 9FBF88FC18 for ; Thu, 19 Aug 2010 05:58:36 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o7J5wXHg048731 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 19 Aug 2010 00:58:33 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o7J5wXm5037086 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 19 Aug 2010 00:58:33 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o7J5wWXc037085; Thu, 19 Aug 2010 00:58:32 -0500 (CDT) (envelope-from dan) Date: Thu, 19 Aug 2010 00:58:32 -0500 From: Dan Nelson To: David Allen Message-ID: <20100819055832.GA73221@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Thu, 19 Aug 2010 00:58:33 -0500 (CDT) Cc: freebsd-questions@freebsd.org Subject: Re: sendmail, queue intervals and ETRN 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: Thu, 19 Aug 2010 05:58:36 -0000 In the last episode (Aug 18), David Allen said: > I've had the following setup at home for a number of years: > > mailhub <----> smarthost <---> intarwebs > > Everything works as intended, of course, but I'd like to change the setup > to accomodate the mailhub host being powered off at night. After it's > restarted in the morning (or whenever), the mailhub should issue an ETRN > command for any queued mail, and any changes made to the smarthost's > configuration the night before are undone. > > Is there a simple answer to this? What I'm after is a solution that > avoids MAILER DAEMON messages, etc. as a result of the mailhub host being > unavailable. Easiest way would be to raise the warning timeout on your smarthost to be longer than your expected poweroff duration. define(`confTO_QUEUEWARN', `1d')dnl -- Dan Nelson dnelson@allantgroup.com