Multiple confusions on my part.
MailScanner at ecs.soton.ac.uk
Fri Sep 26 15:37:06 IST 2008
Steve Campbell wrote:
> I've started seeing multiple timeouts with Spamassassin, and posted
> earlier about this. I got some good advice, and tried running some of
> the recommendations.
> Some of the problems I'm seeing :
> When I run MailScanner --debug --debug-sa
> I get some of the following errors that I can't figure out
> 08:59:37  dbg: async: starting: DNSBL-TXT,
> p.net. (timeout 15.0s, min 3.0s)
> 08:59:37  dbg: async: starting: DNSBL-A,
> l.ahbl.org. (timeout 15.0s, min 3.0s)
> I can't seem to find where to turn these off or zero the score.
In /etc/MailScanner/spamassassin.prefs.conf, add these lines
score RCVD_IN_BL_SPAMCOP_NET 0.0
score DNS_FROM_AHBL_RHSBL 0.0
> I also see in the output the following:
> 08:59:39 /usr/local/bin/clamscan: unrecognized option
> 08:59:39 ERROR: Unknown option passed.
> 08:59:39 ERROR: Can't parse the command line
> I have commented out the relevant lines in
> /usr/lib/MailScanner/clamav-wrapper but still get the errors as though
> they are still there.
You need the latest beta to work with ClamAV 0.94. You would be far
better off upgrading to using clamd instead, it is a *whole* lot faster.
But be sure to configure clamd to talk to freshclam properly, or else
clamd will never know it needs to re-read its virus signatures. That's
all in clamd.conf.
> Also, when I run "/etc/rc.d/init.d/MailScanner reload", I get the
> following warning/error
> Reloading MailScanner workers:
> MailScanner: kill -2544: No such process
> [ OK ]
> When I run "/etc/rc.d/init.d/MailScanner status", I get the following
> Checking MailScanner daemons:
> MailScanner: [ OK ]
> incoming sendmail: head: /var/run/sendmail.in.pid: No such
> file or directory
That should have been created by "service MailScanner start" (or
"/etc/rc.d/init.d/MailScanner start"). You're quite right, it isn't.
sendmail should have created it. I'll tweak the init.d script so that it
doesn't care. This is a pretty harmless error, even so. Just ignore it
> outgoing sendmail: [ OK ]
> There is indeed no such file, but there is a sm-client.pid.
> Plenty of problems, and I'm sure these old eyes just aren't seeing the
> Any help would be greatfully appreciated.
> Steve Campbell
Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Need help fixing or optimising your systems?
Need help getting you started solving new requirements from your boss?
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner