fertidea.blogg.se

Spamassassin rule
Spamassassin rule






spamassassin rule

Hope this helps you to control the SPAM entering your inbox.Not all rules are documented on the SpamAssassin wiki - there's way too many of them to do that. To restart the spam filter click Security | Spam Filter | Restart Spam Filter button. Changing the two noted rules above to add 1.0 points each would look like below.Īll that is left to be done is to save the change and restart the spam filter in MDaemon so that the change comes into effect immediately. Now in the local.cf file on a line by itself enter score 1.0. Find the SpamAssassin rule you want to change and then highlight and copy only the capitalized portion of the rule name up to, but not including, the first space. Remember I said it was easy to change the scoring of a rule? Here’s how simple it is. Instead we want to make our changes in the \MDaemon\SpamAssassin\rules\local.cf file. SpamAssassin rules get frequent updates and these updates would override any changes we made. When changing the scores on SpamAssassin rules we don’t want to modify the rule files themselves. With the addition to 2.0 spam filter points the final spam score would reach 5.1 points and the message would be dealt with as spam.

Spamassassin rule how to#

I’ll show you how to change the scoring so that each rule will add 1.0 points to the spam score when triggered.

spamassassin rule

As an example, by looking at the headers you notice that the spam being let through is always triggering the “LOTS_OF_MONEY” and “T_MONEY_PERCENT” rules, but these rules are not set to add any points. Gradual changes are recommended to prevent false positives. Using the above spam scoring we could tweak the scores we see here to give this message enough points to be caught as spam. This spam message didn’t get enough points to be flagged as spam. Messages that receive 5.0 points or higher are flagged as spam. What we can see from this logging is that the email received a final score of 3.10 points. Wed 12:28:42: * 0.0 T_MONEY_PERCENT X% of a lot of money for you Wed 12:28:42: * 0.0 LOTS_OF_MONEY Huge… sums of money Wed 12:28:42: * 1.6 BAYES_50 BODY: Bayes spam probability is 40 to 60% Wed 12:28:42: * 0.0 HTML_MESSAGE BODY: HTML included in message Wed 12:28:42: * 1.5 LOW_PRICE BODY: Lowest Price WorldClient: highlight the email you want to view the headers for, right click on the email, and select “View Source”.īelow is an example taken from MDaemon’s AntiSpam.log file. Select the File tab at the top and then click the Properties button. Outlook 2010/2013: double click the email you want to view the headers for so that it opens in a new window. Outlook 2007: right click the message you want to view the headers for and select “Message Options”. MDaemon will insert an X-Spam-Report header which shows what rules got triggered and how many points each rule added. MDaemon installs on the root of C drive by default. MDaemon stores its logging in the \MDaemon\Logs\ folder. MDaemon-all.log, SMTP-(In).log, or AntiSpam.log file.

spamassassin rule

There are two places we can look for this information. Ok, so SPAM is making it through to the users inbox, first we need to find out what SpamAssassin rule was triggered on an email. Is there a common SpamAssassin rule that is getting triggered that we can raise the score on to account for this? user(s) are reporting that some spam is making it through.Medical organizations will need to score medical and drug-related rules lower than the general population, while mortgage brokers will need to lower the scores of mortgage and debt-related rules. Non-spam has different attributes for different people.Changing the scoring of certain SpamAssassin rules is a very easy task but you may be asking, why would I want to? SpamAssassin uses a rule set when filtering emails and each rule is set to add ‘X’ number of points to the message’s spam score. The core of MDaemon’s spam filter is the well known SpamAssassin. By far, our most common technical support question involves how to control SPAM.








Spamassassin rule