Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2010 00:58:32 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        David Allen <the.real.david.allen@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sendmail, queue intervals and ETRN
Message-ID:  <20100819055832.GA73221@dan.emsphone.com>
In-Reply-To: <AANLkTimxUc-WY6OT7PU8Mba734X9GTSe-kZ3sFhJkTmK@mail.gmail.com>
References:  <AANLkTimxUc-WY6OT7PU8Mba734X9GTSe-kZ3sFhJkTmK@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100819055832.GA73221>