maddy icon indicating copy to clipboard operation
maddy copied to clipboard

Feature request System command filter. run_on header

Open Chris-Scot opened this issue 1 year ago • 0 comments

I would like to amend parts of the header to help with EMail rejection. The following description was taken from here: https://serverfault.com/questions/216731/removing-headers-from-postfix-sent-mail

Anti-spam systems hate finding anything related to EC2, so some kind of cloaking is regrettably necessary. A postfix example header_checks snippit for your consideration. /^(Received: .amazonaws.com.)/ REPLACE X-Cloak-$1

In the case of "run_on header", I would like to replace the header rather than the header from stdout being prepended to the message header. Using the System command filter in this way would provide a ubiquitous solution to any header problems.

Chris-Scot avatar Feb 10 '24 15:02 Chris-Scot