Thanks... BTW, when I ran this --lint, it returns 'unknow option: -'... 
the reason my user_prefs not working was that I only have the user_prefs.template 
file, not user_prefs.


-----Original Message-----
From: Matt Kettler [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 4:10 PM
To: Chen , Jun; [EMAIL PROTECTED]
Subject: Re: [SAtalk] user_prefs.template file not work?


Most likely the cause of your user_prefs not being parsed is a typo in the 
file. When SA runs normally, it has no place to complain about invalid 
input, so it just skips large chunks of the rules.You must turn on debug 
output for it to be able to complain about such things.

Try:
spamassassin --lint -D

You should get something like this:
$ spamassassin --lint -D
debug: ignore: using a test message to lint rules
debug: using "./rules" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/home/user/.spamassassin" for user state dir
debug: using "/home/user/.spamassassin/user_prefs" for user prefs file
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=0
debug: running raw-body-text per-line regexp tests; score so far=0
debug: running uri tests; score so far=0
debug: uri tests: Done uriRE
debug: running full-text regexp tests; score so far=0
debug: running meta tests; score so far=0
debug: is spam? score=0 required=5.9 tests=

If you get complaints about lines in your files, find the lines and fix em :)


At 02:50 PM 12/11/2002 -0500, [EMAIL PROTECTED] wrote:
>Hi, trying to play with SA, looks like the config file is not working:
>I am logged in as a regular user (not root), when run
>    spamassassin < myemail_file_with_full_header > out.msg
>or
>    spamc -p port_number_of_spamd < input.msg > out.msg
>
>The option specified in the user_prefs.template is not taking effect. ( 
>the copies in /user/local/share/ and ~myhome/.spamassassin are the same). 
>Anyone knows why?
>
>
>Thanks in advance...


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to