

Configure the MTA behavior in response of email scanning results via the interaction interface.Īfter changing the MTA settings, restart it.īelow are the typical example cases of settings for MTA Postfix, Sendmail, Exim and CommuniGate Pro for connection of Dr.Web MailD as an external filter of email messages via the following interfaces: Milter, Spamd and Rspamd. Indicate parameters for connection of MTA to Dr.Web MailD via the selected interface (the socket must match with the one indicated in the Socket parameter for the corresponding interface in the settings of Dr.Web MailD ).ģ. Indicate the interface used for interaction of MTA with Dr.Web MailD when scanning email messages ( Milter, Spamd, Rspamd ).Ģ. To enable interaction between MTA and Dr.Web MailD, edit the configuration of the mail server to allow using Dr.Web for UNIX Mail Servers as an external filter for checking email messages.ġ. The result in processed in accordance with the MTA settings (for example, ACL for Exim ) When interacting via Spamd and Rspamd, the Lua script returns the result in the value of the corresponding text variable ( report for Spamd and action for Rspamd ). When interacting with the MTA via Milter the Lua script returns the action to be applied to the message. You can also restart the configuration daemon Dr.Web ConfigD (use the service drweb-configd restart command). To configure the filtering rules for emails in a more fine-grained way (depending on the conditions), edit the default email scanning procedure text in Lua.Īfter all settings are adjusted, restart Dr.Web for UNIX Mail Servers (use the command drweb-ctl reload ). When fine tuning is not required, it is recommended that values for parameter data are kept in their default state.ģ. Parameters that limit the length and resource intensity of email message scanning ( ScanTimeout, HeuristicAnalysis, PackerMaxLevel, ArchiveMaxLevel, MailMaxLevel, ContainerMaxLevel, MaxCompressionRatio ). Usage of the UNIX socket or network socket is allowed.Ģ. Socket is a socket that will be used by Dr.Web MailD to obtain scanned email messages from MTA via the corresponding interface.

It is necessary to indicate values of the following parameters (where is a prefix in the parameter name that corresponds to the selected one for conjugation with the MTA interface):ġ. All parameters of Dr.Web MailD that control its conjugation with MTA via the certain interface, have a respective prefix in their names: To start with, it is necessary to determine the used conjugation interface ( Milter, Spamd or Rspamd ), and specify the parameters of the MTA connection and parameters of email scanning, received via the selected interface. As the RepackPassword parameter value, specify the method of passwords generation for protected archives with threats that to be added to email messages once repacked ( None value, indicated by default, allows to abandon the protection of archives with a password, which is permissible but not recommended).ġ.2 Integration parameters of Dr.Web MailD with MTA Using TemplateContacts and ReportLanguages parameters, determine the parameters of email generation when repacking email messages with threats and/or spam. To integrate Dr.Web MailD with a mail server, you need to review the current values of parameters in the Dr.Web MailD‘s settings section in the configuration file (the section) and change them if necessary.ġ.1 General operation parameters of Dr.Web MailD during email message scanning It is possible to connect to any mail server (for example, Exim, Sendmail, Postfix ) that uses the following interfaces: Milter, Spamd, Rspamd. This method of integration implies the connection of Dr.Web MailD directly to the mail server as an external filter for email messages scanning.
