Thanks I still have another point. Our mailboxes are still receiving mail with those forbiden drugs as per 20_drugs.cf, lets say c..i..a..l..i..s goes through. Thanks again Helio
On Monday 27 June 2005 18:17, Matt Kettler wrote: > Helio Nunes wrote: > > I have qmail toaster (Bill Supp's last version)with clamav and simscan > > and OS is Suse 9.2. > > Default locations are: /etc/mail/spamassassin for .spamassassion, > > init.pre, local.cf > > /usr/share/spamassassin for the additional (or I think are additional.. ) > > > > How can I say spamassassin is really using such .cf files. Actually I > > thought that files from /usr/share/spamassassin should be copied > > to /etc/mai/spamassassin. > > You thought wrong. /etc/mail/spamassassin should contain SITE rules. It > should NOT contain the default rules. > > It's a common mistake, but I have no clue where people get the idea they > should copy the .cf files. It's completely wrong to do so. In general you > should leave the default rule files there, and do not edit them unless you > really know what you're doing. > > To "prove" SA is parsing both, try running spamassassin --lint -D. This > will tell you what default rules dir and site rules dir SA is using. SA > will automatically parse all .cf files in both of those two directories, > plus init.pre out of the site rules dir. > > AFAIK the exact parse order SA uses is: > > <site_rules>/init.pre > <default_rules>/*.cf (alpha order) > <site_rules>/*.cf (alpha order) > <user_prefs> > > For most settings, if there's a duplicate, the last one read over-writes > earlier settings. > > This way, a .cf file in /etc/mail/spamassassin can over-ride the score of a > rule in /usr/share/spamassassin. Hence, you should never want to edit > anything in /usr/share/spamassassin under normal circumstances. -- Helio Nunes [EMAIL PROTECTED] Sao Paulo