On 2/11/2012 8:14 AM, Toni Mueller wrote: > > Hi, > > I would like to modify the envelope sender address depending on the > target domain(s) I'm sending to. 'generic' doesn't appear to be > applicable. If possible, I'd also like to set a default rewriting rule > other than "pass the envelope unmodified". >
You can use transport_maps to select a specific master.cf transport based on the recipient domain, and then set an appropriate -o smtp_generic_maps override on that transport. This obviously won't scale well, but should be good enough for a handful of target domains. -- Noel Jones