Address Lists
Set up email addresses and domains lists to allow, block, apply or exclude from email routing settings.
First, you select which emails you want to apply the setting to, based on:
Then, you select what to do with such emails. You have these options:
In the Admin console at https://admin.google.com, click the Apps icon.
Select Google Workspace.
Click Gmail. Make sure not to check the box to the left; just click the service.
Select Compliance.
Under Organizational Units, select the OU with the users whose settings you want to update. The same updates will apply to all sub-OUs under the OU you choose.
By default, if you don’t select an OU, you will add your setting to the top OU, named after your domain. This way, you will apply changes to all users in your account.
You can search for an OU to find it faster if you have a large OU structure.
Find the Attachment compliance setting on this page and click the CONFIGURE button to the right.
If you don’t see the CONFIGURE button, click ADD ANOTHER RULE instead.
First, on top, enter a short description of what you’re setting up, so you can recognize this email setting later.
Next, under 1. Email messages to affect, select which emails the compliance filter will work on. They may be:
Under 2. Add expressions that describe the content you want to search for in each message, you get to say what the filter will look for in emails.
You can have it work whenever any of the expressions are detected or when all expressions are detected.
Click either Add button to add the expressions.
You have three types of expressions:
File type – select a file type the filter will search for. If you don’t find yours in the list, you can enter a custom file type at the bottom.
File name – the filter will search for attachments by name.
Message size – the filter will look for emails whose size (body + attachments) is over x megabytes.
Next comes 3. If the above expressions match, do the following. Here, you get to choose what to do with any emails matched by this compliance filter. Modify message offers the following options:
Headers – lets you add custom headers to emails. For example, you can add a custom header matching the description you entered for the setting. This helps analyze why an email was routed in a certain way or what triggered a filter.
Adding the X-Gm-Original-To header is useful when you reroute a copy of an email, and the new recipient wants to know the original recipient’s address. The latest recipient can see the original recipient by checking the X-Gm-Original-To header box in the email.
Add X-Gm-Spam and X-Gm-Phishy headers to indicate if the email is spam or phishing. For example, these headers will look like this:
X-Gm-Spam: 0 (means that the email is not spam)
X-Gm-Spam: 1 (means that the email is spam)
Prepend custom subject allows you to add something to the beginning of emails’ subjects.
Change route allows you to re-route emails to another mail server, already added to the Hosts setting as shown here.
Change envelope recipient allows you to change the email recipient to another email address, bypassing the original recipient.
Bypass spam filter for this message approves emails for delivery automatically, regardless if Gmail’s built-in spam filter thinks they are spam.
Remove attachments from this message strips the emails of all attachments.
Add more recipients adds extra recipients to the email. This acts similar to a BCC, so the sender and recipients of the message won’t know about the additional recipients you have added.
Encryption (onward delivery only) makes it mandatory for a secure connection to be established during the transmission of the email, otherwise, it will not be delivered.
Under 3, you can also choose to Reject – additionally, you can type a custom rejection notice.
You have the option of sending messages to a spam Quarantine.
Before you save the setting, you should also look at the additional options – click Show options at the bottom.
Address lists – check to create a list of email addresses and/or domains. Then the Content filter may bypass this list, or only apply to this list.
Account types to affect – users, groups, or unrecognized (non-existent in your Google Workspace)
Envelope filter – you can have it only affect specific senders or recipients.
Click SAVE to add the routing rule.
Now you can see the setting listed in the Attachment compliance section.
You can Edit it, Disable it (turn off temporarily), Delete (completely remove, no restore option) or ADD ANOTHER RULE.
It may take up to 24 hours before the setting kicks in.
Set up email addresses and domains lists to allow, block, apply or exclude from email routing settings.
Add one or more forwardings of all incoming mail from one email address to another.
Quickly set up email delivery rules that apply to incoming emails.
Set up email delivery rules that apply to incoming or outgoing emails.
Allow sending and receiving only from specific domains or email addresses.
Automatically reject emails from specific domains or email addresses.
Set up email delivery rules that apply to emails with specific content.
Set up email delivery rules that apply to emails containing attachments.
Set up email delivery rules that apply to emails containing specific words.
Set up an auto-BCC to a specific email address.
Forward a copy of all incoming or outgoing mail from one email address to another.
Receive emails sent to email addresses that you haven’t set up yet, or ones where the sender made a typo.
© 2022 Workspace123. All rights reserved. | Terms of Service | Privacy Policy
Think we could do something better or just want to tell us how happy you are with the site? We would love to hear from you – your feedback is more valuable than you can imagine.
Fill out this form, and we will get back to you.
Are you running into an issue with the site? Maybe you found a broken link, or something else is wrong?
Fill out this form to let us know, and we will address it as soon as possible.
Please make sure to be very specific and add as many details as possible.
Our goal is to run the number one site in the world for you to get help with and learn how to use Google Workspace. This can’t be so if there is any missing information.
If you believe we need to add something, fill out this form, and we will do our best to add any missing content as soon as possible.
This site uses cookies to ensure you get the best experience. Click here to see our Cookies Policy.
You can stay on top of news and updates in Google Workspace and Workspace123 and get special offers by subscribing to our newsletter.