1
Disable spam tag override in header
Idea shared by Falk Brockerhoff - 2/8/2018 at 9:23 AM
Proposed
Hello SmarterMail Team and community,
 
I discovered a behaviour in the SmarterMail antispam engine which I would like to describe and discuss.
 
Currently we are developing an antispam gateway which will be placed in front of all our mailservers (SmarterMail, Postfix/Dovecot, etc.).
 
As a logical consequence we will disable all SmarterMail spamchecks. But nevertheless - because a lot of customers are using this feature - we still want to provide the SmarterMail “Spam Filtering” based on the weight.
 
To achieve this, our idea was that our antispam gateway writes a header tag like SmarterMail would do, e.g.:
 
X-SmarterMail-TotalSpamWeight: 5.30
 
My expectation was that the “Spam Filtering” would read this line and do whatever is defined in the filter rule.
Unfortunately this idea doesn’t work because SmarterMail overrides the header tag with:
 
X-SmarterMail-TotalSpamWeight: 0
 
So my suggestion and feature request is to find a way to disable the override: Maybe if all spamchecks are disabled or perhaps with a simple switch? 
 
I think a solution for this would improve the possibility to integrate SmarterMail with upstream antispam gateways.

Kind regards,
 
Viktor

Reply to Thread