On Tuesday 04 Apr 2006 19:16, Nikki Locke wrote: > Ken Schweigert wrote: > > On 4/4/06, Nikki Locke <[EMAIL PROTECTED]> wrote: > > > I would like to use the Bayesian spam filter. To that end, I need all > > > the users here to be able to mark mail as spam, so it can be sent > > > through sa- learn. Ideally I think I need to be able to submit non-spam > > > mail too. > > > > Squirrelmail has a lot of plugins that you can use. Though I haven't > > used any of these, here is where the spam related plugins are: > > > > http://www.squirrelmail.org/plugins_category.php?category_id=3 > > > > "Spam Buttons" sounds promising.
The squirrelmail spam-button plugin works for me. Create two email accounts on the same box as squirrelmail or where you have spamassassin running Here are the salient settings for spam-button's config.php: $is_spam_resend_destination = '[EMAIL PROTECTED]'; $is_not_spam_resend_destination = '[EMAIL PROTECTED]'; $spam_report_email_method = 'bounce'; $is_spam_note_success = _("Successfully queued for spam report"); $is_not_spam_note_success = _("Successfully queued for ham report"); set up a cron to run sa-learn, something like sa-learn --spam $spamdir sa-learn --ham $hamdir where $spamdir is /home/vpopmail/domains/adomain.com/learn-spam/Maildir/new for the above learn-spam account do the same for ham move the mail to cur or delete afterwards see man sa-learn for details This will allow your customers to train spamassassin. Wether they will or not is another matter ;-( good luck. > > Thanks for that - I'm playing with it now. I notice that SquirrelMail 1.4 > is now up to version 1.4.6, which contains some important-looking security > fixes. Hmm, I wonder if it is safe to install it over what I have from the > toaster? > > Nikki -- ----------------- Bob Hutchinson Midwales dot com -----------------