Postifx feature request: Add header checks to the GUI

Started by nzkiwi68, June 25, 2020, 12:51:22 AM

Previous topic - Next topic
I've got the need to do headers checks and re-write header items. Its really very similar to the Sender Canonical Rewriting.

Can we please add the ability to modify header checks?

Thanks.

Example:

To change Message-ID:
/Message-Id:\s+<(.*?)@server.example.com>/ REPLACE Message-Id: <$1@example.com>


To rewrite FROM: in all headers
/^From:\s+MAILER-DAEMON@server.example.com/ REPLACE From: "Mailer-Daemon at server.example.com" <MAILER-DAEMON@server.example.com>