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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Josh Siegel
日付:  
To: Patrick Starrenburg
CC: exim-users
題目: 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



>
>