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 

Where testemail.txt is the raw message source.

Leave a Reply

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