Jim Smith wrote: > Thanks to Stuart and Daryl for your responses. I think I need to ask a basic > question that I'm sure is a FAQ somewhere that I haven't located yet > (honestly I've hunted!). > > How do I run a message through the spamassassin command line to get the > score results on the screen? I tried saving the email and running > spamassassin messagename -d > spamassassin messagename -D -d > and a few other variations but the results don't show any scored headers. You need to redirect the file into spamassassin.
spamassassin < messagename Add any command-line parameters you want before the < (many shells will parse them at the end, but some, such as bash on openbsd, won't for security reasons)