On Thu, 2007-02-15 at 12:45 -0500, Theo Van Dinter wrote: > On Thu, Feb 15, 2007 at 02:15:47PM -0300, Raul Dias wrote: > > archive-iterator: invalid (undef) format in target list, 2 > > at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/ArchiveIterator.pm > > line 727, <STDIN> line 1. > > > > Just for the record, the sa-learn has messages (one eache time) fed thru > > stdin from a cyrus imapd folder. > > We'd have to see your sa-learn commandline. If you want to learn a folder of > messages though, you should just aim sa-learn at the folder. > actually I run this from a script:
open (LEARN, "| /usr/bin/sa-learn -u $user --" . $OPTIONS->{type}) which reflects for: "/usr/bin/sa-learn -u raul --spam" for example. -Raul Dias