[Mailman-Users] How to configure mailman to only deliver mail a few times a day?

Mark Sapiro mark at msapiro.net
Sat Feb 7 18:09:21 CET 2015


On 02/06/2015 10:42 PM, Laura Creighton wrote:
> 
> Then you write an external program that wakes up every so often, and
> checks to see if anything in queue1 is old enough to send. If it is,
> it moves it off to queue2, where the second sendmail will deal with it.
> 
> Anything obviously wrong with this idea?


It doesn't seem that the 'mover' should be checking the age of things in
queue 1. The idea is just to not send messages more than a few times a
day, not to introduce extra delay.

Also, it's easy to configure Mailman to use some smtp port other than 25
for sending and thus send only to to the first sendmail and be the only
thing that does so, but you may not want to delay all Mailman mail, e.g.
an on demand password reminder or a held message notification. The mover
needs to be smart. I think it should check queue1 frequently and if a
queued message has a Mailman generated Message-ID: of the form
<mailman\.\d+\.\d+\.\d+\..+ at .+> move it right now, otherwise wait until
x hours since the last "bulk move" at which time it moves everything and
updates the last bulk move time.

-- 
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