At 04:39 PM 12/9/2003, Rachel E. Hewitt wrote:
1. if using the spamassassin --lint at the command prompt and it just
goes back to the dos prompt after a moment does that mean that SA is
running without any errors?


Yes, spamassassin --lint should have no output unless there are errors.

If you want to watch the paths it's parsing files in, add -D to turn on debug mode.



2. Where/how do I add a subject line test to get it to work. For
example if I wanted to block all emails with xanax in the subject line I
am guessing the rule would be

header SUBJ_XANAX      Subject =~ /xanax/i
describe SUBJ_XANAX    Subject contains xanax
score SUBJ_XANAX         5

That should work fine.


 I have tried adding it to the
local.cf the header rule cf. and when testing with spamassassin -D -t
<email  it is showing other tests that added a score but not the xanax
on and the subject of the email i am testing is "Get your Xanax
online!"

I would take a look at the debug output that -D gave you.. is it really reading the same site rules dir as where your local.cf file is?


You're looking for a line like this one (from a unix box, but you should get something similar but dos-ish)

debug: using "/etc/mail/spamassassin" for site rules dir

That will tell you what directory it expects local.cf to be in.



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to