Christian Frömmel wrote:
> 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.
i hope for you, that noone will add something like
* CNAME yourmx
to your zonefile ;)
ciao