On 06/04/2013 02:20 PM, Erwan David wrote:
On Tue, Jun 04, 2013 at 01:44:46PM CEST, Tom Hendrikx <t...@whyscream.net> said:
On 06/04/2013 01:22 PM, Antonio Gutiérrez Mayoral wrote:
Hi Wietse,
Yes, its a solution, but these emails should be delivered in
bussines-time :-(
(it doesnt matter if it takes 2 hours... but in bussiness time...)
thank you so much!
You could run a script as a cronjob that queues x messages when the
active queue contains (100 minus x) messages (where 100 is an arbitrary
number). This means that all mails on HOLD trickle out as quick as
possible, while not overloading the active queue...
It means when the queue has 100 messages, you stop sending anything ?
You could check the headers for identifying features (maybe the list ID,
or a subject part, or...whatever works), and instantly DEFER them.
This will put all messages in the deferred queue, guaranteeing they
won't choke incoming: if the deferred queue is not empty, one message
will be taken from incoming and deferred, in turn.
--
J.