Comodo Help
Find the desired product help
Comodo Antispam Gateway

Comodo Antispam Gateway

Admin Guide ver 2.12

English

Print Help Download Help
Domain Management > Manage A Domain > Domain Rules
  • Introduction To Comodo Antispam Gateway
    • Release Notes
    • Purchase License
    • License Information
  • Get Started
    • Incoming Filtering Configuration
      • Configure Your Mail Server
      • Configure MX Records
        • Update MX Records In Windows 2003/2008 Server
        • Update MX Records On A Host Using BIND
        • Update MX Records For Comodo DNS
        • Update MX Records For GoDaddy
        • Update MX Records For Enom
        • Update MX Records For Network Solutions
        • Update MX Records For Yahoo! Small Business
        • Update MX Records For 1and1
        • Update MX Records For 4D Web Hosting
        • Update MX Records For DNS Park
        • Update MX Records For DreamHost
        • Update MX Records For DynDNS
        • Update MX Records For IX Web Hosting
        • Update MX Records For No-IP
        • Update MX Records In CPanel
    • Outgoing Filter Configuration
      • Per-User Authentication
      • Outgoing Smarthost Setup
        • Configure QMail To Use A Smarthost
        • Configure PostFix To Use A Smarthost
        • Configure Sendmail To Use A Smarthost
        • Configure Exchange 2000/2003 To Use A Smarthost
        • Configure Exchange 2007/2010 To Use A Smarthost
        • Configure Exchange 2013/2016 To Use A Smarthost
        • Configure Office 365 To Use A Smarthost
        • Configure Exim To Use A Smarthost
          • Configure Exim / CPanel To Use A Smarthost
          • Configure Exim / Directadmin To Use A Smarthost
      • DNS Configuration
  • Login To The Admin Console
  • The Dashboard Area
  • The Admin Console
  • Domain Management
    • Add A Domain
    • Delete Domains
    • Edit Domains
    • Validate Domains
    • Manage A Domain
      • Domain Dashboard
      • Incoming
        • Quarantine
        • Manage Archived Mails
        • Incoming Spam Detection Settings
        • Report Spam
        • Delivery Queue
        • Destination Routes
        • Local Recipients
        • Clear Incoming Cache
        • Log Search
        • Domain Aliases
        • Domain Settings
        • Manage Report Subscriptions For Selected Domain
        • Relay Restrictions
        • Geolocation Restrictions
        • SPF Control Settings
      • Outgoing
        • Clear Outgoing Cache
        • Log Search
        • Users
        • Office 365 Activation
      • Email Management
        • Email Size Restriction
        • Blocked Extensions
        • Released Requests
        • Blacklisted Requests
        • Whitelisted Requests
      • Domain Audit Log
        • Audit Log Configuration
        • View Domain Log
      • Domain Rules
        • Rules
        • TLD And GTLD Rules
        • Recipient Whitelist
        • Sender Whitelist
        • Recipient Blacklist
        • Sender Blacklist
        • Whitelist Senders Per User
        • Blacklist Senders Per User
      • Account Management
        • User Account Management
        • Manage User Auto-import
        • View User History
        • Import Users From LDAP
          • LDAP Import Configuration
          • LDAP Import Confirmation List
          • LDAP Import Ignore List
  • Audit Log
  • Administrator Account Management
    • Administrators
    • User Groups & Permissions
    • Admin Groups & Permissions
    • My Comodo Account
    • My Profile
    • Users History
  • Customer Management
    • End User License And Subscriber Agreements
    • View License Information
    • Manage Report Subscriptions
    • Notification Email Settings
  • CASG Reports - An Overview
    • Quarantine Report
    • Domain Statistics Report
    • Auto-Imported Users Report
    • Quarantine Release Report
    • Reported Spam Report
  • Appendix 1 - CASG Error Codes
  • Appendix 2 - CASG Comparison Table
  • Appendix 3 -Troubleshooting LDAP
  • Appendix 4 - Useful Links
  • About Comodo Security Solutions

Domain Rules


  • Create granular filtering rules for each domain in order to blacklist, whitelist or forward mails.
  • Rules can be based on sender, recipient, source/destination server, subject line, suspicious attachments and more.


Note: Under default conditions, CASG will filter all incoming mails to all domains that have been enabled in the ‘Domains’ area.


The following table offers more details on each rule type:


Rule Type

Description

Notes

Domain Rules ('Create Rule...')

Create granular rules to blacklist, whitelist or forward mail based on one or more criteria.

Criteria include sender, sender mail server, recipient, relay server, subject line and suspicious attachment.




TLD & gTLD Rules

Allow or block mails based on top level domain.

Mail from all TLDs is allowed by default. This interface allows you to block selected TLDs.


Recipient Whitelist

Always allow mail sent to these recipients.

For example, CASG will allow/block mails to/from specific_user@example.com, but will filter as normal email to/from any_other_users@example.com



You can bulk import email addresses from .csv or add manually.







Sender Whitelist

Always allow mail received from these senders.

Recipient Blacklist

Always block mail sent to these recipients.

Sender Blacklist

Always block mail received from these senders.

Whitelist senders per user

Always allow mail from specific email addresses to specific users.

For example, CASG will allow/block mails from specific_sender@example.com to specific_recipient@your_domain.com, but will continue to filter mail from specific_sender@example.com to everybody_else@your_domain.com


You can bulk import email addresses from .csv or add manually.

Blacklist senders per user

Always block mail from specific email addresses to specific users.


General Advice

  • If you are troubleshooting issues with a particular email address, please check all interfaces listed under 'Domain Rules'.
  • Rule priorities can be summarized as follows:
    1. Email Size Restriction

    2. Domain Whitelist rules

    3. Sender/Recipient Whitelist

    4. Domain Blacklist rules

    5. Sender/Recipient Blacklist

    6. TLD & gTLD blacklist rule

    7. Per user White list

    8. Per user Black list

    9. Email Blocked Extensions

CASG will stop applying rules on first match (if any).

  • 'Email Size Restrictions' have a higher priority than domain rules. CASG will still block mails that exceed 'Email Size Restriction' regardless of any rules.
  • 'Email Blocked Extensions' have a lower priority than domains rules. CASG will not stop mails containing a blocked extension if there is a whitelist rule which green-lights the message.
  • Whitelist domains rules take precedence over blacklist domain rules.
  • Whitelist/blacklist rules in the domain rules section take precedence over 'per user' whitelist/blacklist rules.


Click the following links for more details.

  • Rules
  • TLD and TLD Rules
  • Recipient Whitelist
  • Sender Whitelist

  • Recipient Blacklist
  • Sender Blacklist

  • Whitelist Senders Per User
  • Blacklist Senders Per User
    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.