tonjg wrote: > I'm trying to run: > sa-learn --spam --showdots --dir /path/to...mbox > but it fails with: > 'Learned tokens from 0 message(s) (0 messages examined)' > my spam mail is in a file called mbox but when I run the above command to > the directory containg mbox it always fails with the '0 messages > examined' error.
If your messages are in a mbox *file*, you need an option --mbox, not --dir . smfabac wrote: > I am having a similar problem as the poster but I have successfully run > spamassassin for several years and today when I used the sa-lean > command to process the mailbox where I moved the mis-classified > mail message (not-spam) I get: > > $ sa-learn --showdots --ham --mbox not-spam > > Learned tokens from 0 message(s) (0 message(s) examined) > Check the mail folder not-spam: If "not-spam" is a folder (not a mbox file), you must not use the option --mbox. Mark