Can't get clamd working???
Rick Cooper
rcooper at dwford.com
Wed Jun 6 05:31:47 IST 2007
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
> Of Rick Cooper
> Sent: Wednesday, June 06, 2007 12:10 AM
> To: 'MailScanner discussion'
> Subject: RE: Can't get clamd working???
>
>
>
[...]
>
> Julian, How about adding
>
> push @installed, $scannername if $scannername eq 'clamd';
> next if $scannername eq 'clamd';
>
> Right after next if $scannername =~ /generic|none/i; in
> InstalledScanners?
> Or would you prefer an actual daemon check?
> The above fixes the --lint issue at least.
>
I can add one line of code to ClamdScan, just below the PING/PONG section:
return "OK" if $dirname eq '--lint';
Then instead of the above in InstalledScanners add:
if ($scannername eq 'clamd') {
push @installed, $scannername if ClamdScan ('--lint') eq
"OK";
}
Then it will list it installed only if it running and operational (I just
tested this)
Up to you Julian?
Rick
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner
mailing list