THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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***** rewrite_header Subject *****SPAM***** (_SCORE_) # 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 |
advanced bash script to discard 'likely spam' method
...
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***** rewrite_header Subject *****SPAM***** (_SCORE_) # 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 |
Old alternative method
...