On Sun, 2016-01-24 at 20:52 +0100, Reindl Harald wrote:
> * the point is that he is analyzing *local* files
>
NOW we know that. But, the OP's first post made it clear he hadn't even
read the manpage or he'd have realised that SA's results are output by
adding headers to the message. Also, he clearly had no clue about
asking good questions or he'd have said what he was trying to do rather
than saying (summarised) "SA doesn't do what I want. Waaaa!". 

> * so he needs to pass eml files to spamc/spamassassin
> * SA adds a header "X-Spam-Flag: Yes" in case of it reached spam
> -score
> * that output needs to be parsed
> * that's it
> 
In fact that's all anybody ever does with SA. You look at the X-Spam
-Flag header to determine whether the message is spam and deal with it
if it is. Some analysis or more nuanced spam disposal may want to look
at the score and/or names of rules that fired, so they will also look
at the X-Spam-Status header.


Martin


Reply via email to