User Tools

Site Tools


tanked.information:spamassasin

edit /etc/spamassassin/local.cf for global rules.

Body checks:

body JUSTHEALTHY          /www\.mb103\.com/
score JUSTHEALTHY 3.0
describe JUSTHEALTHY     Spammer address detected in body

Header checks:

header MONEY_BAG          Subject =~ /💰/
 
header BITCOIN_INVESTOR_LIST       List-Unsubscribe =~ /bitcoin-investor\.ml/
score BITCOIN_INVESTOR_LIST 3.0
describe BITCOIN_INVESTOR_LIST     List-Unsubscribe contains known spammer

Recommendation: add rules into ~/.spamassassin/user_prefs then test with a .eml file. They can then be moved into /etc/spamassassin/local.cf

Check your local.cf syntax by typing:

spamassassin --lint

To test an email (get the header report out):

spamassassin -t someemail.eml

Test an email with:

spamassassin < someemail.eml

From the command line, you can make sure spamassassin works by trying:

spamassassin -D </usr/share/spamassassin/doc/spamassassin-3.0.3/sample-spam.txt
/var/www/wiki.darrenwindle.co.uk/public_html/data/pages/tanked.information/spamassasin.txt · Last modified: 2024/12/01 08:40 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki