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: Jonas <jonas_at_nospam>
Date: Tue Dec 20 2011 - 21:48:24 GMT
To: <users@spamassassin.apache.org>

> -----Original Message-----
> From: RW [mailto:rwmaillists@googlemail.com]
> Sent: 20. december 2011 18:07
> To: users@spamassassin.apache.org
> Subject: Re: sa-learn and modern spam sizes
>
> 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,
> }
> );
>

Alright that sounds as a fix at least, but do you not agree that it
should be a user configurable setting? As in some sort of parameter or
conf file?