Re: [exim] holding up deliveries for a specific domain betwe…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Kjetil Torgrim Homme
Fecha:  
A: Jason_Meers
Cc: exim-users
Asunto: Re: [exim] holding up deliveries for a specific domain between8am-8pm
On Mon, 2007-02-19 at 22:09 +0000, Jason_Meers wrote:
> 1) Is queuing the right kind of solution here or would it be possible to
> create a "stunt transport" that only operates between certain hours of
> the day?


how about putting a defer router in front of the router which does the
work?

defer_during_workinghours:
driver = manualroute
domains = complianceinternet.co.uk
condition = ${if match {$tod_log} {\N^....-..-.. (0[89]|1.):\N}}
route_data = 127.0.0.1 byname
self = defer
verify = false

untested.

remember to set errors_to to "" in the unseen router to avoid delayed
delivery warnings.

> 2) How do I stop my regular queue runners from just picking up and
> delivering anything I've tried to hold with a "queued domain" entry anyway?


the above technique should handle that.

--
Kjetil T.