Jaroslaw Rafa via Postfix-users:
> Dnia 31.01.2026 o godz. 17:30:35 Terry Braun via Postfix-users pisze:
> > I want to be able to translate email address _pairs_. In other words,
> > 
> > When receiving an smtp request:
> > 
> > From: [email protected]
> > 
> > To: [email protected]
> > 
> > 
> > I want to translate that to a pair of addresses:
> > 
> > From: [email protected]
> > 
> > To: [email protected]
> > 
> > 
> > The translation needs to be dynamic, with the mappings read from a
> > postgresql database.
> 
> You have to write a milter for this.

Agreed. You will have to update both the envelope address (with
chgfrom, delrcpt, addrcpt) and message header addresses (chghdrs,
addhdrs).

There are Milter implementations in many programming
languages that are more suited for this than writing code in C.

I expect that you will have to delete all message headers
that can reveal information about senders and recipients.

        Wietse
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to