Upgraded amavisd-new from 2003 20030616_p9 to 20040701 and replaced my amavisd.conf with the one provided by 20040701. I then set a couple of options per my server. Attempting to re-start the daemon gives the error: /etc/init.d/amavisd start * Starting amavisd-new... Array found where operator expected at /etc/amavisd.conf line 1506, at end of line (Missing semicolon on previous line?) Error in config file /etc/amavisd.conf: syntax error at /etc/amavisd.conf line 1506, near "@av_scanners " I copied /usr/portage/mail-filter/amavisd-new/files/amavisd.conf to /etc and tried to re-start again but got the same error. I re-set my options and then I added a ';' above line 1506. That fixed the problem and the daemon started up and works fine. I couldn't find the actual line that was missing the ';' though. I looked around the file but it wasn't anywhere obvious. Reproducible: Always Steps to Reproduce: 1. emerge amavisd-new 2. etc-update (replace /etc/amavisd.conf) 3. /etc/init.d/amavisd-new restart Actual Results: * Starting amavisd-new... Array found where operator expected at /etc/amavisd.conf line 1506, at end of line (Missing semicolon on previous line?) Error in config file /etc/amavisd.conf: syntax error at /etc/amavisd.conf line 1506, near "@av_scanners " Expected Results: * Starting amavisd-new... [ ok ] Portage 2.0.50-r9 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 x86_64 15 Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 apache2 berkdb crypt cups encode foomaticdb gdbm ldap libg++ mysql ncurses nls nptl pam png procmail python readline samba sasl slang ssl tcpd xml2 zlib"
remove the leading "w" line 1454.
Yeah that was it. Thanks.
this bug should be assigned to net-mail. Grab it.
Fixed in portage.