He's using 2.0. I will check script when I get back to the house this evening.

--
Jeremy McSpadden
Flux Labs, Inc | http://www.fluxlabs.net<http://www.fluxlabs.net/> | Endless 
Solutions
Office : 850-250-5590x101<tel:850-250-5590;101> | Cell : 
850-890-2543<tel:850-890-2543> | Fax : 850-254-2955<tel:850-254-2955>

On Jun 13, 2013, at 5:06 PM, "marco rosenstein" 
<[email protected]<mailto:[email protected]>> wrote:

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<http://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
_______________________________________________
http://pledgie.com/campaigns/12056

Reply via email to