Re: [qmailtoaster] bayes setup
Hi Peter, Have a look here (https://spamassassin.apache.org/full/3.1.x/doc/sa-learn.html). In the 'OPTIONS' section is a good description of what each provides. Eric On 10/4/2018 12:01 PM, Peter Peltonen wrote: Very generic question about teaching spamassassin: If one runs sa-learn against a maildir folder for learning more spam, should that folder: a) contain messages that spamassasin has failed to classify spam or b) contain messages that spamassasin has failed to classify spam AND messages that spamassasin has succeeded in classifying as spam and if the answer is b) does then I suppose it does not matter that the subjects of the messages contain the *** SPAM *** prefix? Same thing goes for ham: should I teach sa against ham classified wrongly as spam only or include correctly identified ham as well? Peter On Thu, Oct 4, 2018 at 3:14 PM Eric Broch wrote: Sorry below show be # chown vchkpw:vpopmail /etc/spamassassin/.spamassassin On 10/4/2018 6:13 AM, Eric Broch wrote: # chown vchkpw:vpopmail drwxr-xr-x2 vpopmail vchkpw 20480 Oct 4 05:57 .spamassassin -- Eric Broch White Horse Technical Consulting (WHTC) - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com -- Eric Broch White Horse Technical Consulting (WHTC) - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] bayes setup
Very generic question about teaching spamassassin: If one runs sa-learn against a maildir folder for learning more spam, should that folder: a) contain messages that spamassasin has failed to classify spam or b) contain messages that spamassasin has failed to classify spam AND messages that spamassasin has succeeded in classifying as spam and if the answer is b) does then I suppose it does not matter that the subjects of the messages contain the *** SPAM *** prefix? Same thing goes for ham: should I teach sa against ham classified wrongly as spam only or include correctly identified ham as well? Peter On Thu, Oct 4, 2018 at 3:14 PM Eric Broch wrote: > > Sorry below show be > > # chown vchkpw:vpopmail /etc/spamassassin/.spamassassin > > > On 10/4/2018 6:13 AM, Eric Broch wrote: > > # chown vchkpw:vpopmail drwxr-xr-x2 vpopmail vchkpw 20480 Oct 4 > > 05:57 .spamassassin > > -- > Eric Broch > White Horse Technical Consulting (WHTC) > > > - > To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com > For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com > - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] bayes setup
Sorry below show be # chown vchkpw:vpopmail /etc/spamassassin/.spamassassin On 10/4/2018 6:13 AM, Eric Broch wrote: # chown vchkpw:vpopmail drwxr-xr-x 2 vpopmail vchkpw 20480 Oct 4 05:57 .spamassassin -- Eric Broch White Horse Technical Consulting (WHTC) - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] bayes setup
Here's my set up: I had to # mkdir /etc/spamassassin/.spamassassin # chown vchkpw:vpopmail drwxr-xr-x 2 vpopmail vchkpw 20480 Oct 4 05:57 .spamassassin # ls -l /etc/spamassassin/ ... drwxr-xr-x 2 vpopmail vchkpw 20480 Oct 4 05:57 .spamassassin ... # vi /etc/spamassassin/local.cf (Add settings below) use_auto_whitelist 1 auto_whitelist_file_mode 0700 auto_whitelist_path /etc/spamassassin/.spamassassin/auto-whitelist use_bayes 1 use_bayes_rules 1 bayes_auto_learn 1 bayes_path /etc/spamassassin/.spamassassin/bayes bayes_auto_learn_threshold_spam 6.0 bayes_file_mode 0700 # restart spamd See if bayes is working # spamassassin --lint -D Look for these lines Oct 4 06:10:44.219 [32423] dbg: bayes: tie-ing to DB file R/O /etc/spamassassin/.spamassassin/bayes_toks Oct 4 06:10:44.220 [32423] dbg: bayes: tie-ing to DB file R/O /etc/spamassassin/.spamassassin/bayes_seen Oct 4 06:10:44.221 [32423] dbg: bayes: found bayes db version 3 Oct 4 06:10:44.222 [32423] dbg: bayes: DB journal sync: last sync: 1538654406 # ls -l /etc/spamassassin/.spamassassin (files seen when spamassassin starts training) -rwx-- 1 vpopmail vchkpw 9867264 Oct 4 05:57 auto-whitelist -rw--- 1 vpopmail vchkpw 5373952 Oct 3 15:00 bayes_seen -rw--- 1 vpopmail vchkpw 5308416 Oct 4 06:00 bayes_toks # use sa-learn to train on messages or directory On 10/4/2018 2:29 AM, Rajesh M wrote: hello all qmail toaster on centos 6, 64 bit Please advise concerning steps to be followed for implementing bayes. should i follow the steps listed here ? or is there anything specific related specific to qmail toaster https://wiki.apache.org/spamassassin/SiteWideBayesSetup the mail traffic on this server is around 6 emails per day thanks rajesh - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com -- Eric Broch White Horse Technical Consulting (WHTC)
[qmailtoaster] bayes setup
hello all qmail toaster on centos 6, 64 bit Please advise concerning steps to be followed for implementing bayes. should i follow the steps listed here ? or is there anything specific related specific to qmail toaster https://wiki.apache.org/spamassassin/SiteWideBayesSetup the mail traffic on this server is around 6 emails per day thanks rajesh - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com