I've installed SpamAssassin 3.1.0 into a postfix mail server running on suse 8.2 Incoming emails are been passed through SA and SA appears to be deciding whether an email is spam or not. However, SA is not modifying the email headers for any emails regardless of whether it thinks they are spam or not. When I run #spamc < sample-spam.txt > sample-spam.txt.out it it creates a file containing the returned email, but the contents of the two files are identical. In my mail log I get the following for the example above: Nov 15 10:43:21 fixcity02 spamd[23198]: connection from localhost [127.0.0.1] at port 42644 Nov 15 10:43:21 fixcity02 spamd[23275]: info: setuid to root succeeded Nov 15 10:43:21 fixcity02 spamd[23275]: Still running as root: user not specified with -u, not found, or set to root. Fall back to nobody. Nov 15 10:43:21 fixcity02 spamd[23275]: processing message <N1msdrbJXNPfV4wg9> for root:65534. Nov 15 10:43:21 fixcity02 spamd[23275]: Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Message/Node.pm line 119. Nov 15 10:43:21 fixcity02 last message repeated 4 times Nov 15 10:43:24 fixcity02 spamd[23275]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /root/.spamassassin/auto-whitelist.lock.fixcity02.fixcity.co.uk.23275 for /root/.spamassassin/auto-whitelist.lock: Permission denied Nov 15 10:43:24 fixcity02 spamd[23275]: Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Message/Node.pm line 119. Nov 15 10:43:24 fixcity02 spamd[23275]: Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Message/Node.pm line 119. Nov 15 10:43:24 fixcity02 spamd[23275]: identified spam (17.7/5.0) for root:65534 in 3.3 seconds, 4580 bytes. It looks as though it has correctly identified the email as spam. However, I am concerned about the "Use of uninitialized value..." messages in the log file. External emails running through our mail server are generating similar log entries. The emails are delivered correctly but SA is not modifying the headers to flag the ones that it thinks to be spam. The local.cf file that I am using is: # SpamAssassin config file for version 3.x # NOTE: NOT COMPATIBLE WITH VERSIONS 2.5 or 2.6 # See http://www.yrex.com/spam/spamconfig25.php for earlier versions # Generated by http://www.yrex.com/spam/spamconfig.php (version 1.50) # How many hits before a message is considered spam. required_score 5.0 # Change the subject of suspected spam rewrite_header subject *****SPAM***** # Encapsulate spam in an attachment (0=no, 1=yes, 2=safe) report_safe 1 # Enable the Bayes system use_bayes 1 # Enable Bayes auto-learning bayes_auto_learn 1 # Enable or disable network checks skip_rbl_checks 0 use_razor2 1 use_dcc 1 use_pyzor 1 # Mail using languages used in these country codes will not be marked # as being possibly spam in a foreign language. ok_languages all # Mail using locales used in these country codes will not be marked # as being possibly spam in a foreign language. ok_locales all Any help will be greatly appreciated. Kind regards, Karl Karl Breeze FIX CITY Ltd tel: +44 (0) 20 7324 6170 fax: +44 (0) 7092 388 473 web: www.fixcity.co.uk web: www.ioinet.com |