Skip to main content

Troubleshooting SMTP Agent Issues in Bitdefender Security for Mail Servers Version 3.1.7

This section describes the issues you may have with the new SMTP Agent in Bitdefender Security for Mail Servers version 3.1.7 (Linux).

Bitdefender Security for Mail Servers protects Linux mail servers from known and unknown security threats with award winning proactive antivirus, antispyware, antispam, antiphishing, content and attachment filtering technologies. The solution secures organization's email services and provides increased productivity by blocking spam and providing common centralized management tools.

Bitdefender Security for Mail Servers version 3.1.7 (Linux) comes with a new Bitdefender SMTP Agent, with extended functionality.

However, on some x86 Linux distributions, the users may not be able to start the daemon. This issue will reproduce only if the both following conditions are met:

  1. The product is fully configured (run # /opt/BitDefender/bin/bdsafe agent configure smtp to check the SMTP settings).

  2. The product is enabled (by using the Remote Admin interface or the bdsafe command: # /opt/BitDefender/bin/bdsafe agent enable smtp).

To identify the problem, please run:

# /opt/BitDefender/bin/bd status

The described bdsmtpd state is:

BitDefender SMTP agent (bdsmtpd) dead but pid file exists

Also, the syslog may contain some information like this:

CentOS 6.3 x86

type=ANOM_ABEND msg=audit(1499935061.763:549): auid=0 uid=500 gid=500 ses=74 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=14834 comm="bdsmtpd" sig=6

or like this

Ubuntu 14.04 x86

ERROR: apport (pid 12687) Thu Jul 13 13:07:41 2017: executable: /opt/BitDefender/bin/bdsmtpd (command line "/opt/BitDefender/bin/bdsmtpd -s")

This issue happens when bdsmtpd is spawing too many threads. To fix it, you can limit the number of threads by simply running:

# /opt/BitDefender/bin/bdsafe reg setkey /BDUX/Agents/SmtpProxy/Threads <number_of_threads>

# /opt/BitDefender/bin/bd restart

For the number of threads, we recommend a value between 50 and 200, depending on the allocated resources. The default value is 256.