On 19.09.09 22:45, João Eiras wrote:
I still haven't got the answer to my last question, so here it goes again:
Can I report a full mbs file with many mails in one go ? Or should I split each 
mail on it's own file ?

sa-learn can accept mail in mbox format. It's even in its manual page.
Is this what you have meant?

Might be. I'm not familiar with spam assassin's internals, just a normal e-mail 
user wanting to report some spam.
A quick man sa-learn shows

        --mbox
            sa-learn will read in the file(s) containing the emails to be 
learned, and will process them in mbox format (one or more emails per file).

So, I have my answer.
The page at http://wiki.apache.org/spamassassin/ReportingSpam is ambiguous in 
this regard. Just mentions a message.txt.
I hope you can make something out of my uploaded mbox file :)

Thank you

After further testing, while sa-laern might support multiple emails in a single mbox 
file, "spamassassin -r" does not, so I cooked a perl script to split the mbox 
file into each individual mails, and then a simple loop is enough to report everything.

Goodbye.

Reply via email to