Re: [±¤°í] CD¹øÈ£ºÎ =?iso-8859-1?B?ID0/aXNv LTg4NTktMT9RP189M0Q9M0Y=?= i so-8859-1=3FB=3FMjAwMiDA?= /LG5xscgvsizuw==?=
On Sun, Feb 03, 2002 at 11:29:43PM -0500, Wayne Topa wrote:
| Wayne Topa(wtopa@dmcom.net) is reported to have said:
| > dman(dsh8290@rit.edu) is reported to have said:
| > > On Sun, Feb 03, 2002 at 11:48:52AM -0500, Wayne Topa wrote:
| > > | dman(dsh8290@rit.edu) is reported to have said:
| > >
| > > | > SpamAssassin does a pretty good job of tagging these so I can
| > > | > automagically dump them.
| > > |
| > > | Then I am doing something wrong. Spamassassin doesn't do anything
| > > | with them except put in "X-Spam-Status: No, hits=0 required=5
| > > | tests=".
| > > |
| > > | Must be a configuration problem but I sure can't find it. :-(
| > >
| > > Are you using 'spamc' or 'spamassassin' as the filter? If spamc, is
| > > spamd running? If you use "spamc -f" and there is a problem
| > > communicating with the daemon, then the message is returned as
| > > non-spam. spamd logs connections in syslog (also 'xconsole' shows the
| > > messages).
| > >
| > > Save the message to a file and run it through
| > > spamc -f | egrep "X-Spam|SPAM"
| >
| > spamc
| >
| > spamc -f < mail/spam-test | egrep "X-Spam|SPAM" produces
| > X-Spam-Status: No, hits=0 required=5 tests=
| >
| > /var/log/syslog shows
| > Feb 3 15:50:04 prince spamd[25251]: connection from localhost [127.0.0.1 ] at port 4344
| > Feb 3 15:50:05 prince spamd[5841]: processed successfully for mail:8 in 2 seconds
| >
| > Just got another one and it shows "X-Spam-Status: No, hits=0
| > required=5 tests=" again. It has to be something I haven't done
| > right in spamassassin.cf/.prefs. I have not added any tests to the
| > end of .prefs
|
| Dah!!!
|
| Just found the problem. I am running version 1.5-5. I followed the
| directions in /usr/share/doc/spamassassin/README.gz. Thought it
| didn't seem right but /etc/spamassassin.cf was just like
| /home/.spamassassin.cf. Then I, finally, took a look at
| /usr/share/spamassassin/spamassassin.cf. Gee, wonder why that file
| has all those tests in it and the one in /etc doesn't....
It's supposed to be that way. The one in /usr/share is the default
configuration that SA ships with. The one in /etc is your system's
site-specific customizations.
| Copied /usr/share/spamassassin/spamassassin.cf to /etc and 'now' it
| it works as advertised!
I was going to suggest running 'spamd -D' in a shell and watching the
output. spamd has some weird rules for finding the config files, and
if "../spamassassin.cf" exists, it uses that and doesn't look in
/usr/share. I had the same problem when I first ran spamd as root,
but later I found that the initscript had an appropriate $PWD and it
worked.
FYI version 2.01 is in sid now, and I've been using it for several
days. The setup instructions are the same, I just haven't updated the
web page at all.
-D
--
If we claim to be without sin, we deceive ourselves and the truth is not
in us.
I John 1:8
Reply to: