![]() ![]() If you want to do that, you can specify the matching rule in a text file, I am using /etc/postfix/reject_domains and the content is: /.icu$/ REJECT We reject all. This can be done even before the message enters Spamassassin, in Postfix. ![]() One way to address this would be to completely blacklist a domain. I could also play with the individual test scores, but I trust the scores have been set reasonably by developers with more experience. and CSAIL can write custom rules to help deal particular sites or. I do not want to lower the threshold, because it’s not recommended and even now I am getting few false positives. This page describes how to customize how our SpamAssassin installation filters your. HTML_FONT_LOW_CONTRAST,HTML_MESSAGE,RDNS_NONE,SPF_HELO_PASS,Īutolearn=no autolearn_force=no version=3.4.0 You can add some custom rules to match mails from these ASNs: What this will do is check the header that the ASN plugin added and if it matches it will add this label LOCALASNMAILJET with a score of 0.001 to the list of SpamAssassin scores. The spam report looks something like this: X-Spam-Level: **** The spam massages I have been getting lately barely pass below the threshold. Note the final rule shown by Barracuda: Custom. One thing it has in common is, it’s sent from the newly added top level domains, like. While the SpamAssassin analysis tends to be a bit more obvious, in this case, the results are quite similar. If unset, the static description is used. This is used in the hitrule plugin call, called by this method. Most sites run just fine with the default ruleset and no custom rules at all. Recently, however, I have been getting quite a bit of spam that looks really sophisticated - it has SPF headers, proper formatting etc. Optional: a custom rule description string. Custom rules are really more for tweaking SpamAssassin to better suit your personal email, and isn't something you generally need to worry about at the start. I am using Spamassassin, like everybody else and it works fine most of the time. SpamAssassin sa-update rules tarball, for use if you cannot run sa-update to download these automatically after installing. Learn more about bidirectional Unicode characters. To review, open the file in an editor that reveals hidden Unicode characters. ![]() This also means, I have to fight spam by myself. Custom rule for spamassassin Raw custom.cf This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. ![]()
0 Comments
Leave a Reply. |