Hi,

Keep replies on the list.

Rocco Scappatura wrote:
     [30482] dbg: dns: is Net::DNS::Resolver available? no
     [30482] dbg: dns: is DNS available? 0

Ive installed Net::DNS::Resolver. DNS server is local.

And have you run spamassassin -D to make sure it is picking it up correctly?


     [30482] dbg: bayes: using username: amavis
     [30482] dbg: dbiplugin: Creating uncached database handle to
'bayes:mysql2.sttspa.intranet_bayes_bayes_AutoCommit=0_PrintEr
ror=0_Username=bayes'
[30482] dbg: bayes: unable to connect to database: Access denied for
        user 'bayes'@'80.74.176.142' (using password: YES)
     [30482] dbg: config: score set 1 chosen.
     [30482] dbg: dbiplugin: Creating uncached database handle to
'bayes:mysql2.sttspa.intranet_bayes_bayes_AutoCommit=0_PrintEr
ror=0_Username=bayes'
[30482] dbg: bayes: unable to connect to database: Access denied for
        user 'bayes'@'80.74.176.142' (using password: YES)

Thes lines indicate that you have configured your Bayes system to use a MySQL database, but the connection to the database has failed. This looks like permission problems on the MySQL server.

I ve corrected this...

Good, you are now using the Bayes rules.


     [30482] dbg: config: read file /etc/mail/spamassassin/antidrug.cf

You have the antidrug.cf rules file in your local config directory. The rules in this file are now included in the standard rule set for SA 3.x. This could be 'downgrading' some tests, remove this file.

/etc/mail/spamassassin/antidrug.cf deleted

Good.


You still don't appear to have the 70_sare_stocks.cf file installed. Get it from http://www.rulesemporium.com and install it in the local rules folder.

I have updated the config file of rules du jour to dowload the SARE
STOCKs ruleset too..

Good.

I ve restarted amavisd-new..

This is the score of the previous message..

Spam detection software, running on the system "av5.stt.vir", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  BULLISH REPORT! Campaign for: MISJPrice: $0.17Target:
  $0.95Market: hellish! SOMEBODY KNOWS SOMETHING. [...]

Content analysis details:   (1.8 points, 5.0 required)

 pts rule name              description
---- ----------------------
--------------------------------------------------
 0.1 FORGED_RCVD_HELO       Received: contains a forged HELO
 1.7 SARE_PROLOSTOCK_SYM3   BODY: Last week's hot stock scam
 0.0 HTML_MESSAGE           BODY: HTML included in message
 0.0 BAYES_50               BODY: Bayesian spam probability is 40 to 60%
                            [score: 0.5002]

OK, getting there. You are know using the SARE STOCKS rules. Your Bayes system is working, although you now need to train it that these messages are SPAM.

You can use the sa-learn utility to teach the Bayes system about Spam.

sa-learn --ham < email.txt

http://spamassassin.apache.org/full/3.1.x/doc/sa-learn.html

Your network tests are still not working. Run spamassassin -D again to make sure the Net::DNS installation is being used by SA.


--
Anthony Peacock
CHIME, Royal Free & University College Medical School
WWW:    http://www.chime.ucl.ac.uk/~rmhiajp/
"If you have an apple and I have  an apple and we  exchange apples
then you and I will still each have  one apple. But  if you have an
idea and I have an idea and we exchange these ideas, then each of us
will have two ideas." -- George Bernard Shaw

Reply via email to