Yes. This works on my system also.

Is there also easy way to rewrite envelope sender field?

”from that shows in email?” sorry for such a stupid question..

Eero

On Fri 9. Aug 2024 at 12.45, Matthias Fechner <[email protected]> wrote:

> 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$/ [email protected]
>
> This rewrites the domain part to match your external.domain
>
>
> Matthias
>
>
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to