Good Morning,

we need to route some mail traffic based on sender AND recipient if that's
possible.

Configuration as of now:

Everything from * to @example.com  goes to 10.10.10.10

myrouter:
driver = manualroute
 domains = example.com
 transport = remote_smtp
 route_list = * 10.10.10.10

What we tried:

#testrouter:
# driver = manualroute
# senders = import...@example.net
# domains = example.com
# transport = remote_smtp
# route_list = * 192.168.178.1

What we need:

Everything from import...@example.net  AND  to f...@example.com--->
192.168.178.1

Everything else  from  import...@example.net  should still go to
10.10.10.10.

So we need to take one sender address, and route everything from that sender
address to a defined list of recipients on 192.168.178.1, while everything
else from that sender should still go to 10.10.10.10.

Example with two addresses, that we want to route in a different way:

>From import...@example.net  and to f...@example.com -->  192.168.178.1
>From import...@example.net  and to f...@example.com -->  192.168.178.1
>From import...@example.net and to r...@example.com --> 10.10.10.10


I see routers can decided based on domains and based on senders, but i don't
see they can decide based on senders AND  recipients.

Have a nice day!


-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to