On 7/27/2012 12:53 PM, Amber Clark wrote:
In general, the install of SpamAssassin is working. I am having a
couple of small problems. Let me go back to those:
/The Problems:/
*Problem A* – Scoring information does not show up in HAM e-mails.
*Problem B* – Custom rules don’t see to be applied.
*Problem C *– SpamAssassin.exe and spamd.exe appear to score spam
differently. /Is a problem with my e-mail sample collection code.
Thank you for pointing that. That process is getting revamped./
/The Platform:/
Here is specific information about the installation.
Windows Server 2003
SpamAssassin 3.3.2
Perl 5.8.9
spamd.exe is running as a service
spamd.exe is being called by ArGoSoft MailServer.Net /(Vital piece of
usage information I left off originally. Sorry about that.)/
/Specifics about The Problems:/
*Problem A*
In the etc\spamassassin\local.cf I’ve made the following line:
add_header *all* Status _YESNO_, score=_SCORE_ required=_REQD_
tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_
Is this the configuration file I should be editing for this setting to
be applied? Is there some way it could be overridden?
*Problem B*
In the etc\spamassassin\local.cf I’ve made the following lines:
body LOCAL_FREESCORE360 /FreeScore360/
score LOCAL_FREESCORE360 5.0
describe LOCAL_FREESCORE360 Push e-mails that contain FreeScore360 to
the top
I believe I’ve created that custom rule correctly, but I’m not sure.
Is there a better place for this custom rule to live in?
Check that you are putting your files in the right place. Run this
command (or its Windows equivalent) to see where the rules live:
spamassassin --lint -D config
and then look for a line like this:
Jul 27 12:59:27.323 [21808] dbg: config: using "/etc/mail/spamassassin"
for site rules dir
Now make sure you are working with the cf files in that directory.
You can also run "spamassassin --lint" to check for config problems.
There should be no output unless there is a problem.
--
Bowie