Block specific senders based on email address or domain

You can automatically reject messages from individual addresses or entire domains by adding those addresses or domains to a blocked senders list. This can help you proactively repel spam and malicious email.

You can also set up an exceptions list for approved senders. Messages from domains or email addresses in this list will not be blocked, unless blocked by other settings. Also, if a message from an approved sender contains a virus or is part of an email attack, Google's virus filters will still prevent it from reaching your users.

How settings are applied

The Blocked senders setting applies to all users in an organizational unit. Users in child organizations inherit settings from the parent organization.

Note: Blocked senders settings don't apply to messages posted to the Groups for Business interface.

Set up a blocked sender list

Initial step: Go to Gmail advanced settings in the Google Admin console

  1. Sign in to your Google Admin console.

    Sign in using your administrator account (does not end in @gmail.com).

  2. From the Admin console Home page, go to Appsand thenG Suiteand thenGmailand thenAdvanced settings.

    Tip: To see Advanced settings, scroll to the bottom of the Gmail page.

  3. (Optional) On the left, select an organization.

  4. Scroll to the Blocked senders setting in the Spam section, hover over the setting, and click Configure. If the setting is already configured, hover over the setting and click Edit or Add Another.

  5. For a new setting, enter a unique description.

  6. Go to the next step to configure the setting.

Step 1: Add addresses or domains to the blocked senders list
  1. Click Use existing or create a new one, enter a new list name, and click Create.
    Tip: To use an existing list as your blocked sender list, click the list name.
  2. Hover over the list name, click Edit, and then click Add Add.
  3. Enter one or more email addresses or domain names, separating each entry by a comma or space.
  4. Click Save.
  5. Repeat the above steps to add more email addresses or domains to the list.

Learn more about address lists, including how to search, or view all entries in the list, and how addresses are matched against the address lists.

 

Step 2: (Optional) Edit the default rejection notice

Enter customized text for the rejection notice. For example, you might enter “A message has been rejected because it was sent by an unauthorized address or domain.”

Step 3: (Optional) Add exceptions to your list

You can set up an approved sender list, and messages from domains or email addresses in the list will bypass the Blocked senders setting. You can create a new approved sender list or reuse a list that you've already created.

Other settings can still cause the message to be blocked. Also, if a message from an approved sender contains a virus or is part of an email attack, Google's virus filters will still prevent it from reaching your users. Learn more about approved sender lists and sender authentication.

  1. Check the Bypass this setting for messages received from addresses or domains within these approved sender lists box.

  2. Click Use existing or create a new one.

  3. Select the name of an existing list, or enter a custom name for a new list in the Create new list field and then click Create.

  4. Hover over the list name, and then click Edit.

  5. Click Add Add.

  6. Enter email addresses or domain names, using a space or a comma to separate multiple entries.

    Note: If you want to bypass this setting for approved senders that don't have authentication, uncheck the Require sender authentication box. Use this option with caution as it can potentially lead to spoofing. Learn more about sender authentication.

  7. Click Save.

When evaluating a list, Gmail checks the addresses or domain names against the "From:" part of the message header, not the envelope sender (or Return-Path section of the message header). Therefore, the "From:" sender must exactly match an address or domain in the list.

Learn more about address lists, including how to search, or view all entries in the list, and how addresses are matched against the address lists.

Final step: Add and save the setting
  1. Click Add Setting or Save. Any new settings are added to the Gmail Advanced settings page.

  2. At the bottom of the page, click Save.

It can take up to an hour for changes to take effect. You can track changes in the Admin console audit log.

 

Was this article helpful?
How can we improve it?