On Fri, May 07, 2004 at 09:50:48PM +0200, Matthias Keller wrote:
> I'd like to report all those at once but this doesn't seem to work... 
> the only clue I get using  -D  on spamassassin is from razor which seems 
> to report FIVE mails....
> The whole proccess is done in about 10 secs so it impossibly reported 
> ALL spams out of this file....
> Any clue? Is my SA too old? (version 2.55)

Well, your SA is way old for starters.

The 2.x versions of "spamassassin" only deal with a single message
at a time.  so "spamassassin -r < mbox" reports the whole mbox as a
single message.  To get around this, you can either do something like
"formail -s spamassassin -r < mbox", or get something like handlespam
which will setup the M::SA object once and loop for you per message.

FYI, the 3.0 version of "spamassassin" uses the same code as "sa-learn"
to handle single messages, mbox files, and directories of single messages
(maildir), so you can do things like "spamassassin -r --mbox mbox".

:)

-- 
Randomly Generated Tagline:
Yea, yea..once a hobby, now an expensive addiction!

Attachment: pgpYxEU0BhmZD.pgp
Description: PGP signature

Reply via email to