Koozali.org: home of the SME Server

v7pre1 spam whitelist problem

kenironside

v7pre1 spam whitelist problem
« on: January 26, 2006, 05:01:35 PM »
SME v7pre1.

Spamassassin is consistently tagging some legitimate mail as spam. I have inserted “whitelist_from” lines in /etc/mail/spamassassin/local.cf by doing this:

# /sbin/e-smith/db spamassassin setprop wbl.global *@address.com White
# expand-template /etc/mail/spamassassin/local.cf

Resulting /etc/mail/spamassassin/local.cf:

dns_available yes
internal_networks 192.168.0.108
lock_method flock
report_safe 0
required_hits 5
rewrite_header Subject [SPAM]
skip_rbl_checks 0
clear_trusted_networks
trusted_networks 127.
use_bayes 0
score BAYES_00 -1.000
score BAYES_05 -0.750
score BAYES_20 -0.250
score BAYES_40 0.100
score BAYES_50 1.500
score BAYES_60 2.500
score BAYES_80 3.500
score BAYES_90 4.000
score BAYES_99 4.500
score DCC_CHECK 3.500
score RAZOR2_CF_RANGE_51_100 2.500
score RAZOR2_CHECK 2.500
score RCVD_IN_BL_SPAMCOP_NET 3.000
whitelist_from *@mg.co.za
whitelist_from *@lockergnome.com


But the mail is still being tagged as spam.

Can anyone help me understand how to activate these whitelist entries?

Thanks, Ken

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: v7pre1 spam whitelist problem
« Reply #1 on: January 28, 2006, 03:29:25 AM »
Quote from: "kenironside"

# /sbin/e-smith/db spamassassin setprop wbl.global *@address.com White
# expand-template /etc/mail/spamassassin/local.cf


The new config file won't be used until spamassassin is restarted. Try "signal-event email-update", which will do all that is needed to be done.

If you find any other problems, please report them via the Bug Tracker rather than discussing here.

kenironside

v7pre1 spam whitelist problem
« Reply #2 on: January 28, 2006, 07:34:30 AM »
Hi Charlie,

Thank you for helping out. That's what was missing.

In looking through the SME documentation, howto's, contribs and the devinfo group, I see you are one of the main designers and contributors, hugely knowlegable and helpful, probably forgot more about SME Server that I'll ever know. I certainly appreciate your attention and time.

You ask me to report bugs via the Bug Tracker, and I'd be happy to do that if I found a bug, but at the moment I'm still trying to understand the basic operation of the SME Server configuration & template system. The SME Developers Guide documents are helping a lot and I'm trying things out and when they work, I increase my understanding. When they don't, I clearly don't understand something and after a while of trying, I have to ask. In this case, I tried restarting spamd but encountered errors (after I posted to the forum).

Your reply fixed the problem, so it isn't a bug, it's a feature I didn't understand. Now I do and I'll apply that understanding to the rest of system.

If this is the wrong place to ask these questions, then please point me to the right place! I'm by no means a linux expert but I do know in open source projects that it is expected for newbies to do their homework before asking questions - that's all I'm trying to do.

I have a whole bunch of questions about SME Server, but instead of just dumping them on the forum, I'm trying to work them out using the documentation and the trial system. My objective is to understand it well enough to use and maintain it, make the changes I require and document them so that others may benefit.

Reference back to another question you helped with; I have got NUT UPS up and working and have written a howto for it. Would you be prepared to look it over and critique it?

Regards, Ken

Offline jahlewis

  • *
  • 151
  • +0/-0
    • http://www.arachnerd.com/
v7pre1 spam whitelist problem
« Reply #3 on: January 29, 2006, 04:10:24 PM »
I'll try the above commands, but my observations are:

1) It seems 7.0pre1 spamassassin set on high is catching much more spam and legitimate messages as spam than jesper's contribs.  Which is great on the spam front, and annoying on the legitimate mail front...

2) The server-manager panel where you can set white and black lists was VERY useful in jesper's contrib, and is sorely missed in 7.0, especially since I am finding much more need of it now than previously.
............