Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

5) (optional) Tweak SpamAssasin's configuration. Ensure that the below is in /etc/mail/spamassassin/local.cf and then restart SpamAssassin:

No Format
  # Rewrite the subject of suspected spam e-mails
  rewrite_header Subject *****SPAM*****
  # Just add an X-Spam-Report header to suspected spam, rather than rewriting the content of the e-mail
  report_safe 0
  # Also we want to add a detailed ham report header to even e-mail that ISN'T suspected to be spam
  add_header ham HAM-Report _REPORT_
  # Set the threshold at which a message is considered spam (3 is usually sufficient)
  required_score 3.0

...