Wietse Venema: > helices: > > I've been through this before. Yes, I know MTA isn't preferred for such. > > This isn't happening elsewhere. > > > > We have 100s of domains. For example, To:i...@domain1.com will get > > delivered to s...@2domain.net.
This can be done with virtual_alias_maps (i...@domain1.com->s...@2domain.net). Important: this replaces the envelope address but not the header address. > > When Suzy replies, it will be > > From:i...@domain1.com > > > > I can do this by rewriting both From: and To: headers, both incoming and > > outgoing. Use canonical maps: canonical_classes = header_sender, header_recipient canonical_maps = some-map-type:some-map-name Where the canonical_maps does i...@domain1.com -> s...@2domain.net (or some other). So that the mail will appear to come from s...@2domain.net (otr whatever). Important: this replaces header addresses only. Wietse