How to restrict outgoing emails to external addresses

Problem

You want to restrict outgoing emails from users to external addresses.

Environment

  • Gmail

Solution

  1. Log in to the Admin console.
  2. Navigate to Apps > Google Workspace > Gmail > Routing.
  3. Click Configure.
  4. Add a description for your rule.
  5. Under Email messages to affect, check the box for Outbound.
  6. Under For the above types of messages, select Reject message.
  7. (Optional) Add a custom rejection message.
  8. Click Show options.
  9. Check the box for Use address lists to bypass or control application of this setting.
  10. Select Apply address lists to correspondents.
  11. Select Bypass this setting for specific addresses / domains.
  12. Click Create or Edit list.
  13. Add a name for the address list.
  14. Click Add.
  15. Enter your domain name.
  16. Click Save.
  17. Back on the routing rule screen, click Save.

Cause

Default setting will allow outbound emails to all domains.