Hello,

please configure your mailer to wrap lines below 80 characters per line.
72 to 75 is usually OK.

Thank you.

>>> 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 :)

On 22.09.09 03:05, João Eiras wrote:
> 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.

sa-learn only does bayes training.

spamassassin -r and spamassassin -k do other things - report to network
services like razor/pyzor/dcc and SpamCop.
This is quite useless for older messages, which will probably be in the
mailbox unless it contains mail received in last few days.

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I don't have lysdexia. The Dog wouldn't allow that.

Reply via email to