Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Email Gateway Defense
Results will update as you type.
  • Release Notes
  • Upcoming Change with Admin Sender Policies to Override User Policies
  • How to Protect Against Gateway Bypass and Direct Send Risks
  • Getting to Know Email Gateway Defense
  • Getting Started
  • Moving from Barracuda Email Security Gateway to Email Gateway Defense
  • How the Service Works
  • Email Gateway Defense IP Ranges Used for Configuration
  • Partner Accounts
  • Sender Policy Framework for Outbound Mail
  • How to Set Up MX Records for Domain Verification
  • Security Warnings
  • Understanding User Accounts
  • Sender Authentication
  • Inbound Filtering Policy
  • Outbound Filtering Policy
  • Advanced Configuration
  • Managing Domains
  • Logs and Reports
  • User Guides
  • Tools and Add-Ins
  • API Overview
  • Troubleshooting, Error Messages, and Additional Tips
    • Contacting Barracuda Networks
    • How to Create a Content Policy to Prevent Employee Impersonation
    • How to Configure DNS Routing for Improved Performance
    • How to Designate an Individual to Manage a Shared Mailbox or Distribution List
    • How to Disable Phish ETR Override Alerts
    • How to Migrate Your MailFoundry Account
    • How to Re-Enable a Suspended or Disabled Account
    • How to Troubleshoot Error Messages
    • How to Use Content Filters to Allow Salesforce Emails
    • Message Removal from Email Gateway Defense
    • Outbound Mail Rejected By UCEProtect3
    • Strengthening Email Security: Blocking Display Name Spoofing
    • Outbound Non-Delivery Reports (NDRs)
    • Understanding TLS Connections and Insecure Ciphers in Email Gateway Defense
    • Validating Mail Flow Before Restricting Access
    • What is Email Backscatter and How to Prevent It
  • Known Behaviors and FAQs
  • Online Service Terms

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Validating Mail Flow Before Restricting Access
    Published Jan 15

    Validating Mail Flow Before Restricting Access

    Jan 15, 2026
    Subscribe

    As part of the initial deployment for Email Gateway Defense, you are required to create a new inbound partner connector within Microsoft 365. This connector is used to enforce restrictions on your Microsoft tenant to prevent emails from bypassing your Barracuda Networks gateway defenses. 

    Prior to enforcing those restrictions, it is important to validate your inbound mail flow to ensure there are no external senders that are sending emails directly. 

    Create Inbound Connector

    To get started, follow the instructions in the deployment guide to create your inbound partner connector. 

    Collect Data

    After creating the Barracuda Networks partner connector, let the new data collect over the next few days.  

    Generate Inbound Report

    Once you have sufficient data, generate an inbound mail flow report. 

    1. Log in to your Exchange admin center and navigate to Reports > Mail flow.

    2. Select Inbound messages report.

    3. Select Request report and fill in the following details:

      • Enter a Report name.

      • Fill in the desired Start and End dates. The start date is when you first enabled the connector, and the end date is the current date or the newest date available to select. 

      • Enter an email address for the Recipients to receive the inbound message report.

      • Set Direction to Received.

      • Set Connector type to All, including no connector.

      • Set TLS version to All, including no TLS.

    4. After the report is generated, you will receive an email from Microsoft with the report attached.

    5. Within the report, focus on the entries that do not have a connector associated to them. These are the messages that did not come through Barracuda Networks and will be blocked once the restrictions are enabled.

    Run a Microsoft message trace on the message ID from your report to get more information on the message(s).

     

    Emails shown as not coming through a connector will no longer be accepted once the connector restrictions are enforced. Ensure you have the senders use MX records to route mail to your tenant. Alternatively, if the source of the email is a trusted third party, you can create a partner connector within Microsoft.

    As long as inbound emails either flow through the Barracuda connector or any of your other inbound (partner) connectors, the mail will not be rejected by the connector restrictions.

    Restrict Access

    Once you have validated your inbound mail flow, you will need to update the partner connector to enforce the IP restrictions.

    Connect to Exchange Online and then run the following PowerShell command:

    Set-InboundConnector -Identity "Barracuda Inbound Connector" -RestrictDomainstoIPAddresses $true


    We value your feedback.
    If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
    For general product inquiries or technical support, please contact the global Barracuda Support team.

    {"serverDuration": 13, "requestCorrelationId": "ee0b6c91c6e246b69aae62f937bddbd4"}