Scanning emails using Bdconsole
Bitdefender Security for Mail Servers protects Windows or UNIX-based mail servers for known and unknown security threats with award winning proactive antivirus, antispyware, antispam, antiphishing, content and attachment filtering technologies. The solution secures organizations email services and provides increased productivity by blocking spam and providing common centralized management tools;
In order to check if non-legit e-mails are seen as spam by Bitdefender Security for Mail Servers, without sending them again through the Mail Transfer Agent, an useful tool from /opt/BitDefender/bin can be used. His name is bdconsole. Without being a daemon, this utility don't have to load the antispam and antivirus modules again, but using them directly from RAM. These modules are already loaded into RAM by two important Bitdefender daemons: bdscand and bdmaild.
Before using bdconsole, please check if bdscand and bdmaild are running:
#/opt/BitDefender/bin/bd status
A common way to use bdconsole when scanning .eml emails is:
#/opt/BitDefender/bin/bdconsole -m -vvv --temp <email>.eml
This way will fail for not .eml format emails, for example .msg format. In this situation, please use:
#/opt/BitDefender/bin/bdconsole -m -vvv --temp --force <email>.<extension>
For a complete list of bdconsole options, please type:
#/opt/BitDefender/bin/bdconsole --help