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 [email protected] 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

Reply via email to