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:[email protected] will get 
> > delivered to [email protected].

This can be done with virtual_alias_maps ([email protected]>[email protected]).

Important: this replaces the envelope address but not the header address.

> >  When Suzy replies, it will be 
> > From:[email protected]
> > 
> > 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

    [email protected] -> [email protected] (or some other).

So that the mail will appear to come from [email protected] (otr whatever).

Important: this replaces header addresses only.

        Wietse

Reply via email to