Hi,

On 09.08.24 09:17, Eero Volotinen via Postfix-users wrote:
Reconfiguring all clients is a huge workload.

So various senders are sending alerts mails with various from fields these are all internal domains.


I use for this a generic map:

main.cf:
smtp_generic_maps = pcre:/usr/local/etc/postfix/generic

generic:
/^(.*)@([^@]+\.)?internal\.domain$/ $1@external.domain

This rewrites the domain part to match your external.domain


Matthias

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

Reply via email to