Spam score an e-mail from the command line

To test the spam score for an e-mail without sending it, install a copy of Spam Assassin then run:

[root@mail ~]# spamc -c < testemail.txt 
-1.0/5.0

Where testemail.txt is the raw message source.

Leave a Reply

Your email address will not be published. Required fields are marked *