Amavis or ClamAV?

Tom Hendrikx tom at whyscream.net
Fri Nov 7 20:35:58 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUXR8bAAoJEJPfMZ19VO/1/akQAKSTnQXqKUpfHgSZxA4R0Afj
XwWLYxEnMbz3CIg6fjeSY1abSC8wa9T9wbUpgqGg1wouaKK5/xcBTPOenAZFmoMH
IDuVPV2n+A+Jy+lNb2fEtWIyBzK+wrjPtxXp5d3Noy1zmR/81t6sBNmqSKUQlpDB
Jl6pIHgCHrhzRfhs6Z4a0bfWZ7oEEeOTEiVCVR6c0XqrAKrUH90Z3VjHh+7A/QCs
qM35Jx5vOdBCzREPMCJNjTaKYfNWX+V9oTC9Ao93SgYOz5/hmofRD/brio2kkOv1
dBVZQO1cN2Dzyc1hp7AYpK5KVR/deDWSsfo4/65oICohMeEjXMhzmci3nY6u6NhK
3LMVP5zPflodLOAobJJCPo408Eujv6G/+++crnYwSvTm8JusPikqro9mHsOycqaJ
5vGNR/oNhqe7NDzTGtoZF9irs5EqZf8e/z/meTXsEUS1SmOnSjLdVzdOagk1OveV
ny5ey8A1nQPnLbM6UKluZqsjciKfo9HiCalBZCiep/+LxUDfd1FNS/1GS3abvhEj
J0PcpVK38WO/gIlS/CkkyKtHj+4IDlyIz6xi3TToNF6gxjDxDIr0RTvOKjqFoC/g
au8tI8aemOUXpLKdgwvPlDCRJigcCZNdzL23quKBIuhJb5uob4Jcw9I1Uk3g64Rj
j4b0qU/BtBn2ANn1gaeQ
=Vz3o
-----END PGP SIGNATURE-----


More information about the amavis-users mailing list