Re: [Exim] selective relay

Góra strony
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
Dla: exim-users
Temat: Re: [Exim] selective relay
Erik Jacobs <emj14@???> wrote:
>> You want to optionally drop the message in the transport? No
>> idea how you'd do that. Decision-making is done in the
>> routers, transports do what the routers tell them.
>
> No, if there's a way to do it from the router that's the best way.
>
>> Can't see why you shouldn't be able to do that - have a
>> redirect router which has a data= clause that resolves to the
>> aliased address if the condition you want is valid or
>> ':blackhole:' otherwise - this will then get passed to the
>> transport or devnulled which I think is what you want. No
>> need to involve user accounts.
>
> Can you declare a transport when you are using a redirect router? I
> thought once you declare the data that's it -- Exim shoots the mail
> over to the data address.


No, you can't. But the resulting address will go through your router chain
again starting at the top, so you could catch them next time around and
direct them to your transport.

Peter