On Wed, Apr 23, 2025 at 05:35:54PM +0300, Mike Teplynin via Postfix-users wrote:

> I want to add custom headers with "envelope from" and "envelope to" info
> received emails. To do this, I added the following lines to
> smtpd_relay_restrictions:

Why do you want to break Bcc by recording all envelope recipients in
headers?  Unless you can guarantee that all messages are
single-recipient, or that Bcc is never used/intended by the user,
adding such headers is likely a mistake.

As to prepending an envelope sender header, that can be done
in `smtpd_data_restrictions`, which is evaluated just once.

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

Reply via email to