1

Topic: bayes setup

hi,

this is the first time i am using bayes and am referring to the docs out here
https://cwiki.apache.org/confluence/dis … amAssassin

please advise if my approach is correct and if i am missing anything.

Step 1
in /etc/spamassassin/local.cf
use_bayes          1
bayes_auto_learn   1
bayes_auto_expire  1

Step 2
bayes database locations are here
/var/lib/amavis/.spamassassin/bayes.mutex
/var/lib/amavis/.spamassassin/bayes_seen
/var/lib/amavis/.spamassassin/bayes_toks

Start training bayes with around 200 spam emails and 200 ham email which are selected from the actual email traffic from my live system

sa-learn --showdots --spam spam-files or spam-directory/*

sa-learn --showdots --ham ham-files or ham-directory/*


Other questions
1) Does iredpro have any automatic scripts to continously scan junk mail folders for classification ?
2) My server has a volume of around 100thousand emails per day. Should i use mysql database for bayes ?

thanks
rajesh

2

Re: bayes setup

Maybe better use our tutorial instead:
https://docs.iredmail.org/store.spamass … n.sql.html

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3

Re: bayes setup

thanks,

i got it working with mysql

best regds
rajesh