Multiple confusions on my part.

Julian Field MailScanner at ecs.soton.ac.uk
Fri Sep 26 15:52:27 IST 2008


Try the attached replacement for
/etc/rc.d/init.d/MailScanner.
You will obviously need to unzip it first! :-)

Jules.

Julian Field wrote:
>
>
> 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 [31687] dbg: async: starting: DNSBL-TXT, 
>> dns:TXT:241.235.4.69.bl.spamco
>> p.net. (timeout 15.0s, min 3.0s)
>> 08:59:37 [31687] dbg: async: starting: DNSBL-A, 
>> dns:A:embarrassedrabbit.com.rhsb
>> 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 
>> `--unrar=/usr/bin/unrar'
>> 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 
>> warning/error
>>
>> 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 for now.
>
>>                                                           [FAILED]
>>         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 fix.
>>
>> Any help would be greatfully appreciated.
>>
>> Steve Campbell
>>
>
> Jules
>

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: etc.rc.d.init.d.MailScanner.zip
Type: application/x-zip-compressed
Size: 3000 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080926/418bf7d3/etc.rc.d.init.d.MailScanner.bin


More information about the MailScanner mailing list