bharathan kailath, > i've set in local.cf the following: > > # Enable the Bayes system > use_bayes 1 > > # Enable Bayes auto-learning > bayes_auto_learn 1 > > but it's no effect so far! how to make SA learn! i still have to find out a > way for this; > i've got amavisd/SA/spamd combinations; i'd try sanesecurity addons;
The above should be enough to enable bayes and its auto-learning, provided you have the bayes database already set up. Consider adjusting bayes_path in local.cf if the default does not suit you, e.g.: bayes_path /var/amavis/.spamassassin/bayes or use some other bayes backend module like SQL (bayes_store_module) SpamAssassin will not create a database on its own, you need to manually run sa-learn and give it a couple of mail samples of spam and ham, at least one: # su vscan -c 'sa-learn --spam --showdots <spam-sample.msg' # su vscan -c 'sa-learn --ham --showdots <ham-sample.msg' This will create a database, which will then be used by normal amavisd/spamassassin runs. To make sure the bayes is in use, try running spamassassin from a command line with debugging turned on, e.g.: # su vscan -c 'spamassassin -t -D <test.msg' Mark ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ 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/
