Amavis or ClamAV? [solved]

Edgar Pettijohn edgar at pettijohn.no-ip.biz
Fri Nov 7 22:05:53 CET 2014


On 11/07/2014 02:09 PM, Edgar Pettijohn wrote:
>
> On 11/07/2014 01:35 PM, Tom Hendrikx wrote:
>> On 07-11-14 20:27, Edgar Pettijohn wrote:
>>> It looks like I finally got my config working correctly, however I
>>> now see the following errors.
>>> Nov  7 12:05:02 pettijohn amavis[35902]: (35902-04) Checking:
>>> S8ZW_jrjqFJ3 [141.42.206.35]
>>> <amavis-users-bounces+edgar=pettijohn.no-ip.biz at amavis.org> ->
>>> <edgar at pettijohn.no-ip.biz> Nov  7 12:05:02 pettijohn
>>> amavis[35902]: (35902-04) (!)run_av (ClamAV-clamd) FAILED -
>>> unexpected ,
>>> output="/var/amavis/tmp/amavis-20141106T235936-35902-iURo66oy/parts:
>>
>> lstat() failed: Permission denied. ERROR\n"
>>> av
>>
>> First bet: amavis writes files to a temp location, so clamav can scan
>> them. But them clamav can insufficient provileges to access the files
>> created by amavis.
>>
>> Probably easy solution if you use clamav only for amavis: change
>> user/group for clamav to amavis.
>>
>> Regards,
>>     Tom
> Thats what I thought originally also, but I already added clamav to
> amavis group.  I went ahead and chmod 777 -R /var/amavis/tmp, but that
> didn't help either.
It was a permissions issue.  Sorry for the noise.


More information about the amavis-users mailing list