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: RW <rwmaillists_at_nospam>
Date: Tue Dec 20 2011 - 17:06:36 GMT
To: users@spamassassin.apache.org

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,
    }
  );