--mbox                Input sources are in mbox format
 --mbx                 Input sources are in mbx format

--folders=filename, -f filename

    sa-learn will read in the list of folders from the specified file, one 
folder per line in the file. If the folder is prefixed with ham:type: or 
spam:type:, sa-learn will learn that folder appropriately, otherwise the 
folders will be assumed to be of the type specified by --ham or --spam.

    type above is optional, but is the same as the standard for 
ArchiveIterator: mbox, mbx, dir, file, or detect (the default if not specified).

 - http://spamassassin.apache.org/full/3.3.x/doc/sa-learn.html

So you can specify an input format of mbox, mbx, dir (maildir), file, or
detect.   Looks like no csv.


I'd guess a lot of people use spamassassin without bayes.

On 11/26, Ed Flecko wrote:
> Hi folks,
> I'm running SpamAssassin version 3.3.2 (running on Perl version
> 5.14.2) on FreeBSD 9.0.
> 
> I've exported a bunch of spam and ham messages from my Baracuda 400.
> 
> I have an Excel .csv file of about 2500 spam messages and 2500 ham
> messages, and I'm wondering if I can supply those as a parameter to
> sa-learn? I've looked at the documentation
> (http://spamassassin.apache.org/full/3.2.x/doc/sa-learn.html) and I
> see that you can pass the file as a parameter, but I'm not clear how
> you'd do that and in what format the file needs to be? CAN it be a
> .csv or should it be something else?
> 
> I'm new to spamassassin, but (for those of you more familiar with the
> product), "teaching" spamassassin is TYPICALLY the first thing one
> would do before deploying it in a production environment, wouldn't
> you?
> 
> Thank you,
> 
> Ed
> 

-- 
"Hermes will help you get your wagon unstuck, but only if you push on it."
- Greek Alphabet Oracle
http://www.ChaosReigns.com

Reply via email to