Re: [Exim] Exiscan-ACL + clamav: At my wits end

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Calum Mackay
Date:  
À: Adam Moffett
CC: exim-users
Sujet: Re: [Exim] Exiscan-ACL + clamav: At my wits end
This is a cryptographically signed message in MIME format.
--
Adam Moffett wrote:
> I can't seem to get virus scanning functional.


Dunno if you have this working yet...

is your /tmp a ram-based filesystem? if so, mebbe it doesn't support
unix domain sockets...?

My working config appended, for what it's worth...

cheers,
c.

diz $ ps -fC clamd
UID        PID  PPID  C STIME TTY          TIME CMD
root     21421     1  0 Sep14 ?        00:00:00 /usr/sbin/clamd
root     21422 21421  0 Sep14 ?        00:00:00 /usr/sbin/clamd
root     21423 21422  0 Sep14 ?        00:00:00 /usr/sbin/clamd


diz $ ls -ld /var/run/clamd.ctl
srwxrwxrwx    1 root     root            0 2003-09-14 19:42
/var/run/clamd.ctl


exim:

av_scanner = clamd:/var/run/clamd.ctl

    warn message = X-$primary_hostname-Virus: $malware_name
         demime  = *
         malware = *
         control = freeze



clamav.conf:

LocalSocket /var/run/clamd.ctl
ScanMail
ScanArchive
StreamSaveToDisk
ArchiveMaxRecursion 5
ArchiveMaxFiles 1000
ArchiveMaxFileSize 10M
ThreadTimeout 180
MaxThreads 5
MaxConnectionQueueLength 15
LogSyslog
PidFile /var/run/clamd.pid
DataDirectory /var/lib/clamav/
SelfCheck 3600
LogVerbose
LogTime
--
Content-Description: S/MIME Cryptographic Signature

[ smime.p7s of type application/x-pkcs7-signature deleted ]
--