clamav-users December 2008 archive
Main Archive Page > Month Archives  > clamav-users archives
clamav-users: [Clamav-users] Can't connect to clad

[Clamav-users] Can't connect to clad

From: Robert S <robert.spam.me.senseless_at_nospam>
Date: Sun Dec 21 2008 - 22:38:10 GMT
To: clamav-users@lists.clamav.net


I have the following procmail rule (from the clamav website IIRC). Its in /etc/procmailrc, so it applies to all user accounts. Unfortunately this is an intermittent fault. I've just restarted the clam daemon and the problem has resolved. Presumably its a permission problem but its difficult to track down the cause.

  :0
  VIRUS=| clamdscan --no-summary --stdout - | cut -d' ' -f2 -

  :0

  • VIRUS ?? !^OK { :0 SUBJECT=| egrep '^Subject:' - | sed -e 's/Subject: //' -

    :0
    /var/clam/procmail
    }

I am getting the following in my procmail log.

connect(): Connection refused
WARNING: Can't connect to clamd.
connect(): Connection refused
>From service@XXXX.com.au Sun Dec 14 09:48:35 2008
 Subject: You have authorised a payment to XXXX Folder: /var/clam/procmail/msg.oMf 17853 _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml