Skip to main content

Where to add SpamAssassin Rules?

Comments

2 comments

  • DWardCA
    I ran /usr/local/cpanel/3rdparty/bin/spamassassin -D < spammsg.txt In the debug messages I see two things which tell me that local.cf *IS* the correct place to add custom rules, and spamassassin is picking it up. First, it shows: config: read file /etc/mail/spamassassin/local.cf Which verifies its local.cf file is correct.... And in the Content analysis details it now shows my custom rule: 2.1 CUSTTLD_DATE .date domain mostly used by spammers So - yay .. I've successfully added a header rule.
    0
  • cPanelLauren
    Hi @DWardCA You can make customizations to the spamassassin global configuration by modifying /etc/mail/spamassassin/local.cf As you just found! Thanks for updating, you beat me to it!
    0

Please sign in to leave a comment.