Hi, "usermod -a -G exim clamav" did the job...
I'm now up and running :-) Thanks to both Marco and Jeremy :-) From: [email protected] [mailto:[email protected]] On Behalf Of marco rosenstein Sent: 13 June 2013 23:05 To: Baruwa users list Subject: Re: [Baruwa] Permissions problems Used postfix on mine, with ubuntu, but try usermod -a -G www-data clamav assuming www-data is correct group for your set up ________________________________ From: [email protected]<mailto:[email protected]> To: [email protected]<mailto:[email protected]> Date: Thu, 13 Jun 2013 14:29:55 +0000 Subject: [Baruwa] Permissions problems Hi everyone, I have been struggling with Baruwa now for more than two weeks. So bit the bullet and started from (virtual) bare metal again. I have: (i) Installed a clean CentOS 6.4 minimal server (ii) Used Jeremy's installer script to get Baruwa and all dependencies installed. (iii) Opened the necessary firewall ports (ssh(22),smtp(25),http(80),smtps(465),submission?(587)) (iv) Set a scanning node, an Account (Domain Admin), a Domain (and delivery server) and an Organisation through the Baruwa interface When I send a mail into the baruwa box I get the following in entries in the logs (see below)... I believe that the problem is the " ClamAV returned : /var/spool/exim.in/scan/1Un7qZ-0004Py-Cn/1Un7qZ-0004Py-Cn.eml : lstat() failed: Permission denied: ERROR ". What permissions does the clam user need? Current permissions are... [root@testmarge ~]# ls -l /var/spool/exim.in total 16 drwxr-x--- 2 exim exim 4096 Jun 13 14:45 db drwxr-x--- 2 exim exim 4096 Jun 13 14:46 input drwxr-x--- 2 exim exim 4096 Jun 13 10:13 msglog drwxr-x--- 2 exim exim 4096 Jun 13 14:46 scan and clam is a member of the exim group... [root@testmarge ~]# groups clam clam : clam exim - - - - - - - - - 8< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - In /var/log/messages lstat() failed on: /var/spool/exim.in/scan/1Un7qZ-0004Py-Cn/1Un7qZ-0004Py-Cn.eml In /var/log/clamav/clamd.log lstat() failed on: /var/spool/exim.in/scan/1Un7qZ-0004Py-Cn/1Un7qZ-0004Py-Cn.eml In /var/log/exim/main.log no hostname found for 192.168.0.109 1Un7qZ-0004Py-Cn malware acl condition : clamd : ClamAV returned : /var/spool/exim.in/scan/1Un7qZ-0004Py-Cn/1Un7qZ-0004Py-Cn.eml : lstat() failed: Permission denied: ERROR 1Un7qZ-0004Py-Cn H=(rpf-ext) [192.168.0.109] [email protected]<mailto:[email protected]> temporarily rejected after DATA In /var/log/exim/panic.log 1Un7qZ-0004Py-Cn malware acl condition : clamd : ClamAV returned : /var/spool/exim.in/scan/1Un7qZ-0004Py-Cn/1Un7qZ-0004Py-Cn.eml : lstat() failed: Permission denied: ERROR In /var/log/exim/reject.log 1Un7qZ-0004Py-Cn H=(rpf-ext) [192.168.0.109] [email protected]<mailto:[email protected]> temporarily rejected after DATA Envelope from: [email protected]<mailto:[email protected]> Envelope to: [email protected]<mailto:[email protected]> P Received: from [192.168.0.109] (helo rpf-ext) by myserver.mydomain.co.uk with smtp (Baruwa 2.0) (envelope from [email protected]<mailto:[email protected]>) id 1Un7qZ-0004Py-Cn ret-id none; for [email protected]<mailto:[email protected]>: Thu 13 Jun 2013 14:46:01 +0100 Subject: Test Kind Regards, Ritchie Fraser _______________________________________________ http://pledgie.com/campaigns/12056
_______________________________________________ http://pledgie.com/campaigns/12056

