Theo Van Dinter wrote:

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.


Yeah I'll definitely look into 3.0 when I get the time which I dont have right now (and I actually want to avoid testing this on my productive machine in case something breaks up...... So I'm using right now the SA shipped with my suse 9.0 which unfortunately is very old...
Unfortunately formail doesn't seem to work...? It also seems to return the whole file instead of every message when using -s ...? (formail v3.15)


Thanks for the help

Matt

Reply via email to