On Fri, Jul 24, 2009 at 11:50:19AM -0400, Etienne Simard wrote: > Hi, > > I must have been searching at the wrong place or using the wrong > keywords as I have been trying to find how to correctly transport to a > particular smtp relay or have postfix do a MX query based on the "from" > address field. I did look at the postfix doc, in se's and the > postfix-users archives withtout any luck. The transport maps do a great > job of doing it based on the "to" address field or domain but I am still > looking to find how to do it with a "from" field. I hope someone can > point me to the right doc. > > > Etienne >
Hi Etienne, We have been looking at a similar type of functionality but are using the client IP address instead. The two options we looked at both set the envelope recipient address using "+xxx" to encode the sender information which could then be used by a prce/regex transport map to send the message to the correct place. Either a policyd or a header_checks content filter would work. We are going to use the policyd to avoid processing a large data stream. Let me know what you end up doing and if you find any other options. Regards, Ken