User Tools

Site Tools


reference:spamrules_longsenderdomain

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
reference:spamrules_longsenderdomain [2015/03/23 09:43] – created paulreference:spamrules_longsenderdomain [2018/11/14 10:45] (current) – external edit 127.0.0.1
Line 5: Line 5:
 Add the following to the spamrules_userchecks.txt file. This script file only gets processed on incoming messages (the spamrules_localmail.txt script ends the processing of locally sent messages) Add the following to the spamrules_userchecks.txt file. This script file only gets processed on incoming messages (the spamrules_localmail.txt script ends the processing of locally sent messages)
  
-  DefineRule "LongSenderDomain" 1 "Rule to add score for long sender domains+  DefineRule "LongSenderDomain" 1 "Rule to add score for long sender domains"
   BulkScan Score [LongSenderDomain]   BulkScan Score [LongSenderDomain]
   From /@[a-z0-9-]{20,}/i 50   From /@[a-z0-9-]{20,}/i 50
-  EndBulkSCan+  EndBulkScan
      
 When the email address in the From header field has a first domain section of 20 characters or more, then the spam filter will add '50' onto the spam score (the default threshold for messages to be marked as spam is 100) - you can alter the 50 at the end of the line as appropriate for your requirements. When the email address in the From header field has a first domain section of 20 characters or more, then the spam filter will add '50' onto the spam score (the default threshold for messages to be marked as spam is 100) - you can alter the 50 at the end of the line as appropriate for your requirements.
reference/spamrules_longsenderdomain.txt · Last modified: 2018/11/14 10:45 by 127.0.0.1