Hi,
        I have a mail server setup using postfix, procmail, and
clamav.  Mail is delivered to the postfix server and procmail handles
the local delivery. I have procmail configured to run clamdscan on 
all mail larger than 15000 bytes.  However, I'm having problems that
seem like permission problems that prevent clamdscan from working.  On
every message, my procmail log shows:

connect(): Permission denied
ERROR: Can't connect to clamd.

Now, I've checked all of my permissions (I think), and I'm not sure
what else to be checking.  Here are all of my permissions:

[EMAIL PROTECTED]:/usr/var/clamd# ls -la /usr/local/sbin/clamd 
-rwxr-xr-x   1 root     other     133720 Nov 17 13:36 /usr/local/sbin/clamd
[EMAIL PROTECTED]:/usr/var/clamd# ls -la /usr/local/bin/clamdscan 
-rwxr-xr-x   1 root     other      75216 Nov 17 13:36 /usr/local/bin/clamdscan
[EMAIL PROTECTED]:/usr/var/clamd# ls -la /var/run/clamd/clamd.pid 
-rw-rw----   1 clamav   clamav         4 Jan 17 09:18 /var/run/clamd/clamd.pid
[EMAIL PROTECTED]:/usr/var/clamd# less /usr/local/etc/clamd.conf 
[EMAIL PROTECTED]:/usr/var/clamd# ls -la /var/clamd/clamd 
srwxrwxrwx   1 clamav   clamav         0 Jan 17 09:18 /var/clamd/clamd
[EMAIL PROTECTED]:/usr/var/clamd# ls -la /usr/sbin/postfix 
-rwxr-xr-x   1 root     other     238204 Nov 30 15:50 /usr/sbin/postfix
[EMAIL PROTECTED]:/usr/var/clamd# less /etc/group
[EMAIL PROTECTED]:/usr/var/clamd# chgrp other /usr/local/bin/procmail 
[EMAIL PROTECTED]:/usr/var/clamd# ls -la /usr/local/bin/procmail 
-rwsr-sr-x   1 root     other      82968 Mar 26  2003 /usr/local/bin/procmail

Can anybody tell me what I am missing?

Thanks!
Bryan Walton

PS - Versions numbers:
Postfix 2.2.6
Procmail 3.22
ClamAV 0.87.1
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to