Sebastian Lohmeier wrote:
> I think it is possible for Exim to route e-mails to smart hosts - SMTP
> servers it authenticates to with username and password (like if it was a
> client).
>
> When I create a special route for these to-be-routed e-mails, is it
> possible to create the route based on the FROM address of the e-mail
> messages rather than based on the recipients addresses?
>
> Thanks in advance for your help!
Yes. The following router would route any mail with
postmaster@??? in the From header to 192.168.0.1
the_router:
driver = manualroute
condition = ${if eq{${address:$h_From:}}{postmaster@???}}
transport = remote_smtp
route_data = 192.168.0.1
--
Mike Cardwell - IT Consultant and LAMP developer
Cardwell IT Ltd. (UK Reg'd Company #06920226)
http://cardwellit.com/