


When you upgrade SA (and you should do so somewhat regularly), all the existing rules in /usr/share/spamassassin will be deleted and replaced by the new default ruleset.Īny score below 5.0 means that an email is good enough to avoid spam filters. Can I add my rules to the SpamAssassin cf file?ĭo NOT add your rules to the. Most sites run just fine with the default ruleset and no custom rules at all. What are the custom rules for SpamAssassin?Ĭustom 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. Using either the Global Mail Filters or the Mail Filters, add keyword-based filtering as needed.Note the options to auto-delete mail, or auto-add a prefix to suspect messages.Click the SpamAssassin icon and then enable it.Login to cPanel, go to the mail section.How do I block unwanted emails in cPanel? It uses various network tests and spam filtering to get an overall score in order to decide whether the mail should be considered as spam or not. The SpamAssassin configuration files live by default in /usr/share/spamassassin and /etc/mail/spamassassin.Īpache SpamAssassin is a user-friendly email utility which examines incoming mail for different spam characteristics. What is the full path and name of the SpamAssassin global configuration file? Open /etc/mail/spamassassin/local.cf in your favorite editor for system-wide safelisting.To safelist individual addresses or domains in SpamAssassin: At the bottom of the page, click Configure Apache SpamAssassin.Go to the Apache SpamAssassin section, under the email heading.
