We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.

Barracuda Email Security Service

How to Configure Office 365 to Block Inbound Email Not Originating from Barracuda Email Security Service IP Address Range

  • Last updated on

You can configure Microsoft Office 365 to block any inbound email that does not originate from the Barracuda Email Security Service network.

Office 365 IP addresses and user interfaces can change; refer to Microsoft documentation for configuration details.

Use the following steps to restrict access to the Barracuda Email Security Service IP address range for Office 365 based on your Barracuda Email Security Service instance:

See Barracuda Email Security Service IP Ranges for a list of IP rages based on your Barracuda Email Security Service instance.

  1. Log in to the Office 365 admin center, and go to Admin centers > Exchange.
  2. In the left pane, click mail flow, and click rules.
  3. Click the + symbol, and click Create a new rule.
  4. In the new rule page, enter a Name to represent the rule. For example, type: Barracuda ESS IP restriction
  5. Scroll down to and click Advanced Options.
  6. From the Apply this rule if drop-down menu, select The Sender > Is External/Internal > Outside the organization.
  7. From the Do the following drop-down menu, select Reject this message with the explanation.
  8. Enter the message you want included in the non-delivery report (NDR) that is sent to the sender. For example, enter:
    You have attempted to bypass our Email Security Service. Please ensure your DNS is up-to-date and try sending your message again.
  9. Click Add Exception.
  10. Select The Sender > Sender’s IP address is in any of these ranges or exactly matches, and enter the Barracuda Email Security Service IP range based on your Barracuda Email Security Service instance.

  11. Enter the Barracuda Email Security Service IP range, for example: 64.235.144.0/20  
  12. Click the + symbol.
  13. Enter the Barracuda Email Security Service IP range, for example: 209.222.80.0/21
  14. Click the + symbol.
  15. ClickOK.
  16. Scroll to the Properties of this rule section, and in the Priority field, type: 0
  17. In the new rule page, click Stop processing more rules, and click Save to create the rule.
  18. Office 365 is now configured to block any email that does not originate from the Barracuda Email Security Service IP address ranges.
  19. Verify the new rule displays at the top of the list of mail flow rules. If the rule is not at the top, click on the rule, and use the Up (UpArrow.png) arrow to move the rule to the top of the list.

 O365

Last updated on