[Mailman-Users] How to force retry queue to try again?

Mark Sapiro mark at msapiro.net
Tue Aug 7 00:16:50 EDT 2018


On 08/06/2018 07:22 PM, Richard Johnson wrote:
> I'm trying to find some documentation on how to force my retry ("RetryRunner") queue to try delivery again.  I'll keep searching but thought I'd toss a quick note here as well.  Anyone?


Prior to Mailman 2.1.26, it processes the queue, sleeps for 15 minutes
and repeats. There has always been a DELIVERY_RETRY_WAIT setting that
defaulted to 1 hour, but prior to 2.1.26, it was ineffective. The
current doc for that setting in Defaults.py is

> # How long should we wait before we retry a temporary delivery failure?
> # Because RetryRunner sleeps for 15 minutes between processes of its queue,
> # whatever is put here is effectively rounded up to the next integer multiple
> # of 15 minutes.
> DELIVERY_RETRY_WAIT = hours(1)

The way this works is when a delivery fails for a temp failure, the
current time + DELIVERY_RETRY_WAIT is placed in the message's metadata
and the message won't be retried before that time.

If your Mailman is pre 2.1.26, or if DELIVERY_RETRY_WAIT has been set to
a very low value, you can restart RetryRunner by sending it SIGINT. That
should  wake it up to process its queue.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list