10

Using

BitDefender integration

BitDefender

 

Once you have a working MailScanner installed on your server, open its configuration file /opt/MailScanner/etc/MailScanner.conf (for a default location) and find the next line.

Virus Scanners = none

Change it to the following form.

Virus Scanners = bitdefender

If you need to further customize the command-line options passed to BitDefender, open the file /opt/MailScanner/lib/bitdefender-wrapper and change the corresponding line, located by the end of the file.

10.2.3. Amavisd-new

amavisd-new is a high-performance interface between mailer (MTA) and content checkers: virus scanners, and/or SpamAssassin.

—amavisd-new website

Amavisd-new supports by default BitDefender for email scanning. All you have to do is to make sure to install all the prerequisites (mainly additional perl modules), then install amavisd-new according to the instructions from documentation.

Before real usage, it would be better to check BitDefender was properly detected. Therefore, run the next command and watch for the line saying bdscan has been found.

#amavisd-new debug

Somewhere in the output, you will see the next line.

Found primary av scanner BitDefender at /usr/bin/bdscan

This is all you have to do. You can now test the mail server integration using EICAR emails.

70

Page 70
Image 70
Unisar 1.24.1867 manual Amavisd-new, Change it to the following form