Hey all, former longtime user, but been away from Postfix for about 13 years. I'm migrating a datacenter to Azure. We have a variety of things (websites, copiers, monitoring apps, etc.) that send emails that don't need to be replied to. In an Azure environment, we have to route these through Azure SMTP services and they have to come from a designated address. These emails routed to Azure SMTP have to be from f...@example.com. Postfix came to mind as the ideal solution. This setting does the trick. sender_canonical_maps = static:f...@example.com The problem is it seems to strip out the display name too. I've tried various options with sender_canonical_classes and it doesn't seem to help. If I remove the rewrite, and actually send from f...@example.com everything is great. Any idea how I can rewrite the sender address to f...@example.com but leave everything else alone so mail clients will still show the display name? I hate that Azue makes us do this given we have already authenticated, but that is their requirement. _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org
[pfx] Sender rewrite for Azure SMTP
Matthew Kitchin via Postfix-users Wed, 21 May 2025 14:11:58 -0700
- [pfx] Sender rewrite for Azure SMTP Matthew Kitchin via Postfix-users
- [pfx] Re: Sender rewrite for Azure ... Wietse Venema via Postfix-users
- [pfx] Re: Sender rewrite for Az... Wietse Venema via Postfix-users
- [pfx] Re: Sender rewrite for Az... Viktor Dukhovni via Postfix-users
- [pfx] Re: Sender rewrite fo... Matthew Kitchin via Postfix-users