spamassassin-users December 2011 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: sa-learn and modern spam sizes

Re: sa-learn and modern spam sizes

From: Duane Hill <duihi77_at_nospam>
Date: Tue Dec 20 2011 - 17:20:41 GMT
To: users@spamassassin.apache.org

On Tuesday, December 20, 2011 at 17:06:36 UTC, rwmaillists@googlemail.com confabulated:

> On Tue, 20 Dec 2011 15:38:58 +0000
> Duane Hill wrote:

>> On Tuesday, December 20, 2011 at 15:26:06 UTC, Bowie_Bailey@BUC.com
>> confabulated:
>>

>> >> Should I open a bug about it?
>>
>> > If you're using mailscanner, why not ask on the mailscanner list?
>>
>> > http://www.mailscanner.info/support.html#mailing
>>
>> I don't believe this is a mailscanner issue. I also have found
>> sa-learn not learning anything over a certain size.

> As I already said, the limit is in the ArchiveIterator module and is
> turned-on in sa-learn. If you edit sa-learn and change opt_all from 0 to
> 1 in the code below the problem should go away

> my $iter = new Mail::SpamAssassin::ArchiveIterator(
> {
> 'opt_all' => 0, # skip messages over 250k
> 'opt_want_date' => 0,
> }
> );

Sorry for the noise. I wasn't following the thread too close.

-- If at first you don't succeed, so much for skydiving.