SCHMIDMA online |
|
Wegweiser
|
Die nachfolgenden Änderungen wurden an AMaViS 0.2.0-pre4 gemacht. Unter der Bedingung, dass F-Prot wie in der Installationsanleitung angegeben unter /usr/local/bin installiert ist, müssen nur unter /usr/bin/scanmails folgende Ergänzungen vorgenommen werden: Im Bereich: # paths to required program files # # these are basicly set at install time # #...ergaenzen um: fpscan=/usr/local/bin/f-prot #.... und dann am besten nach dem letzten Virenscanner, der konfiguriert ist folgende Zeilen einfügen: # F-Prot Ergaenzung if [ "x${fpscan}" != "x" ] then if [ "x${fpscan}" != "x" ] && [ -x ${fpscan} ] then ${fpscan} -packed -archive ${tmpdir}/unpacked >> ${tmpdir}/logfile 2>&1 scanstatus5=$? else scanstatus5=0 fi else scanstatus5=0 fi Dann ist noch der folgende Bereich zu ergänzen: echo H+BEDV AntiVir scanstatus0 is: ${scanstatus0} >> ${tmpdir}/logfile echo Mcafee scanstatus1 is: ${scanstatus1} >> ${tmpdir}/logfile echo "Dr. Solomon (old) scanstatus2 is: ${scanstatus2}" >> ${tmpdir}/logfile echo "Dr. Solomon (new) scanstatus3 is: ${scanstatus3}" >> ${tmpdir}/logfile echo "Sophos Sweep scanstatus4 is: ${scanstatus4}" >> ${tmpdir}/logfile # Hier F-Prot anfuegen !!! echo "F-Prot scanstatus5 is: ${scanstatus5}" >> ${tmpdir}/logfile echo "" >> ${tmpdir}/logfile # Letzter Eintrag ist F-Prot !!! if ${test} \ ${scanstatus0} -eq 1 \ -o ${scanstatus1} -eq 1 \ -o ${scanstatus1} -eq 3 \ -o ${scanstatus2} -ne 0 \ -o ${scanstatus3} -ne 0 \ -o ${scanstatus4} -ne 0 \ -o ${scanstatus5} -ne 0 then und schon funktioniert auch F-Prot mit Amavis. |
02.01.2011 |