Re: [Exim] Not queueing some addresses

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Holger Mauermann
CC: exim-users
Subject: Re: [Exim] Not queueing some addresses
On Sun, 26 Oct 2003, Holger Mauermann wrote:

> Thanks, with
>
>   accept domains    = +local_domains
>   accept recipients = important@??? : vip@???
>   accept hosts      = +relay_from_hosts
>          control    = queue_only

>
> it works for now. But I'm not really happy with it. I think it could be
> much better if there would be a queue option for routers...


There is a "defer" option for the redirect router. There is a
"first_delivery" condition that you can use in a filter. Therefore:

queue_first_time:
driver = redirect
allow_filter
allow_defer
... whatever conditions you want ...
data = "#Exim filter\n if first_delivery then defer endif"

Completely untested.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book