Mark Martinec <mark.martinec...@ijs.si> wrote on 01/20/2014 09:20:51 PM:
> From: Mark Martinec <mark.martinec...@ijs.si> > To: users@spamassassin.apache.org, > Date: 01/20/2014 09:21 PM > Subject: Re: sa-learn error > > Andy Jezierski wrote: > > Tried doing an sa-learn on some spam messages that didn't get flagged > > as > > such and am receiving the following error: > > > > archive-iterator: no access to ... : File name too long at > > /usr/local/lib/perl5/site_perl/5.18/Mail/SpamAssassin/ArchiveIterator.pm > > line 891. > > Learned tokens from 0 message(s) (0 message(s) examined) > > > > This is with FreeBSD 9.2 perl 5.18-5.18.2 SA 3.4.0rc5 > > How are you invoking the sa-learn command? Looks like you supplied it > with a file content as its argument, instead of a filename. > Shell escaping problem or something like it? > > Mark Inkove it the same as I've done for years: sa-learn --spam -f spambox --mbox Thanks Andy