Jay Lee wrote:
> Bowie Bailey wrote:
> 
> > If you have a working config with Courier and MySQL, please share.
> > :)
> 
> Sure, the most relevant parts are:
> 
> my /etc/init.d/spamassassin script that starts spamd has:
> 
> SPAMDOPTIONS="-d -c -m20 -q -x"
> 
> where -d means daemonize the process, -c means create non-existant
> prefs for new users (not entirely sure this is necessary for SQL),
> -m20 means start max of 20 children (this might be zealous, I believe
> I bumped it awhile back when maildrop starting timing out...), -q
> means use SQL instead of flat files and -x means don't try to look
> for per-user-config in home directories.     
> 
> In /etc/mail/spamassassin/local.cf I have:
> 
> #Use mysql for user prefs
> user_scores_dsn                 DBI:mysql:spamassassin:localhost
> user_scores_sql_username        spamassassin
> user_scores_sql_password        password
> 
> #Use mysql for bayes autolearning data
> bayes_store_module              Mail::SpamAssassin::BayesStore::SQL
> bayes_sql_dsn                   DBI:mysql:spamassassin:localhost
> bayes_sql_username              spamassassin
> bayes_sql_password              password
> 
> 
> In the global maildroprc I have:
> 
> import USER
> xfilter "/usr/bin/spamc -u $USER -s 300000"
> 
> You may need to install a few perl scripts from CPAN also, follow the
> generic SQL info from Spamassassin's docs. 

That looks simple enough.  What do you have to do when you call
sa-learn?

-- 
Bowie


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to