Plug-Ins

At the current moment, the following plug-ins of Dr.Web MailD are available:

Drweb anti-virus plug-in. This plug-in is used for checking email messages for viruses, threats and other malware;

Vaderetro anti-spam plug-in. This plug-in is used for checking email messages for spam attributes;

Dr.Web HeadersFilter. Plug-in which filters email messages by values of their headers;

Dr.Web Modifier. Plug-in which allows modification of email message parts.

Each plug-in is presented as a shared library (a file with .so extension). Plug-in libraries exist in %bin_dir/maild/plugins directory. Library files of each plug-in has the name of the following pattern, lib<name>.so, where <name> - name of the plug-in. For example, file of Drweb plug-in library is named libdrweb.so.

Each plug-in uses its own configuration file. Plug-in configuration files exist in the %etc_dir directory. Plug-in configuration files are named according to the following pattern plugin<name>.conf, where <name> - name of the plug-in. For example, configuration file of Drweb plug-in is named plugin_drweb.conf.

If necessary, you can configure each plug-in to use configuration files and dynamic libraries, name of which does not correspond to the pattern. To do this, adjust the settings in the of the [Filters] section of the main Dr.Web MailD configuration file.

warning

On startup, Dr.Web MailD temporarily renames files of used plug-in  libraries by adding an additional extension .cache to the file name. It is done to avoid conflicts when updating libraries by Dr.Web Updater component.

For example, Drweb plug-in library is renamed on startup to libdrweb.so.cache.