From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020809
Description of problem:
doing "cat sample-spam.txt | spamc" is not recognized as spam
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start spamd (/etc/init.d/spamassassin start)
2. Go to /usr/share/doc/spamassassin-2.31
3. "cat sample-spam.txt | spamc || echo $? " Should return 1 (recognized as
spam) instead it returns 74
3. "cat sample-nonspam.txt | spamc || echo $? " Should return 0 (not spam)
instead it returns 74
please attach the spam you're seeing trouble with. also please comfirm it works
with the non-daemon spamassassin. an strace of the spamd daemon during this
would also be helpful.
This might actually be a problem with the spamassassin version included with Red
I was investigatnig the same problem at my house last night and found that it
was in the auto-whitelist functionality (-a passed to spamd) that the problem
should be found... And the problem at my place is only there when spamc is run
For some reason the new_checker function in DBBasedAddrList.pm is seeing $path
for the root user as //.spamassassin/ instead of /root/.spamassassin...
"spamd -a -c"
as root on one terminal (leave out the -d specified in the init.d script). Then
on another tty run, also as root;
and you will see:
"Cannot create tmp lockfile //.spamassassin/auto-whitelist.lock : No such file
or directory" This error is displayed from line 55 in DBBasedAddrList.pm.
What i did to circumvent the error was to upgrade to latest RawHide 2.43-10
version, which does not seem to have this problem.
I'm quite sure this issue was fixed a long time ago, and also RH8 has
hit End Of Life support. You may want to upgrade to newer
distributions anyway if you are still using RH8. File a new bug
against the newer distributions if you are still having problems.