MT6 AVG
Jump to navigation
Jump to search
Install AVG
Create a shared path for Haraka and AVG:
mkdir /tmp/avg /jails/avg/var/tmp/avg /jails/haraka/var/tmp/avg sed -i.bak -e 's/#mount += "\/tmp\/avg/mount += "\/tmp\/avg/' /etc/jail.conf
Make FreeBSD 10 like 2008
jailmanage avg make -C /usr/ports/misc/compat7x install clean fetch -o - ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.2-RELEASE/lib32.txz | tar -C / -xvpJf - fetch -o /usr/lib32/libiconv.so.3 http://mail-toaster.org/install/libiconv.so.3 grep fig32 /etc/rc.conf || tee -a /etc/rc.conf <<EOLD32 ldconfig32_paths="\$ldconfig32_paths /opt/avg/av/lib" EOLD32
Install AVG
fetch http://download.avgfree.com/filedir/inst/avg2013ffb-r3115-a6155.i386.tar.gz \ && tar -xzf avg2013ffb-r3115-a6155.i386.tar.gz \ && cd avg2013ffb-r3115-a6155.i386 \ && mkdir /usr/local/etc/rc.d \ && ./install.sh
Accept all the defaults and skip the setup.
Configure AVG
avgcfgctl -w Default.aspam.spamassassin.enabled="false" avgcfgctl -w Default.tcpd.avg.address="127.0.0.14" avgcfgctl -w Default.tcpd.smtp.enabled="false" avgcfgctl -w Default.tcpd.spam.enabled="false" avgcfgctl -w Default.setup.features.oad="false" service avgd.sh restart
Confirm
# ps ax | grep avg PID TT STAT TIME COMMAND 7279 0 IJ 0:04.05 /opt/avg/av/bin//avgd 7280 0 IJ 0:00.03 /opt/avg/av/bin/avgavid 7281 0 IJ 0:00.03 /opt/avg/av/bin/avgtcpd 7282 0 IJ 0:04.02 /opt/avg/av/bin/avgscand -c 3 7321 0 IJ 0:04.21 /opt/avg/av/bin/avgsched