University Crest

[wlug] Train spamassassin virtual domains.

wlug archive index About the wlug list Mailing lists home
To The University of Waikato HomepageWaikato Home > Waikato Mailing Lists > wlug Info > wlug archives
DrWho? x_files_@i...
Thu May 12 21:33:14 NZST 2005

A question for all you script people.

Has anyone come across a script that will read all users from the
userprefs table then call sa-learn, with the user name and a constructed
path to the spam / no spam.

Basicly I have set up two IMAP folders, spam and no spam for use per
user, which will hopefully be used to train spamassassin per user.

All user options and Bayes are stored in MYSQL.

I am using vpopmail to provide the "virtual domains" so the script has
to be able to pull the user name apart so it can be re-assembled to form
a path to the spam folders.

User                 - x@y...
Path to spam folder - /home/vpopmail/domains/y.z/x/Spam/New

Oddly enough I thought this would be something every man and his dog
would do, but it seems not.

Any ideas???

More information about the wlug mailing list
NOTICE: This is an archive of a public mailing list. The University of Waikato is not responsible for its contents.

The University of Waikato - Te Whare Wananga o Waikato