Re: [exim] routing logic based on sender and recipient

Top Page
Delete this message
Reply to this message
Author: Florin Andrei
Date:  
To: exim-users
Subject: Re: [exim] routing logic based on sender and recipient
On 07/24/2013 03:23 AM, Drav Sloan wrote:
> Florin Andrei wrote:
>>
>> 2. All emails with a recipient within a very short list
>> (jim@???, joe@???) are delivered locally,
>> and will typically be processed by various scripts specified in
>> ~/.forward. If there's no match here, then next:
>
> router_for_dot_forwards_fancydomain:
>    driver = redirect
>    check_local_user
>    file = $home/.forward
>    file_transport = address_file
>    pipe_transport = address_pipe


There are some recipients within @fancydomain.com that are local here,
yet I don't want them to be delivered locally (instead, they will get
caught by the next router and sent to a relay). So the locality
condition cannot be used solely to determine who these users are.

How do I specify a limited list of recipients @fancydomain.com to be
delivered locally? Let's say only jim@??? and
joe@??? are to be delivered locally, no matter what other
local users may be created here. All other @fancydomain.com users need
to go to next router.

--
Florin Andrei
http://florin.myip.org/