Hello, I have ported naive bayes spam DB -> MySQL. I can't see any improvement at the moment... Should the CPU works less then when I use naive db (I noted the bayes_seen file in home dir of amavis user was about 100 MB and similar dim has the auto-whitelist file, so I think that thi can be an high load for the CPU to examine every time that one message needs to be scanned - also my system send/receive about 110.000 message per day)?
Moreover, It seems to me that is not possible to share one DB for two SA.. infact I feel that one time taht I migrate the second SA bayes db file, this overwrite the data of the first SA bayes db file... It this possible? Thanks, rocsca ----- Original Message ----- From: "Gary V" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, October 11, 2005 4:19 PM Subject: Re: [AMaViS-user] About SA... > Rocco wrote: > > > Hello, > > > I'm using SA with amavisd-new to reduce spam and only now I'm reading a few > > of documentation about SA... > > > I have some questions: > > > My question is: "What Amavisd-new uses? Spamassassin, spamd or spamc?". > > It loads the Mail::SpamAssassin Perl module into memory. Like spamd, amavisd-new > is daemonized, so it is fast. > > > Another qiestion is: "Can I configure Amavisd-new to use spamc? (It should > > be more effecient to analyze messages.. Or no?) > > Using spamc is not a configuration option, and because amavisd-new has > the ability to cache previous results, it is faster than using spamc. > > If you wanted to use spamc/spamd, you would configure amavisd-new to > not perform any spam checks at all, then use spamc/spamd outside of > amavisd-new. > > > 2) I have the default 'local.cf' configuration file for SA. Do SA uses the > > auto learning feature by default? > > Yes > > > If not How can I set that feature? > > See "LEARNING OPTIONS" > http://spamassassin.apache.org/full/3.1.x/dist/doc/Mail_SpamAssassin_Conf.html > > > Do I use sa-learn to initialize a db? > > Yes, but this may have already happened without user intervention. > > > Do I use a particular mailbox user to initialize a db? > > Not a mailbox user, your amavisd user. If you amavisd-new user is 'vscan': > su vscan -c 'sa-learn --sync' > will create the Bayes database if one does not exist. The Bayes files > should be located somewhere like /var/amavis/.spamassassin > (the .spamassassin directory of the home directory of your amavisd-new user). > > > Can I share the db for all incoming/outgoing mail, apart > > from user? > > One database is used for all mail that passes through amavisd-new, the > data belongs to your amavisd-new user (probably 'vscan' or 'amavis'). > > > BR, > > rocsca > > Gary V > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > AMaViS-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/amavis-user > AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 > AMaViS-HowTos:http://www.amavis.org/howto/ ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
