Noel Jones:
> On 11/2/2017 7:48 AM, [email protected] wrote:
> > Hi,
> >
> > I'm running Postfix 2.9.6 and I'm trying to do a conditional sender
> > rewrite based on recipient address. Machine sends e-mails as
> > [email protected] by default, but if the recipient is
> > [email protected] I want to rewrite sender to be
> > [email protected].
> >
> > To do so, I've tried doing the following:
> >
> > 1) In master.cnf I added:
> > toext unix - - n - - smtp -o
> > canonical_maps=hash:/etc/postfix/generic_toext
Perhaps with smtp_generic_maps, but not with canonical
maps because that happens before the queue.
Wietse