On Tue, 30 Jul 2002, Peter A. Savitch wrote:
> PH> You can't stop an immediate delivery process starting up on the basis of
> PH> where the message came from. You can, however, cause that process to
> PH> defer all deliveries by putting this (untested) as your first router:
>
> But I can stop an immediate delivery on the basis of remote domain
> (queue_smtp_domains). Does it mean it's possible in general (by adding
> more options)?
queue_smtp_domains does exactly the same thing as my suggested router.
That is, it defers at delivery time. It doesn't stop the delivery
process starting.
> PH> delay_some:
> PH> driver = redirect
> PH> allow_defer
> PH> condition = ${if and { \
> PH> {eq{$originator_uid}{1234}} \
> PH> {!queue_running} \
> PH> }{yes}{no}} \
> PH> data = :defer: you don't get to go until a queue run
>
> This is known to return temporary delivery fail, which will confuse
> local agent checking Exim exit code. Can it be avoided?
Oh, sorry. You should put no_verify on that router to stop it being run
for verification. You just want it for delivery.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.