I'm setting up a mailserver using Exim4 and ClamAV on SuSE10. I've installed the ClamAV and Exim packages from the DVD, but it seems there is a slightly permissions issue - these packages obviously don't work together straight out of the box :-) I've tweaked /etc/clamd.conf so that clamd is now listening on the LocalSocket /var/lib/clamav/clamd-socket and I've tweaked /etc/exim/exim.conf so that it's trying to talk to clamd (and I've tweaked an Exim acl to ask it scan messages), and that's fine except that clamd doesn't have the right permissions to read the messages in /var/spool/exim/scan. I get errors like this my exim log: malware acl condition: clamd: ClamAV returned /var/spool/exim/scan/1EipSV-0000Jr-6C: Access denied. ERROR I'm a bit wary of randomly tweaking the permissions on /var/spool/exim/scan to make this work - what's the best way to do this? Can I add the clamd user to the mail group? Looking in /etc/passwd there seems to a user called vscan but it looks like it's for Amavis not ClamAV - or am I missing something here? Thanks in advance for any help... James
participants (1)
-
Sbs Bofh