On Sat, 2006-01-21 at 20:48 -0800, Alex Bello wrote: > I have not noticed the issue with my newly installed qmailtoaster. Is > this something that happens to all new installs? > > Can I possibly get a copy of these spamassasin scripts?
I have a script that I use to learn SPAM that made it through to the users ... in my situation, I don't learn HAM in an automated way, as I quarantine all SPAM, so the users don't get items marked as SPAM that they think is HAM. My setup also has IMAP folders for each user and shared IMAP folders ... but not all users map to the shared folders, so I read from the user's Inbox (on their IMAP) in a Folder called Spam (or spam, if they misspelled it). Here is how you would use this script. 1. Create a directory to copy the SPAM too on the server. In my case: /var/qmail/sa-learn 2. Have your users create a Directory called Spam in their IMAP folder Inbox. 3. Make sure to run this as the user who runs spamd ... OR ... in /etc/mail/spamassassin/local.cf specify a place that the bayes files will go ... in my case, I have a directory called: /var/qmail/bayes with these permissions: -rw-rw-r-- 1 vpopmail vchkpw 4096 Jan 22 08:41 bayes and I have these entries in /etc/mail/spamassassin/local.cf: use_bayes 1 use_bayes_rules 1 bayes_auto_learn 1 bayes_path /var/qmail/bayes/bayes bayes_file_mode 0664 So I run the script as root from cron and it updates the bayes database with sa-learn. Here is the script: http://centos.hughesjr.com/testing/qmail_learn_spam.txt (rename it to something like /usr/local/bin/learn_spam and adjust it for your situation) I am not suggesting that I am a master bash script writer ... just providing the option I used. > > -----Original Message----- > From: Jake Vickers [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 21, 2006 6:08 PM > To: [email protected] > Subject: Re: [qmailtoaster] Training spamassasin > > Kjetil Paulsen wrote: > > > Hi > > > > Does anyone have a guide (or a link to some docs) for how to train > > spamassasin? > > > > Just installed, and got Qmailtoaster up and running with all my > > domains and it marks stuff that are not spam as spam and vice a > versa.... > > I have a script or two that were sent to me on my site (jakev.com/qmail) > > if you want to check those out. If you need some further help, just let > us know. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >
signature.asc
Description: This is a digitally signed message part
