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>

Already in pipeline

https://github.com/opnsense/plugins/pull/1893
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/