I don't think that there's a flag to just run against a mailbox.  If I 
recall, correctly, you can just use "spamassassin < /path/to/mailbox" and 
it should read each message in that box, individually.

sa-learn, on the other hand, needs the --mbox flag for bayes training.

On Tue, 10 Aug 2004, Matic Dolar wrote:

> Hi!
> 
> I'm writing a study about spam and would like to do the following:
> - run spamassassin against a whole mailbox file (presumably quite large one) 
> full of mixed messages - both spam and ham (as well as a significant amount 
> of viruses (albeit removed by antivirus-scanner).
> - analyze the results I get - amount of spam received, amount of spam caught, 
> etc ...
> 
> What command should I use to run spamassassin?
> All I was able to achieve so far was to run it against a mailbox (plain text 
> file) containing a single message. I want to make it analyze all the messages 
> in the file, one by one. 
> 
> Any ideas on how I could make this work or perhaps other suggestions?
> Everything would be greately appreciated!
> Tnx!
> 
> Matic

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

[EMAIL PROTECTED]

with a message of: 

subscribe

Reply via email to