SA - customized scores from local.cf
Hi,
I have a problem with SpamAssassin. I would appreciate if someone could help me. My setup is: I've upgraded to SpamAssassin version 3.0.3 running on Perl version 5.8.0. I am using in conjunction with spamass-milter - Version 0.3.0 and Sendmail 8.12.11. The OS is RHEL 3. Spamd runs as nobody. nobody 4859 1 0 12:21 ? 00:00:00 /usr/bin/spamd -d -u nobody -c -m5 -H -s /var/log/spamd.log --siteconfigpath=/etc/mail/spamassassin --configpath=/usr/share/spamassassin nobody 4862 4859 0 12:21 ? 00:00:00 spamd child nobody 4863 4859 0 12:21 ? 00:00:00 spamd child nobody 4864 4859 0 12:21 ? 00:00:00 spamd child nobody 4865 4859 0 12:21 ? 00:00:00 spamd child nobody 4866 4859 0 12:21 ? 00:00:00 spamd child root 4881 1 0 12:22 ? 00:00:00 spamass-milter -p /var/run/spamass.sock -f -r 15 -b junk@xxx.com My problems are the following: 1) It seams that my customized scores from /etc/mail/spamassasssin/local.cf don't work. Local.cf: required_hits 4.5 rewrite_header Subject [SPAM] report_safe 0 score DEAR_SOMETHING 4 score DEAR_FRIEND 4 This file is read by SA (I've seen that from spamassassin -D -u nobody). The required_hits are also ok. The problem is that DEAR_SOMETHING, DEAR_FRIEND etc have no effect as they weren't there. Is this a parse error or I miss something? How can I customize my score for different tests? 2 ) The result of #spamassasin -d --lint: Net::DNS version is 0.31, but need 0.34dnsavailable-1 at /usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 1230. What is this DNS? I think it has nothing to do with BIND'. Should I upgrade something? 2) I can't use user_prefs from /home/user/.spamassassin/user_prefs From the logs I see that SpamAssassin wants to write/read from /root/.spamassassin/user_prefs. Why root? I found out that the problem is that nobody has no home directory. I understand that. But when I run SA as root it reads from /root/.spamassassin/user_prefs. Shoudn't SA read the user_prefs file of the recipient? Isn't this the point here, to customize for every recipient different rules? So, why is SA stucked to /root/.spamassassin/user_prefs? How can I customize rules for every user? Thanks a lot. ddaas |
Have u try change the "required_hits 4.5" to "required_score 4.5" ?
|
All times are GMT -5. The time now is 06:34 PM. |