Hello, Mike Cardwell <exim-us...@lists.grepular.com> (Mi 15 Jul 2009 15:29:45 CEST): > 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 > postmas...@example.com in the From header to 192.168.0.1
Hm, I'm not sure, if I would rely on the From-Header or on the envelope from. Probably on the envelope. Or even more save: on some authenticated id. > the_router: > driver = manualroute > condition = ${if eq{${address:$h_From:}}{postmas...@example.com}} > transport = remote_smtp > route_data = 192.168.0.1 -- Heiko
signature.asc
Description: Digital signature
-- ## List details at http://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/