On 2008-04-26 at 01:02 -0500, Robert G. Ristroph wrote: > This FAQ seems close to what I need: > > http://wiki.exim.org/FAQ/Routing_to_remote_hosts/Q0312 > > But, it seems to say that if the From: address was one thing, use a > certain smarthost, and if it is another, use a different smarthost. > > What I want to do is use a particular smarthost if the From: > address is a certain thing, but otherwise deliver mail directly. > How do I do that ?
You use two Routers. The second Router should be your existing dnslookup Router. The first Router should be a manualroute Router, as per the FAQ entry you reference, but add a pre-condition to the Router so that it's only used for mail from RT, <[EMAIL PROTECTED]>. There's a "senders" pre-condition. So: rt_to_smarthost: driver = manualroute transport = remote_smtp senders = [EMAIL PROTECTED] route_data = special.smarthost.example dnslookup: # .... Regards, -Phil -- ## 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/
