Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2013 21:07:55 +0100
From:      "Herbert J. Skuhra" <hskuhra@eumx.net>
To:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: amavisd-new-2.8.0_2, 1 Re: Typo is amavisd.conf prevents  startup if using ClamAV
Message-ID:  <87d2xatbac.wl%hskuhra@eumx.net>
In-Reply-To: <50F1A8A7.9010001@taypop.com>
References:  <50F1A8A7.9010001@taypop.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 12 Jan 2013 10:17:11 -0800
Tay <t@taypop.com> wrote:

> Hello, not sure if anybody has mentioned this yet but in
> /usr/local/etc/amavisd.conf in the ClamAV section
> "/var/run/clamav/clamd.sock.sock" should be
> "/var/run/clamav/clamd.sock" otherwise Amavis will not be able to
> start.
> 
> # ### http://www.clamav.net/
>  ['ClamAV-clamd',
>    \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock.sock"],
>    qr/\bOK$/m, qr/\bFOUND$/m,
>    qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ],

The amavisd.conf that ships with amavisd-new 2.8.0 does not contain
the wrong line.

% curl -O http://www.ijs.si/software/amavisd/amavisd-new-2.8.0.tar.gz
% tar xfvz amavisd-new-2.8.0.tar.gz
% cd amavisd-new-2.8.0
% grep clamd.sock amavisd.conf        
#   \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"],
#   \&ask_daemon, ["*", 'clamd:/var/run/clamav/clamd.sock'],

Maybe this comes from a previous version or a local problem.

-- 
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87d2xatbac.wl%hskuhra>