Martin wrote:

Hi!

I wonder how i manually run a mailmessage through SA at commandline to see the scores?

I've got one spam that didn't get caught, and when i reported it to SpamCop i noticed that it was already listed.

Do i have to export the mailmessage from Outlook in any particular format and the import it on my SA-server?

I'm using SA + Postfix on a redhatmachine, relaying for a MS Exchangeserver.

Thanks in advance

/ Martin



Simple. SpamAssassin (and spamc) take their message from the stdin. So you can save your message to a file (so it's by itself) and do either


cat message | spamassassin | less


OR

spamassassin < message | less


either way the resulting E-mail is trapped by the less and you can see the headers added by SpamAssassin.


--
-- Dan

Reply via email to