Hello,
Mike Cardwell <exim-users@???> (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
> postmaster@??? 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:}}{postmaster@???}}
> transport = remote_smtp
> route_data = 192.168.0.1
--
Heiko