On 17/01/2008 10:49, ikearns wrote:
> Can someone assist in advising how you would use the manualroute router
> within the Exim config to route mail to different smarthosts based upon the
> senders email address or the domain that the user is sending mail from?
weird_routing:
driver = manualroute
transport = remote_smtp
route_data = ${lookup {$sender_address_domain} lsearch \
{/etc/exim/routes} \
{default.smarthost.example.com}}
Or something like that. If it's wrong, try
http://www.exim.org/exim-html-current/doc/html/spec_html/ch20.html#SECID123
Cheers,
John.