Török Edwin wrote: > tblader wrote: >> Török Edwin wrote: >> >>> Check permissions on /tmp/clamd.socket >>> >> seems to be OK >> $ ls -lart /tmp/clamd.socket >> srwxrwxrwx 1 clamav clamav 0 Dec 28 09:15 /tmp/clamd.socket >> >> >> >>> Just set TCPSocket, and not TCPAddr. Does it work? >>> >> OK - updated config is below*. Now listening on ANY interface >> and TCP:3310. Still does not appear to work. I can run >> clamdcscan as regular user and get results as needed. Seems >> that procmail is having a problem. >> > > procmail running on same machine as clamd? > Try sending a mail containing EICAR to procmail.
Oddly, it seems calling procmail directly, as the user, and works fine. $ echo EICAR | procmail -f [EMAIL PROTECTED] ... procmail: Locking "spamassassin.lock" procmail: Executing "/usr/bin/spamc" procmail: Assigning "SPAMC=" procmail: Unlocking "spamassassin.lock" procmail: No match on "^X-Spam-Status: Yes" procmail: Executing "/usr/bin/clamdscan --no-summary --stdout --log=/tmp/clamd.log - | cut -d' ' -f2 -" procmail: Assigning "CLAMDOUT=" procmail: No match on ! "^OK" procmail: Match on "^OK" ... $ cat /tmp/clamd.log ... -------------------------------------- stream: OK Sending the message via MUA results in problem connecting to clamd $ echo EICAR | mail -s test40 [EMAIL PROTECTED] $ cat /tmp/clamd.log ... -------------------------------------- stream: OK -------------------------------------- WARNING: Can't connect to clamd. -- Flambeau Inc. Technology Center - Baraboo, WI Email : [EMAIL PROTECTED] Keyserver: http://pgp.mit.edu KeyID: 0x00E9EC2C _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
