Configuring Courier |
To connect Dr.Web MailD to Courier mail system, do the following: 1.Set privileges for drweb-courier module with the following commands: $ chown COURIER_USER:drweb "%bin_dir/drweb-courier" where COURIER_USER is a user with whose privileges Courier is started. Also ensure that read, write and execution permissions are set for all directories and subdirectories in %var_dir directory for the drweb group. 2.Copy drweb-courier module (or create a symbolic link) to Courier filters directory (by default, it is /usr/local/libexec/filters/). 3.Register drweb-courier module in the Courier mail system as global: $ /usr/local/sbin/filterctl start drweb-courier Later, to disable the filter, use the following command: $ /usr/local/sbin/filterctl stop drweb-courier 4.Create (or edit) enablefiltering file to set services to perform check (esmtp or uucp - if more than one is specified, they are separated with white spaces). 5.Ensure that the BaseDir and SocketDirs parameters in the [Courier] section of the Dr.Web MailD configuration file correspond to the configuration of the used Courier mail system. For more information, use the following command: man courierfilter. 6.Enable filtering in Courier system: $ /usr/lib/courier/sbin/courierfilter start drweb user with whose privileges Dr.Web Daemon component operates, must be included in courier group to gain read access to files created in the spool by Courier mail system. Transmission of processed messages to Courier MTA Settings that manage transmission of processed messages to MTA are specified in the [Sender] section of the configuration file. For that perpose, the following parameters must be specified: MailerName = Courier |