Bypass spam for email from your Discourse-hosted site in Google Workspace

Summary

As a hosted site customer, your site’s email comes from a domain controlled by CDCK and may occasionally be marked as spam.

This article will show you how to prevent this by allowlisting these emails in your Google Workspace admin interface.

Afterwards, emails from your hosted site will be delivered to mailboxes within your Google Workspace without being caught by the spam filter.

Information

This is your Hosted Site name (the same as the first component of your CNAME target):

Your Hosted Site name

Procedure

Add an Address List

  1. From the Google Admin Panel, navigate to:
    Apps → Google Workspace → Gmail → Routing → Manage Address Lists

  2. Click Add Address List:

  3. Set an appropriate name (this is for your reference) and add the following email addresses:
    =HOSTEDSITE=.discoursemail.com

  4. Save the new Address List

  5. From the Google Admin Panel, navigate to:
    Apps → Google Workspace → Gmail → Spam, Phishing, and Malware

  6. Under Spam, select Configure or Add Another Rule:

    • set an appropriate name (this is for your reference)
    • uncheck “Bypass spam filters for messages received from internal senders”
    • click Use existing list and select the list created above:
      image
    • click Save:
  7. It should now look similar to:

11 Likes