* Matthew Kitchin via Postfix-users <postfix-users@postfix.org> [250522 12:12]:
> On Thu, May 22, 2025 at 10:46 AM Wietse Venema <wie...@porcupine.org> wrote:
> >
> > How can I help? The purpose of my request is to find out if the
> > unexpected display name change happens before Postfix receives the
> > message, while Postfix processes the message, or after Postfix
> > delivers the message.
> >
> I'm sorry. I just realized these replies were going to you and not the
> list. Adding list back.
> My path (for testing) is Thunderbird => Postfix => Azure SMTP => Corp
> Outlook&Personal Gmail
> I added the logging you indicated, and I don't believe we see any sign
> of Posftix changing it. It is a very minimal Postfix relay server.
> Case 1, Thunderbird sends as f...@example.com with display name John
> Doe - all good.
> Case 2, Thunderbird sends as fo...@example.com with this line in
> main.cf sender_canonical_maps = f...@example.com
> In case 2, header on received end now shows display name as 
> "f...@exampled.com"
> I am not doing any header manipulation in Postfix. The only config I
> did is the smarthost to Azure with Auth and the one sender rewrite
> rule.
> I am happy to capture anything else. Were you expecting to see more
> info from the header_checks?

What is «postconf sender_canonical_maps»?  Is it

sender_canonical_maps = f...@example.com

If so, you need to read «man 5 canonical».  sender_canonical_maps should
be a mapping table with each row containing a pattern and an address.
Frequently the value of sender_canonical_maps is something like
«hash:/etc/postfix/canonical» with that file containing the mappings.

...Marvin

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to