Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
cav-linux / opt / COMODO / doc / README.sendmail
Size: Mime:
Using COMODO Mail Gateway with Sendmail
-------------------------------


Prerequisites
--------------

* installed Sendmail (8.14.3)
* installed COMODO Antivirus for Linux with Mail Gateway
* installed milter (sudo apt-get install libmilter or libmilter-dev)

Using CMG with Milter pre-queue filter
--------------------------------------

Cmgdaemon could be used as Milter application for e-mail filtering.
We use named pipe (local:/var/run/milter-cmg.sock) to communicate 
with Sendmail.

1) Sendmail configuration

Append the following line to configuration file /etc/mail/sendmail.mc:

INPUT_MAIL_FILTER(`ComodoMailGatewayFilter',`S=local:/var/run/milter-cmg.sock, F=T, T=S:60s;R:60s;E:5m')


2) Configuring cmgdaemon

Open "COMODO Antivirus" for Linux.
Select "Mail Gateway" tab.
Open "Smtp Configuration".
Set "Filtering Type": 'milter'

It is possible to set parameters directly in /opt/COMODO/etc/COMODO.xml:

 <filteringType>milter</filteringType>
 
NOTE: You need assign administrator email out of filtered MTA.

Post-configuration steps
------------------------

1) Restart CMG daemon:

service cmdmgd restart


2) Restart Sendmail:

service sendmail restart