This method of integration implies the installation of a mail server (for example, Exim, Sendmail, Postfix) for the transit transmission of email messages via the SMTP protocol and the connection of Dr.Web MailD to this mail server as an external filter for email messages scanning. All mail servers supporting Milter, Spamd and Rspamd interfaces can be integrated.
For SMTP proxy realization, the mail server must be configured so as to receive email messages, to scan them via Dr.Web MailD connected as an external filter for email scanning via the interface Milter, Spamd or Rspamd, and then to send them on the final or next intermediate MTA in the email messages’ delivery chain according to the specified routing rules.
The MTA parameters necessary to connect Dr.Web MailD as an external filter for email scanning via the interface Milter, Spamd, or Rspamd are listed in the section “”.
The routing configuration of receiving and transmitting email messages depends on the installed mail server. The example below shows such configuration for the Postfix mail server.
To integrate Dr.Web MailD with the mail server, you should check and, if necessary, change the values for parameters that are located in the configuration file, in the section with the Dr.Web MailD (the section [MailD]). An example of such configuration can be found in the section “”.
The following example assumes that:
•Postfix receives mail messages sent to mailboxes from the domains example1.org and example2.com (the routing table of email messages is specified in the /etc/postfix/transport file);
•the scanning of messages on nested threats and spam is performed via the Milter interface by Dr.Web MailD;
•Dr.Web MailD listens the port 1234 on the host 10.20.30.40.
1.The contents of the main.cf setting file:
2.The contents of the transport file: