Configuring Operation in After-Queue Mode |
To configure interaction between Dr.Web MailD and Postfix in the after-queue mode, add the following lines to the main.cf configuration file of the Postfix system: content_filter=scan:<_ADDR_REC_> where _ADDR_REC_ is the address of the listening module drweb-receiver (the Address parameter of the [Receiver] section of the Dr.Web MailD configuration file), for example, 127.0.0.1:8025. To the master.cf configuration file of Postfix system, the following lines must be added:
where <_ADDR_SEN_> is the address to which drweb-sender module is connected for sending messages (the Address parameter of the [Sender] section of the Dr.Web MailD configuration file), for example, 127.0.0.1:8026. It is recommended that <NN> number (maximum number of processes executed by Postfix server) is the same as the number of threads in pools of drweb-receiver and drweb-sender modules (the PoolOptions parameter in the [Receiver] section and OutPoolOptions in the [Sender] section of the Dr.Web MailD configuration file). To remove this limitation, specify "–" (minus sign) instead of the <NN> number.
After applying the changes to, restart Postfix. |