I've setup SpamAssassin to
work with individual Vpopmail mailboxes. I want to know if sa-learn
can be used in this configuration? If so, how do you tell sa-learn
which Bayes database you want to use? I'm currently using one Bayes
database per email domain, but I may offer individual Bayes databases per
mailbox in the future.

Doug...

I would be interested in how you set SA up with individual vPop boxes. Do
you have any notes to share??

Sure, let me ramble for a minute. ;)

First, I should mention that I wanted maximum control over how
SpamAssassin works for individual mailboxes. I wanted to be able to
turn it on/off individually and configure SpamAssassin settings (ie-
Razor, hits, Bayes DB location, etc.) individually for each mailbox and I
wanted to store all this in an SQL database for ease of use.

- Obviously you need SpamAssassin installed. :)

I had to make a small change to one of the SpamAssassin scripts because
normally it won't read certain settings from a database for security
reasons. Notice I have modified the source of
SpamAssassin! Please use at your own risk! As long as
access to your database is secure, you shouldn't have any
problems.

Each user (ie- full email address) can have it's own settings in this
table. This makes it really easy to turn on/off every SpamAssassin
option on an individual basis.

Note: Currently I'm using one Bayes database per email domain, but
I could change that to use one database per mailbox or one database for
the entire system right in the SQL table.

These above settings will mark email with the "X-Spam-Flag:"
header and you can configure the email client to filter messages unless
you un-comment the lines in the .procmailrc file to direct spam messages
to a different mailbox.

I think that's most of it. I know this description was unorganized
and sketchy, please feel free to ask questions.