Re: [Exim] defer-router in exim3

Pàgina inicial
Delete this message
Reply to this message
Autor: Christian Frömmel
Data:  
A: exim-users
Assumpte: Re: [Exim] defer-router in exim3
At 15:49 10.07.02 +0100, you wrote:

Hello,

>In Exim 3, you can't easily force a defer in a router. You have to use a
>trick (as has already been posted). However, you can easily force a
>defer in an aliasfile director, so if you can make all domains local, you
>can do it tidily that way, using :defer:.


Tamas already pointed me in the right direction. Now I have this router:

defer_router:
         driver = domainlist
         transport = remote_smtp
         condition = "${if def:$h_X-delayed:{1}{0}}"
         route_list = "* totally.bogus.hostname.which.should.never.resolve
byname"
         host_find_failed = "defer"


It looks awful, but works perfectly.

Thanks for the quick help,
Christian

--
Christian Froemmel - Systemadministration Mail/Webserver
WWW: http://www.medizin.fu-berlin.de/~froemmel
FU Berlin - Fachbereich Humanmedizin / Med. Inf.
Hindenburgdamm 30 / D-12200 Berlin (Germany)