spamc -r < message.eml

Category: Mail Servers & Postfix

spamc -r < message.eml

Print the spam report for a message

Outputs SpamAssassin's full report text when the message is spam, and nothing when it is ham. Use -R for the report on every message. The report lists each rule and score, ideal for debugging false positives through the daemon path.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.