1
Parts of spam/content filtering not working
Problem reported by Jake - 7/28/2022 at 11:18 AM
Submitted
Firstly, none of our spam checks have a TotalSpamWeight in email headers or smtp/delivery logs. Is this a known issue? We are unable to find any discussion about this being removed from SmarterMail.

Secondly, we have a couple custom rule "content filters" in place in the spam checks. Testing with a low-spam weight of 10, the below log results should be marking the message's subject as SPAM - it has scores of 8+4. The low-spam threshold does not appear to be activating. Messages get marked as spam correctly in the spool if something else such as the SPF fails.

Can anyone help explain the unexpected spam behaviors? We are on Build 7776.

Thank you,

10:28:15.301 [8909127] Added to SpamCheckQueue (0 queued; 2/30 processing)
10:28:15.301 [8909127] [SpamCheckQueue] Begin Processing.
10:28:15.301 [8909127] Blocked Sender Checks started.
10:28:15.301 [8909127] Blocked Sender Checks completed.
10:28:15.301 [8909127] Spam Checks started.
10:28:28.520 [8909127] Spam Check results: [_SPF: 0,Pass], [UCEPROTECT LEVEL 1: 0,passed], [DOMAINS <5 DAYS OLD: 0,passed], [REVERSE DNS LOOKUP: 0,Passed], [NULL SENDER: 0,passed], [_INTERNALSPAMASSASSIN: 0:0], [_DK: 0,None], [_DKIM: 0,Pass], [_CUSTOMRULES: Content Filter - 2 Medium: 8;Content Filter - 1 Low: 4;], [URIBL - MULTI: 0,passed]
10:28:28.520 [8909127] Spam Checks completed.
10:28:28.520 [8909127] Removed from SpamCheckQueue (3 queued or processing)

4 Replies

Reply to Thread
0
Tony Scholz Replied
Employee Post
Hello Jake, 

Looking at the spam check results the weight of this message should have been 12 as you mentioned

[_CUSTOMRULES: Content Filter - 2 Medium: 8;Content Filter - 1 Low: 4;],

If you look at the rest of the Delivery session what do you see on the delivery line?

Delivery for SENDER to RECIPIENT has completed. This will show the end results. The header of total spam weight is still being used by SmarterMail and has not been removed. 

Thank you
Tony
Tony Scholz System/Network Administrator SmarterTools Inc. www.smartertools.com
0
Jake Replied
Full delivery log for this message below. There is no "TotalSpamWeight" in any of our log files, smtp or delivery.

There are no overrides at the user-level. The user shows the same global spam settings when I browse (impersonate) to that user's spam settings. Domain-level content filtering (not spam-check) is also not setup with any rules - there should not be any type of conflict between domain vs spam content filtering. It should be unrelated, but figure this should be mentioned.

10:28:12.301 [8909127] Delivery started for <redacted> at 10:28:12 AM
10:28:15.301 [8909127] Added to SpamCheckQueue (0 queued; 2/30 processing)
10:28:15.301 [8909127] [SpamCheckQueue] Begin Processing.
10:28:15.301 [8909127] Blocked Sender Checks started.
10:28:15.301 [8909127] Blocked Sender Checks completed.
10:28:15.301 [8909127] Spam Checks started.
10:28:28.520 [8909127] Spam Check results: [_SPF: 0,Pass], [UCEPROTECT LEVEL 1: 0,passed], [DOMAINS <5 DAYS OLD: 0,passed], [REVERSE DNS LOOKUP: 0,Passed], [NULL SENDER: 0,passed], [_INTERNALSPAMASSASSIN: 0:0], [_DK: 0,None], [_DKIM: 0,Pass], [_CUSTOMRULES: Content Filter - 2 Medium: 8;Content Filter - 1 Low: 4;], [URIBL - MULTI: 0,passed]
10:28:28.520 [8909127] Spam Checks completed.
10:28:28.520 [8909127] Removed from SpamCheckQueue (3 queued or processing)
10:28:30.333 [8909127] Added to LocalDeliveryQueue (0 queued; 1/50 processing)
10:28:30.333 [8909127] [LocalDeliveryQueue] Begin Processing.
10:28:30.333 [8909127] Starting local delivery to <redacted>
10:28:30.333 [8909127] Process delivery status notification step from local recipient success. Recipient: [<redacted>], Notify: [], Delivered: [True], Forwarded: [False], Deleted: False
10:28:30.333 [8909127] Delivery for <redacted> to <redacted> has completed (Delivered) Filter: None
10:28:30.333 [8909127] End delivery to <redacted> (MessageID: <redacted>)
10:28:30.333 [8909127] Removed from LocalDeliveryQueue (0 queued or processing)
10:28:30.333 [8909127] Removing Spool message: Killed: False, Failed: False, Finished: True
10:28:30.333 [8909127] Delivery finished for <redacted> at 10:28:30 AM    [id:8909127]

0
Jake Replied
Here is another message for a different user that was logged as adding a prefix:

13:15:39.297 [8909971] Delivery for websiteservices0101@aol.com to <redacted> has completed (Forwarded Deleted) Filter: Spam (Weight: 11), Action (Global Level): PrefixSubject


But here is the email without any prefix, sitting in their mailbox.

0
Douglas Foster Replied
This version has the likely fix for your problem:
Build 7929 (Sep 16, 2021)
Fixed: If a custom spam check's name contains a comma the weight is not properly added to the total spam weight of the message.
Fixed: SpamAssassin check is not properly added to the total spam weight of the message.

Reply to Thread