Adding a Precedence Bulk header
Mark Sapiro
mark at msapiro.net
Fri Sep 1 23:52:09 UTC 2017
On 09/01/2017 02:39 PM, Kevin Miller wrote:
> Once monthly we send out utility billing bills (water/sewer). Is there a way that I can configure MailScanner to append a Precedence: Bulk header? If so, can it be a ruleset so that it is only applied to messages from a specific internal host?
>
> If not, that would be a really handy future feature. If there was a ruleset that had something like:
> <Host> <Header> <Value>
> i.e.
> 192.168.50.3 Precedence bulk
> 192.168.50.4 X-MyCustomHeader "Your Header Here"
You can use Information Header
<https://www.mailscanner.info/MailScanner.conf.index.html#Information%20Header>
and Information Header Value
<https://www.mailscanner.info/MailScanner.conf.index.html#Information%20Header%20Value>
for this. Set both to rule sets and then the rule set for Information
Header will be something like
From 192.168.50.3 Precedence:
From 192.168.50.4 X-MyCustomHeader:
and for Information Header Value
From 192.168.50.3 bulk
From 192.168.50.4 "Your Header Here"
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the MailScanner
mailing list