On Thu, 11 Feb 2010 15:16:03 -0800
fchan <fc...@molsci.org> wrote:

> I was trying to teach spamassassin 3.3.0 today with a rather large 
> spam message and I got this error message when I did sa-learn:
> Feb 11 14:47:51.262 [5414] info: archive-iterator: skipping large
> message
> 
> The message is 279959  bytes and about 20% is Russian text and other 
> 80% is two gif image attachment. Is there a way to increase this or 
> some other method to allow me to learn large messages.

I think you would have to modify the script.

If you change opt_all to 1 in the following part of sa-learn, it should
do it.


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

Reply via email to