Nov 1 00:00:02 smtp1 amavis[9001]: (09001-05) (!!)run_av (FRISK F-Prot Antivirus) FAILED - unexpected exit 1, output="The SIGN.DEF file is too old to be of use. It will probably only\ndetect a fraction of the viruses that exist today.\n\nPlease obtain and install an up-to-date version."
# service postfix stop
# service amavisd stop
# rpm -qa | grep fp-linux-ws
fp-linux-ws-4.6.7-1
# rpm -ql fp-linux-ws-4.6.7-1 > /tmp/fp-linux-ws.txt
# cp -p /etc/f-prot.conf /tmp/.
# rpm -e fp-linux-ws
# rm -rf /usr/local/f-prot
# cd /root/setup/mail
# wget http://files.f-prot.com/files/unix-trial/fp-Linux-i686-ws.tar.gz
# tar zxf fp-Linux-i686-ws.tar.gz -C /usr/local/
# cd /usr/local/f-prot/
# ./install-f-prot.pl
# which fpscan
/usr/local/bin/fpscan
# fpscan --version
[root@smtp1 log]# fpscan --version
F-PROT Antivirus version 6.2.1.4252 (built: 2008-04-28T16-44-10)
FRISK Software International (C) Copyright 1989-2007
Engine version: 4.4.4.56
Virus signatures: 200911111347c8028944b849b1f6f29416c097a9ff92
(/usr/local/f-prot/antivir.def)
# vi /etc/amavisd.conf
@av_scanners_backup = (
中間略..
['FRISK F-Prot Antivirus', 'fpscan',
'--scanlevel=2 --archive=5 --verbose=1 {}', [0],
qr/Found virus/,
qr/\[Found virus\] \<(.+)\>/ ],
下面略...
);
# /usr/local/f-prot/fpupdate
# service amavisd start
# service postfix start
# postfix flush