Installation F-Prot Free Antivirus to scan attachements
Posted: 30 Nov 2015 12:08
1. Download the laste version of F-Prot on this page : http://www.f-prot.com/download/home_use ... linux.html
2. Untar package :
3. Install F-Prot :
4. When the installation is terminated, you can test F-Prot Scanner :
Yo can see product version and date of database signature :
5. Now, edit the file /etc/MailScanner/MailScanner.conf and at the line Virus Scannersn add f-prot-6 (we use version 6) :
6. To apply modification, restart Mail Scanner Service :
----------------------------------------------------------------------------------------------------------
Now, Mail Scanner use ClamAV and F-Prot to scan attachements
----------------------------------------------------------------------------------------------------------.
To verify, you can create a virus test sample file and send this by mail :
1. Disable antivirus on your computer.
2. Open text editor and past :
Source : http://www.eicar.org/86-0-Intended-use.html
and save the file "eicar", without extension for example...
3. Send the attachement (from exterior mail server, you can use https://emkei.cz/ for example) to a mailbox of your network.
4. You can see on the console or in warning attachement file text, mail scanner use ClamAV & F-Prot :
Enjoy 
Code: Select all
wget http://files.f-prot.com/files/unix-trial/fp-Linux.x86.32-ws.tar.gz
Code: Select all
tar xvzf fp-Linux.x86.32-ws.tar.gz
Code: Select all
cd /f-prot/
./install-f-prot.pl
Code: Select all
cd /opt/f-prot/
./fpscan /etc/passwd
Code: Select all
cd /opt/f-prot/
./fpscan --version
F-PROT Antivirus CLS version 6.7.10.6267, 32bit (built: 2012-03-27T12-34-14)
FRISK Software International (C) Copyright 1989-2011
Engine version: 4.6.5.141
Arguments: --version
Virus signatures: 201511300810
(/opt/f-prot/antivir.def)
5. Now, edit the file /etc/MailScanner/MailScanner.conf and at the line Virus Scannersn add f-prot-6 (we use version 6) :
Code: Select all
Virus Scanners = clamd f-prot-6
Code: Select all
service MailScanner restart
Now, Mail Scanner use ClamAV and F-Prot to scan attachements

----------------------------------------------------------------------------------------------------------.
To verify, you can create a virus test sample file and send this by mail :
1. Disable antivirus on your computer.
2. Open text editor and past :
Code: Select all
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
and save the file "eicar", without extension for example...
3. Send the attachement (from exterior mail server, you can use https://emkei.cz/ for example) to a mailbox of your network.
4. You can see on the console or in warning attachement file text, mail scanner use ClamAV & F-Prot :
Code: Select all
Clamd: message was infected: Eicar-Test-Signature
F-Prot6: [Found virus] <EICAR_Test_File (exact)> eicar
