## Installing Bitdefender Security for Mail Servers

This section provides steps on how to install Bitdefender Security for Mail Servers.

### Overview

Bitdefender Security for Mail Servers can be installed on package-based Linux distributions (rpm or deb). Other Linux distributions are supported by using the ipkg package system, with the same functionality. The packages include all the necessary pre-install, post-install, pre-remove and post-remove scripts. The adequate package type should be installed according to the target operating system.

### How To

#### System requirements

Processor: Intel Pentium or AMD64 compatible processor, minimum 1GHz.

RAM memory: Minimum: 512 MB. For improved performance, it is recommended to have at least 1 GB.

Free disk space: Minimum: 500 MB. It is recommended to have at least 1 GB, as the log and quarantine directories increase in time.

Bitdefender Security for Mail Servers installs on Linux systems with kernel version at least 2.6.32. Bitdefender also requires glibc version 2.11.3 or newer and OpenSSL 1.0.0 or newer.

###### Supported Linux distributions
• Red Hat Enterprise Linux 6 or newer

• SuSE Linux Enterprise Server 11 SP4 or newer

• Debian GNU/Linux 8 (Jessie), or newer

• Ubuntu Server 14.04 LTS or newer

###### Supported Mail Servers
• Sendmail version 8.12.1 or newer, with Milter interface

• Postfix versions 2.x

### Note

For Milter integration, Postfix 2.4.5 or newer is required.

• qmail version 1.03 or newer

• Courier versions 0.42.x or newer

• CommuniGate Pro version 4.1.1 or newer

• Any SMTP server able to listen on another port than 25.

• Exim version 4.84.2 or newer

• Axigen version 9.x or newer.

#### Package installation

You can get the installation package from your local Bitdefender representative or download it from the Bitdefender servers.

The package comes in three flavours:

• rpm for distributions using the RedHat Linux package management

• deb for distributions using Debian Linux packaging system

• ipk for any other distribution using IPKG, the Itsy Package Management System

Installing the package

There is a common installation method for rpm, deb and ipk. The packages should be installed using the following command:

# sh Bitdefender-Security-Mail-{os}-{arch}.{pkg}.run

This will unpack the Bitdefender packages, according to the package type, and install them using the package manager. The packages contain the Bitdefender Security for Mail Servers files (engines, core, etc.), the install and uninstall scripts.

Examples:

• To install Bitdefender Security for Mail Servers on a RedHat based distribution you have to run the following command:

# sh Bitdefender-Security-Mail-{os}-{arch}.rpm.run

• To install Bitdefender Security for Mail Servers on any Linux distribution, using IPKG, you have to run the following command:

# sh Bitdefender-Security-Mail-{os}-{arch}.ipk.run

The ipk version of the archive will install the IPKG tools on the system and will use them to install the .ipk packages.

The self-extractable archive provides some command line parameters, described in the following table:

Parameter

Description

--help

Prints the short help messages.

--info

This will print the archive information, such as the title, the default target directory, the embedded script to be run after unpacking, the compression method used, the uncompressed size, the packaging date.

--list

This option will print the content of the embedded archive. The listed files are the engines, the program binaries, the embedded documentation, the install and uninstall script along with their size and permissions.

--check

This is one of the most useful options, because it enables the user to verify package integrity, as stated above. The integrity is checked comparing the embedded md5 checksum (generated during packaging) with the one computed at the time of the check. If they match, the output will be the following:

MD5 checksums are OK. All good.

If not, an error message will be shown, displaying the non-matching stored and computed checksums, as follows:

Error in MD5 checksums: X is different from Y

--confirm

The userwill be asked to confirmevery step of the install process.

--keep

By default, the archive content is extracted to a temporary directory, which will be removed after the embedded installer exits. Adding this parameter to the script will not remove the directory.

--target [directory]

You can specify another directory to extract the archive to, if you don't want to use the default name. Note that this target directory will not be removed.

--uninstall

Run the embedded uninstaller script instead of the normal installer.

#### Initial setup

After unpacking the archive, the installer is launched. This is a text based installer, created to run on very different configurations.

Follow the installer prompts to complete installation and initial setup. To accept the default configuration the installer offers (which is recommended), just press the ENTER key when prompted.

The License Agreement is displayed. You are invited to read the full content by pressing the SPACE bar to go to the next page or ENTER for one line a time. In order to continue the installation process, you must read and agree to this License Agreement, by literally typing the word accept when prompted. Note that typing anything else or nothing at all means you do not agree to the License Agreement and the installation process will stop.

You can set Bitdefender Security for Mail Servers to inform you about updates and patches. To enable this feature, type y, then provide the address and port of your SMTP server and the email address to send notifications to.

3. Integrating Bitdefender with the Mail Transfer Agents (MTAs)

Select the appropriate integration option.

1. CommuniGate Pro

2. Courier

3. Postfix-SMTP Proxy

4. Postfix-milter

5. qmail

6. Sendmail-milter

7. SMTP Proxy - works with any Mail Transfer Agent

For example, enter 6 to install the integration agent for Sendmail.

### Note

Postfix-milter works only with Postfix mail server version 2.4.5 or newer. For older versions of Postfix, select Postfix-SMTP Proxy.

4. Configuring RBL Servers

You can specify several RBL servers to filter spam based on the reputation of the mail server as spam sender.

Enter a registration key or press ENTER to continue with a 30 days trial.

The remote administration is performed through a web-based console. To install the console you need to provide the local IP address of the machine where Bitdefender Security for Mail Servers is installed, using the syntax IP:port (the default setting is 127.0.0.1:8139). Use the generated SSL certificate to secure browser connection when accessing the console. You also need to specify the password for console authentication.

At this point, the installer has acquired all the necessary information and it will begin the install process. Basically, it will install the engines, the binaries and the documentation and it will make the post-install configuration. This is a short list of its actions on your system:

• Creates the bitdefender user and group and assigns the installation directory to it.

• Installs the manpages.

• Appends to the dynamic library loader configuration file the path to the Bitdefender Security for Mail Servers libraries.

• Creates a symbolic link to the configuration directory in /etc.

• Integrates Bitdefender Security for Mail Servers in the system init scripts.

• Finally, Bitdefender Security for Mail Servers is started-up.

### Note

Once the initial setup is complete, you can start using the product. For more information on how to use Bitdefender Security for Mail Servers, refer to the Administrator’s Guide.