> I then _tried_ to run sa-learn -D --spam <path to .Spam folder> but it kept
> telling me that: bayes: DB_File module not installed, cannot use bayes

Here's what I had to do to get it working:

sa-learn --spam /home/vpopmail/domains/<domain>/<user>/Maildir/.Spam/cur

Try adding the "/cur".

Here's an error I was also getting, and Bill S sent the fix:

> Cannot open bayes databases
> /etc/mail/spamassassin/.spamassassin/bayes_* R/O: tie failed:
> Permission denied

chown -R vpopmail:vchkpw /etc/mail/spamassassin/.spamassassin

Make sure that's done after running sa-learn, or run sa-learn as vpopmail.

> 2) what is the easiest way to set up squirrelmail (per this toaster) to
> allow users to either create their own spam folders, or have a default
> folder that spam can be sent to and then later registered with SpamAssassin
> as spam?

Well, just creating a "Spam" folder is simple.. have your users put
spam into that folder for later analysis.  If you want spamassassin to
move spam into that folder, you'll need to use maildrop.

-Hank

Reply via email to