At 07:48 AM 11/29/2005, Noc Phibee wrote:
Hi,

I want post you my config ;=) i have a small problems:
   I am thinks that i don't have a good result in scoring.
   a big quantity of spams are not detected.

My server is not a mail server, but only a relay. He run
on Qmail with Qmail-scanner and spamassassin 3.0.4.

What do you thinks of my spamassassin -D --lint ?

I see three problems :

1- "debug: bayes: no dbs present, cannot tie DB R/O: /root/.spamassassin/bayes_toks"
Bayes don't work ?

The way your configuration is set up, the bayes database lives in the home directory of the user calling SA.

For qmail-scanner, that user is probably not root, therefore no bayes DB exists in root's homedir.

If you wanted a site-wide bayes db that all users will share, you'll need "bayes_path /var/spool/spamassassin/bayes" and "bayes_file_mode 0777" (not 0666!)



2- "debug: Pyzor is not available: pyzor not found"
"debug: DCCifd is not available: no r/w dccifd socket found."
"debug: DCC is not available: no executable dccproc found."
It's a good solution for stop more spams that active this products ?

I like dcc and razor myself, but you'll have to check the licenses. Most people can use these for free, but there are some exceptions for free access to the dcc and razor servers.

Pyzor is all-free AFAIK but I've never used it.



3- He have other solution for best detect ? addin a solution of:
        spamcop, SORBS and other (what is the best ?)
        How install it ?

SA uses spamcop and sorbs among several other RBLs if you have a recent version of Net::DNS.


Very thanks for all return that you post.




==================================================
My local.cf:
==================================================
required_hits 4.9
auto_whitelist_path        /var/spool/spamassassin/auto-whitelist
auto_whitelist_file_mode   0666

Broken: fix that to 0777.

(Note the default for this is 0700, not 0600. SA "file modes" are really masks and can be used as a mask for dir creation, thus need the X bit)


==================================================
My spamassassin -D --lint :
==================================================

Much of that looks relatively normal. SA 3.0.x introduced warnings for long descriptions, but nobody updated the non-english description sets. 3.1.0 has since relaxed the description length and is free of these warnings.

warning: score set for non-existent rule CHARSET_FARAWAY_BODY
warning: score set for non-existent rule CHARSET_FARAWAY_HEADERS

That looks bad.. Those rules should be declared in your /usr/share/spamassassin/20_body_tests.cf. I'd be wondering if your install is goofed up. Check the files in /usr/share/spamassassin and make sure they match the ones in the 3.0.4 tarball.


Reply via email to