All:
Here's what we're doing to allow Microsoft Outlook users to
train a global SA Bayes database:
1) Add "spam", "spam.old", "invalid-format-spam", "ham",
"ham.old" and "invalid-format-ham" subdirectories to the
spamd home directory.
2) Share the spamd home directory via samba, using the name
"spamassassin". I have the permissions such that only the
"spam" and "ham" directories can be accessed for writing.
I've also set up an alias so that \\spamassassin refers to
the mail server (regardless of what it's actually named) -
you might want to do the same.
3) I have the attached README file in the spamd home dir,
where people can read it via the spamassassin share. This
contains the instructions for how to submit messages for
training.
4) I run the attached spamassassin_training script from
cron.daily.
5) You will need the "readpst" program from:
http://sourceforge.net/projects/ol2mbox
Download the libpst package, apply the blank lines patch
from:
http://sourceforge.net/tracker/?group_id=18756&atid=318756
compile, and copy the readpst program to /usr/local/bin.
You could skip the break-pst-mbox-out-to-individual-messages
step and just run "sa-learn --mbox" across the mbox file. I
may do that sometime...
--
John Hardin KA7OHZ
Internal Systems Administrator/Guru voice: (425) 672-1304
Apropos Retail Management Systems, Inc. fax: (425) 672-0192
-----------------------------------------------------------------------
Failure to plan ahead on someone else's part does not constitute an
emergency on my part.
- David W. Barts in a.s.r
Here's what we're doing to allow Microsoft Outlook users to
train a global SA Bayes database:
1) Add "spam", "spam.old", "invalid-format-spam", "ham",
"ham.old" and "invalid-format-ham" subdirectories to the
spamd home directory.
2) Share the spamd home directory via samba, using the name
"spamassassin". I have the permissions such that only the
"spam" and "ham" directories can be accessed for writing.
I've also set up an alias so that \\spamassassin refers to
the mail server (regardless of what it's actually named) -
you might want to do the same.
3) I have the attached README file in the spamd home dir,
where people can read it via the spamassassin share. This
contains the instructions for how to submit messages for
training.
4) I run the attached spamassassin_training script from
cron.daily.
5) You will need the "readpst" program from:
http://sourceforge.net/projects/ol2mbox
Download the libpst package, apply the blank lines patch
from:
http://sourceforge.net/tracker/?group_id=18756&atid=318756
compile, and copy the readpst program to /usr/local/bin.
You could skip the break-pst-mbox-out-to-individual-messages
step and just run "sa-learn --mbox" across the mbox file. I
may do that sometime...
--
John Hardin KA7OHZ
Internal Systems Administrator/Guru voice: (425) 672-1304
Apropos Retail Management Systems, Inc. fax: (425) 672-0192
-----------------------------------------------------------------------
Failure to plan ahead on someone else's part does not constitute an
emergency on my part.
- David W. Barts in a.s.r