on 8/28/04 7:23 PM, Ryan Thompson at [EMAIL PROTECTED] wrote: > Hi Randall, > > You have: >> /usr/local/bin/spamd ... -C /etc/mail/spamassassin/local.cf > > perldoc spamd: > -C path, --configpath=path > Use the specified path for locating the distributed configuration > files. Ignore the default directories (usually > /usr/share/spamassassin or similar). >
> > If you are indeed using /etc/mail/spamassassin, you likely don't need to > specify --siteconfigpath, unless you're using someone's nonstandard > package. > I assumed it should be looking in /etc/mail/spamassassin, I used the -C switch because it didn't seem to be reading the config file. But you're right -- I was using it incorrectly. > But, the definite show-stopper: > >> Local.cf >> -------- >> required_sccore 10 > > Typo. Should be `required_score'. > Ooops! Right...thanks. But, after fixing the typo and restarting spamd still get 'required=5'. And after restarting spamd with the following: /usr/local/bin/spamd -d --pidfile /var/run/spamd.pid -u spamd -C /etc/mail/spamassassin I still get 'required=5'. Also, I'm starting spamass-milter with: /usr/local/sbin/spamass-milter -p /var/spamassassin/spamass.sock -f -r 10 Here's my corrected local.cf: [xserve1:~] randy% cat /etc/mail/spamassassin/local.cf # This is the right place to customize your installation of SpamAssassin. # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be # tweaked. # ########################################################################### # #rewrite_subject 0 #report_safe 1 required_score 10 use_bayes 1 bayes_path /etc/mail/spamassassin/bayes bayes_auto_learn 1 bayes_auto_learn_threshold_nonspam 0.1 bayes_auto_learn_threshold_spam 12 >> use_bayes 1 >> bayes_path /etc/mail/spamassassin/bayes >> bayes_auto_learn 1 >> bayes_auto_learn_threshold_nonspam 0.1 >> bayes_auto_learn_threshold_spam 12 >> >> Mail.log >> --------- >> Aug 28 17:09:44 xserve1 sm-mta[3868]: i7SL9cVl003868: Milter add: header: >> X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no >> version=2.64 -- Randall Perry sysTame Xserve Web Hosting/Co-location Website Design/Development WebObjects Hosting Mac Consulting/Sales http://www.systame.com/
