On 02/15/2017 05:07 PM, Mickaël DEQUIDT wrote: > > Le 15/02/2017 à 17:00, Marek Kozlowski a écrit : >> But I don't want postsrsd to manipulate "from:" header fields. How can I >> achieve it? > > I believe setting : > > sender_canonical_classes = envelope_sender > > should do the trick : as long as you don't specify "header_sender" in > sender_canonical_classes, no reason for postsrsd to meddle with it.
But note I wrote:
``I need canonical for rewriting senders' addresses (both: "MAIL FROM:"
and "from:" to completely different" ones)''
The problem is that first I use canonical for replacing both sender
addresses with some different ones and that time I need:
sender_canonical_classes = envelope_sender, header_sender
But after that postsrsd if used for forward protection against SPF and
that time `sender_canonical_classes' should apply only to envelopes (as
in your example). That's the problem...
Best regards,
Marek
smime.p7s
Description: S/MIME Cryptographic Signature
