Paul England skrev, on 03-09-2007 00:40:
I'm currently administrating an email system which uses dspam for spam
filtering, unfortunately I did not initially configure this so I am
still getting my head around how everything works.
We now have a problem where dspam appears to scan one email and then
stop completely...
In /var/log/mail.err I get this thousands of times:
Sep 3 10:31:57 titania dspam[18810]: Connection to
socket /tmp/dspam.sock failed: Connection refused
Check that this socket exits and that the permissions both to it and its
parent directory are correct.
Sep 3 10:31:57 titania dspam[18810]: Client exited with error -5
I've looked at as many logs as possible looking for an explanation
however I can't find much...
I am running Debian 3.1 Kernel 2.6.14.3, dspam 3.6.8-4, postfix 2.3.3-1
I have turned on debug mode in /etc/dspam/dspam.conf using:
Debug *
DebugOpt process classify spam fp inoculation corpus
An example of the output is available on pastebin, here is a link:
http://pastebin.ca/679353
If I tail this debug log and restart dspam, I can see that it scans one
email and then mail.err starts giving the 'Connection Refused' error.
You give no details about your MTA or dspam configurations , other than
reporting the version numbers. Unfortunately my crystal ball didn't get
back from the repairers, so I can't help further.
This is where I'm up to... my next stop is to start trying to debug
dspampd...
Probably don't use dspampd, you certainly don't need it for Postfix and
dspam.
Any help would be greatly appreciated,
Read all of the docs and make sure you've tried everything in all of
them before asking for help; when you do ask for help, report everything
that you've tried and doesn't work, as well as why you think it should work.
Report exactly what you are attempting to achieve, how and why.
Do not rely on so-called HOWTOs on the Internet; there are many of them
that are directly wrong and/or misleading.
--Tonni
--
Tony Earnshaw
Email: tonni at hetnet dot nl