FreeBSD Port: amavisd-new-2.8.0_2, 1 Re: Typo is amavisd.conf prevents startup if using ClamAV
Herbert J. Skuhra
hskuhra at eumx.net
Sat Jan 12 20:07:59 UTC 2013
On Sat, 12 Jan 2013 10:17:11 -0800
Tay <t at 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
More information about the freebsd-ports
mailing list