[imp] imp and spamassassin

Nico Weinreich webmaster at posingcrew.de
Mon Nov 19 09:43:31 UTC 2007


Jan Schneider schrieb:
>> Because I'm not using spamd so I cannot use the spamc command. Training
>> is fine, but there is a problem when learning from large files. When
>> there is a message with a size about 3 or 4 MB, the bayes_toks DB grows
>> and grows and grows sometimes 10 or 20 MB, so older tokens are lost by
>> expire. In /imp/lib/Spam.php I can see, that the message is piped to the
>> sa-learn as raw message. Is there an option to define a maximum size for
>> a file, which can be submitted to sa-learn? This would be very important
>> for me.
>
>
> No, but we would accept a patch if this is a common problem.
>
> Jan.

I've upgraded to SA 3.2.3 and added a "-" to the sa-learn command for  
STDIN and now it seems to work. I'll test it for a while.

Thanks


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the imp mailing list