clamav and mailscanner

Sarah Trayser waytotheweb at googlemail.com
Wed Feb 28 18:27:28 CET 2007


On 28/02/07, Zivago Lee <z at ziff.net> wrote:
> Hello,
>
> I've been noticing an issue with clamav and mailscanner.  I can run
> clamscan just fine separately, however, in mailscanner, I get this error
> in debug mode:
>
> Feb 26 13:18:38 www MailScanner[2871]: Commencing scanning by clamav...
> Feb 26 13:18:38 www MailScanner[2871]: ERROR: Unable to open file or
> directory
> Feb 26 13:18:38 www MailScanner[2871]: Completed scanning by clamav
>
> Any ideas on what directories I need it to give permissions on?


Check /usr/local/share/clamav/daily.inc. We've found several servers
having problems after upgrading clamav to 0.90 and using clamavmodule.
Seems like the new daily.inc directory has been created with the wrong
permissions - it was 700 but I think needs to be 755 so that the
mailscanner user can read it.

-- 
Regards,
Sarah Trayser

Way to the Web Ltd
Server Management Services:
http://www.configserver.com
Web Hosting:
http://www.waytotheweb.com


More information about the MailScanner mailing list