Re: [Exim] Redirecting SMTP session to different server base…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Josh Siegel
Dátum:  
Címzett: Patrick Starrenburg
CC: exim-users
Tárgy: Re: [Exim] Redirecting SMTP session to different server based on RCPT address


Patrick Starrenburg wrote:

>I am interested to see if this is feasible...
>
>I want to see if it is possible to redirect an SMTP communication from one MTA
>to another based on RCPT address
>
>


>

Below the dnslookup rule, add a new one..

magic:
driver = manualroute
route_data = ${lookup{$local_part}lsearch{/etc/exim/forward}}
transport = remote_smtp

This looks up the username in the supplied file and will forward the
email to the supplied host

Of course, You can use mysql or ldap to determine the forwarding host

        --josh



>
>