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
    • MX Deployment vs. Inline Deployment in Email Gateway Defense
      • Inline Deployment Considerations and Requirements
    • How to Configure MX Records to Direct Mail Flow to Barracuda
    • How to Manage MX Records With the Setup Wizard
    • Microsoft 365 Deployment
    • Google Workspace Deployment
    • Amazon WorkMail Deployment
    • Exchange 2016 and Newer Deployment
  • 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
  • Known Behaviors and FAQs
  • Online Service Terms

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    MX Deployment vs. Inline Deployment in Email Gateway Defense
    Published Nov 13

    MX Deployment vs. Inline Deployment in Email Gateway Defense

    Subscribe

    Email Gateway Defense supports two deployment methods for filtering inbound mail: MX deployment and inline deployment. Outbound mail is filtered the same way regardless of deployment method. Both methods provide Barracuda Networks email security, but they route inbound mail differently and are designed for different operational requirements. Use this article to understand how each method works and which method best fits your organization.

    • 1 MX Deployment
      • 1.1 How MX Deployment Works with Microsoft 365
      • 1.2 Key Characteristics
    • 2 Inline Deployment
      • 2.1 How Inline Deployment Works
      • 2.2 Key Characteristics
    • 3 Comparing Deployment Methods
    • 4 Choosing the Right Deployment Method
    • 5 Related Articles

    MX Deployment

    With MX deployment, you update your domain's DNS MX records to point to Email Gateway Defense. All inbound mail for your domain is received by Barracuda Networks first, filtered, and then delivered to your mail platform.

    Typical mail flow: Internet > Email Gateway Defense > Mail platform (for example, Microsoft 365)

    egdMX.png

    How MX Deployment Works with Microsoft 365

    1. Your domain's MX records point to Email Gateway Defense, so Barracuda Networks is the first hop for all inbound mail.

    2. Barracuda Networks scans each message (anti-spam, anti-phishing, anti-malware, content filtering, reputation services, and policy and compliance) before delivery.

    3. Messages that are blocked or quarantined by Email Gateway Defense are not delivered to Microsoft 365. These messages are visible in the Email Gateway Defense Message Log and quarantine.

    4. Allowed messages are forwarded to Microsoft 365. When Enhanced Filtering for Connectors is configured, Microsoft 365 can identify the original sender IP address, and Exchange Online Protection applies its own filtering.

    5. Microsoft 365 delivers the message to the user's Inbox or Junk folder, or holds it in Microsoft 365 hosted quarantine, depending on your Microsoft 365 settings.

    Key Characteristics

    • Widely adopted deployment model across organizations of different sizes.

    • Supports Email Continuity capabilities.

    • Integrates with Microsoft 365 using Enhanced Filtering for Connectors.

    • Provides pre-delivery inspection before messages reach the destination mail platform.

    • Compatible with Microsoft 365, Google Workspace, Amazon WorkMail, on-premises mail servers, and other mail platforms.

    • Requires access to your DNS hosting account to update MX records.

    Inline Deployment

    Inline deployment is available only for Microsoft 365. Instead of routing mail with MX records, the setup wizard configures Microsoft 365 mail flow rules and connectors that route mail through Barracuda Networks for scanning before final delivery. Microsoft 365 remains the initial recipient of inbound mail. Microsoft refers to this type of deployment as in-and-out mail routing. For Microsoft's guidance, see Integrate non-Microsoft security services with Microsoft 365.

    Typical mail flow: Internet > Microsoft 365 > Barracuda Networks > Microsoft 365 > User mailbox

    egdInline.png

    How Inline Deployment Works

    1. Inbound mail is received by Microsoft 365 first, where Microsoft 365 applies its email protection and processing before messages are routed to Barracuda Networks. Enhanced Filtering for Connectors is not supported with inline deployment.

    2. A mail flow rule routes inbound messages from Microsoft 365 to Barracuda Networks for scanning before final delivery to the user's mailbox.

    3. Barracuda Networks scans the message. Messages that Barracuda Networks blocks or quarantines are not returned to Microsoft 365. These messages are visible in the Email Gateway Defense Message Log and quarantine.

    4. Allowed messages are returned to Microsoft 365. The connection filtering policy trusts Barracuda Networks IP addresses and stamps the message with a spam confidence level (SCL) of -1.

      • Microsoft 365 processes the returned message as a new message and applies its own actions, such as delivering it to the user's Inbox or Junk folder, or holding it in Microsoft 365 hosted quarantine.

    Note: Setting SCL to -1 bypasses spam, high confidence spam, and phishing filtering only. Messages that Microsoft 365 identifies as high confidence phishing or malware can still be held in Microsoft 365 hosted quarantine and not delivered to the user.

    Key Characteristics

    • Designed specifically for Microsoft 365 environments.

    • Uses Microsoft 365 mail flow controls and connectors.

    • Allows Microsoft 365 to remain the initial point of mail acceptance.

    • Offers flexibility for organizations with established Microsoft 365 routing requirements.

    • Business continuity relies on Microsoft 365 services.

    For inline deployment requirements, Microsoft 365 changes, and operational considerations, see Inline Deployment Considerations and Requirements.

    Comparing Deployment Methods

    The following table summarizes the differences between the two deployment methods. Review these differences to decide which method best fits your environment.

     

    MX Deployment

    Inline Deployment

     

    MX Deployment

    Inline Deployment

    Supported mail platforms

    Microsoft 365, Google Workspace, Amazon WorkMail, on-premises, and others

    Microsoft 365 only

    How mail is routed

    DNS MX records

    Microsoft 365 mail flow rules and connectors

    First recipient of inbound mail

    Email Gateway Defense

    Microsoft 365

    Email Continuity and spooling

    Available

    Not available

    Licensing

    Email Gateway Defense (standalone) or Email Protection

    Email Protection (Email Gateway Defense, Integrated Email Protection)

    Enhanced Filtering for Connectors

    Supported

    Not supported

    Choosing the Right Deployment Method

    Consider MX deployment if you want:

    • Email Continuity and spooling

    • Support for multiple mail platforms

    • A dedicated pre-delivery email security layer

    • To use Email Gateway Defense as a standalone product

    Consider inline deployment if you want:

    • A Microsoft 365-specific deployment model

    • Microsoft 365 to remain the initial recipient of inbound mail

    • Alignment with existing Microsoft 365 mail routing workflows

    Organizations that require email continuity, message spooling, or support for non-Microsoft mail platforms may want to evaluate whether an MX deployment is a better fit for their requirements.

    Both deployment methods deliver Barracuda email security capabilities. The best choice depends on your organization's operational preferences, business continuity requirements, and email infrastructure design.

    If you are considering inline deployment, see Inline Deployment Considerations and Requirements before you begin.

    Related Articles

    • Inline Deployment Considerations and Requirements

    • Step 2 - Configure Microsoft 365 for Inbound and Outbound Mail

    • Email Protection Advanced Plan Initial Deployment

    • Integrate non-Microsoft security services with Microsoft 365 - Microsoft Defender for Office 365


    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": 10, "requestCorrelationId": "73ec8e72f1a54199add19fdd4749a1c3"}