kitbogashow / how-to-fix-paypal

Various ways to filter text emails to stop scammers from exploiting PayPal's invoice system.
MIT License
46 stars 31 forks source link

Use spamassassin to evaluate score #24

Open bogacookie opened 1 year ago

bogacookie commented 1 year ago

Twitch name: defiantcookie

This code splits out invoices to an email format, and then forwards the message to Spam assassin to evaluate if it's spam.

python python/spamassassin.py

Processing file: invoices/1.txt
Spamassassin score of 7.9

Needs to install spam assassin

sudo apt-get install spamassassin

And the spam assassin client

pip install spamassassin_client
magnus-rattlehead commented 1 year ago

Can't you also "teach" SpamAssassin via https://cwiki.apache.org/confluence/display/SPAMASSASSIN/HowScoresAreAssigned to "specialize" it to these kind of spam invoices?