Re: [Exim] Not queueing some addresses

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Holger Mauermann
CC: exim-users
題目: 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