Custom spam rule score ignored
Problem reported by Shayne Embry - September 22 at 7:40 AM
Submitted
Since upgrading to SM17 yesterday I noticed that all of my custom spam rule scores are being ignored on Outgoing messages. It was working fine prior to upgrade.
The Delivery log files show the hit on the rule and the score that should be considered, but the total weight and final disposition don't reflect that hit. This is happening on a Gateway setup I have sitting in front of my primary SM server.
Log files below show an example. Based on Customrule: Content - Mail List: -20, this message should have delivered with a final weight of -2.
[2019.09.22] 09:01:49.358 [80440] Spam check results: [_CUSTOMRULES: Content - Mail List: -20;], [_INTERNALSPAMASSASSIN: 0:0], [BACKSCATTER: 0,passed], [HOSTKARMA - BLACKLIST: 0,passed], [CBL: 0,passed], [HOSTKARMA - BROWNLIST: 0,passed], [HOSTKARMA - WHITELIST: -5,failed], [SORBS - NO SERVER: 0,passed], [SORBS - NOMAIL: 0,passed], [MAILSPIKE L3: 0,passed], [MAILSPIKE L4: 0,passed], [MAILSPIKE L5: 5,failed], [MCAFEE: 0,passed], [SEM - BLACK: 0,passed], [SORBS - ABUSE: 0,passed], [SORBS - DYNAMIC IP: 0,passed], [SORBS - PROXY: 0,passed], [SORBS - RECENT: 0,passed], [SORBS - SOCKS: 0,passed], [SPAMCOP: 0,passed], [SPAMHAUS - SBL: 0,passed], [SPAMHAUS - PBL: 0,passed], [SPAMHAUS - CSS: 0,passed], [SPAMRATS: 0,passed], [SURRIEL: 0,passed], [TRUNCATE: 0,passed], [UCEPROTECT LEVEL 1: 0,passed], [UCEPROTECT LEVEL 2: 0,passed], [UCEPROTECT LEVEL 3: 0,passed], [SEM-URI: 0,passed], [SURBL: 0,passed], [URIBL BLACK: 0,passed], [URIBL GREY: 10,failed], [URIBL RED: 0,passed], [DNS REAL-TIME BLACKHOLE LIST: 8,failed]
[2019.09.22] 09:01:49.358 [80440] Message flagged for Quarantine
[2019.09.22] 09:01:49.358 [80440] This message cannot be delivered as it was marked as spam. Weight: 18

1 Reply

Reply to Thread
0
Shayne Embry Replied
I have now discovered that the Internal Spam Assassin score is also not being counted. I do a good bit of my spam filtering on my two SM Incoming Gateways and this is throwing a big wrench into my filtering.
Again, here is an example. The scores for Customrules: Adjust4Cust1: -6 and InternalSpamassassin: 2:3 are not being included in the total weight, which should be 14.
[2019.09.23] 15:17:40.043 [99493] Spam check results: [_CUSTOMRULES: Adjust4Cust1: -6;], [_INTERNALSPAMASSASSIN: 2:3], [BACKSCATTER: 0,passed], [HOSTKARMA - BLACKLIST: 0,passed], [CBL: 0,passed], [HOSTKARMA - BROWNLIST: 0,passed], [HOSTKARMA - WHITELIST: 0,passed], [MAILSPIKE L3: 0,passed], [MAILSPIKE L4: 0,passed], [MAILSPIKE L5: 0,passed], [MCAFEE: 0,passed], [SEM - BLACK: 0,passed], [SORBS - ABUSE: 0,passed], [SORBS - DYNAMIC IP: 0,passed], [SORBS - PROXY: 0,passed], [SORBS - RECENT: 5,failed], [SORBS - SOCKS: 0,passed], [SPAMCOP: 0,passed], [SPAMHAUS - SBL: 0,passed], [SPAMHAUS - PBL: 0,passed], [SPAMHAUS - CSS: 0,passed], [SPAMRATS: 0,passed], [SURRIEL: 0,passed], [TRUNCATE: 0,passed], [UCEPROTECT LEVEL 1: 0,passed], [UCEPROTECT LEVEL 2: 10,failed], [UCEPROTECT LEVEL 3: 0,passed], [SEM-URI: 0,passed], [SURBL: 0,passed], [URIBL BLACK: 0,passed], [URIBL GREY: 0,passed], [URIBL RED: 0,passed], [DNS REAL-TIME BLACKHOLE LIST: 2,failed], [SORBS - NOMAIL: 0,passed], [SORBS - NO SERVER: 0,passed]
[2019.09.23] 15:17:40.043 [99493] Message flagged for Quarantine
[2019.09.23] 15:17:40.043 [99493] This message cannot be delivered as it was marked as spam. Weight: 17

Reply to Thread