Comodo Help
Find the desired product help
Comodo Antispam Gateway

Comodo Antispam Gateway

Quick Start Guide ver. 2.12

English

Print Help Download Help
Comodo Antispam Gateway – Quick Start Guide > Step 2 - Configure Your Mail Server To Work With The CASG Service
  • Comodo Antispam Gateway – Quick Start Guide
    • Step 1 - Login To The Admin Interface
    • Step 2 - Configure Your Mail Server To Work With The CASG Service
    • Step 3 - Add Domains
    • Step 4 - Validate Domains
    • Step 5 - Add Administrators
    • Step 6 - Add Incoming Users
    • Step 7 - Add Outgoing Users
    • Step 8 - Manage Configuration And Settings
    • Step 9 - View Reports
    • Step 10 - Upgrade From CASG Free To Paid Version

Step 2 - Configure Your Mail Server to Work With the CASG Service

 

The next step is to setup incoming and outgoing filtering configuration.


Comodo has two ASG servers, one in US and other in EU. You can choose any of these locations that best suit your requirement. For example, some US customers would like to keep their data in servers that are located within their country. The details of CASG service domains are given below:


ASG Server Locations


European Union

  • mxpool1.spamgateway.comodo.com
  • mxpool2.spamgateway.comodo.com

United States

  • mxpool1.us.spamgateway.comodo.com

Incoming Filtering Configuration

1. Configuring your mail server - You need to disable Sender Policy Framework (SPF) checks, or add CASG service domains to SPF check whitelist.

  • If you don't do one of the above, you may get an error message when you add a domain:



    2. Add your domain to the CASG service - Login to CASG, go to domain management and add domain.




    See Add Domains topic if you need more help with this.

    3. Configuring MX record

    • The next step is to update the mail exchange (MX) records of your domain to point to the CASG service domain.
    • Please ensure that you replace your domain's old MX records with the CASG service domain according to your preferred region.

    Background Note: MX records specify the mail server for incoming and outgoing mail on a domain. A domain can have several MX records pointing to different mail servers. When an email is passed to/from your domain, the mail is handled by the first available mail server as per your priority. You can define new MX records or change mail server priority as required.


    Click the following links for detailed explanations based on the DNS software/web hosting service you use.
    • Windows Server 2003/2008

    • BIND (and the “named” daemon)

    • Comodo DNS

    • GoDaddy

    • Enom

    • Network Solutions

    • Yahoo! SmallBusiness

    • 1and1

    • 4D Web Hosting

    • DNS Park

    • DreamHost

    • DynDNS

    • IX Web Hosting

    • No-IP

    • Cpanel


    Outgoing Filtering Configuration


    You can set up outgoing email filter for each user or if that is too cumbersome, you can set up the filtering server as a smarthost.

    1. Per-user authentication - To set up outgoing filtering for a user, make sure that the user is a valid outgoing user. To add an outgoing user, click 'Users' and 'Add' in the 'Outgoing users' interface. You can also import users from CSV file or from Incoming users. See 'Users' topic if you need more help with this.

     2. Outgoing Smarhost setup – You can choose this option instead of per-user authentication method to setup outgoing filtering via CASG. A smarthost allows an SMTP server to route email to an intermediate mail server. This can ease mail server management. In this case all outgoing messages are sent to CASG mail-server and the actual recipient is contacted by CASG mail-server itself. Please note that for smarthost option, email user authorization should be handled on your side, either by IP address or by using SMTP AUTH.


    3. DNS Configuration - Add this SPF record into your public DNS:

    include:_spf.antispamgateway.comodo.com

    The smart host is similar to the route domain option for remote domains. The difference is that, after a smart host is designated, all outgoing messages are routed to that server. With a route domain, only messages for the remote domain are routed to a specific server. If you set up a smart host, you can still designate a different route for a remote domain. The route domain setting overrides the smart host setting.


    You can route all incoming / outgoing messages for remote domains through a smarthost instead of sending them directly to the domain to reduce e-mail spam from the recipient’s mail server via the default SMTP port. Click on the following links for more details:
    • Configure QMail to us a Smarthost
    • Configure PostFix to us a Smarthost
    • Configure Sendmail to us a Smarthost
    • Configure Exchange 2000/2003 to us a Smarthost
    • Configure Exchange 2007/2010 to us a Smarthost
    • Configure Exchange 2013/2016 To Use A Smarthost 
    • Configure Exim to us a Smarthost
    • Configure Exim / cPanel to us a Smarthost
    • Configure Exim / Directadmin to us a Smarthost 

    See Get Started if you need more help with this

    Our Products
    • Free Antivirus
    • Free Internet Security
    • Website Malware Removal
    • Free Anti-Malware
    • Anti-Spam (Free Trial)
    • Windows Antivirus
    • Antivirus for Windows 7
    • Antivirus for Windows 8
    • Antivirus for Windows 10
    • Antivirus for MAC
    • Antivirus for Linux
    • Free Endpoint Security
    • Free ModSecurity
    • Free RMM
    • Free Website Malware Scanner
    • Free Device Manager for Android
    • Free Demo
    • Network Security
    • Endpoint Protection
    • Antivirus for Android
    • Comodo Antivirus
    • Wordpress Security
    Cheap CDN
    • Bootstrap CDN
    • Semantic UI CDN
    • Jquery CDN
    • CDN Plans
    • CDN
    • Free CDN
    Enterprise
    • Patch Management Software
    • Patch Manager
    • Service Desk
    • Website Down
    • Endpoint Protection Solutions
    • Website Security Check
    • Remote Monitoring and Management
    • Website Security
    • Device Manager
    • ITSM
    • CRM
    • MSP
    • Android Device Manager
    • MDR Services
    • Managed IT Support Services
    • Free EDR
    Free SSL Certificate
    Support Partners Terms and Conditions Privacy Policy

    © Comodo Group, Inc. 2025. All rights reserved.