Join our Newsletter — 33% off our NHI Course
Home› Guides› Barracuda Email Protection Hardening Guide: Gateway Policies, Impersonation…
Guide Email & Communications Security

Barracuda Email Protection Hardening Guide: Gateway Policies, Impersonation Defence and Patching

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 20 November 2026 17 min read
On this page

Hardening Barracuda Email Protection means tightening the inbound policy set, enforcing sender authentication, scoping administrator roles to the minimum and treating the gateway itself as a high-value system that must be patched and watched. An email gateway sits in front of every mailbox in the organisation, holds directory and mail-flow credentials, and decides what reaches users. A weak policy lets phishing through; a weak administrative posture lets an attacker turn the gateway into a quiet foothold. This guide walks through the settings Barracuda documents for Email Gateway Defense and the Email Security Gateway appliance, explains what each one does, and shows where identity and non-human credentials fit.

The guide is written for email, identity and security operations teams who already run Barracuda Email Protection and want a repeatable baseline. It focuses on configuration and operations, not product selection. For the architectural question of where a gateway fits next to API-based tools, see the ICES vs Secure Email Gateway guide.

This is an independent guide from NHI Mgmt Group, based on Barracuda's public documentation as of November 2026. It is not sponsored or reviewed by Barracuda. Product features change, so confirm settings against Barracuda's current documentation.

Key takeaways

  • Barracuda publishes Default, Relaxed and Strict values for each inbound toggle. Start from Default, then move individual settings towards Strict once you have measured the effect in the Message Log.
  • DMARC evaluation takes precedence over SPF and DKIM in Email Gateway Defense, so a sender's reject or quarantine policy sets the final action. Keep DMARC checks on and keep exemptions rare.
  • Every exemption, whether for SPF, DKIM, DMARC or a sender policy, weakens protection. Barracuda's own health check looks for full-domain exemptions, policies on your own domain and policies older than 90 days.
  • Assign the narrowest role that works. Email Gateway Defense has four roles, each user gets exactly one, and Help Desk cannot see message bodies or the Audit log.
  • Domain-level settings override account-level settings. Hunt for them, because they can silently undo a baseline you set at account level.
  • For the on-premises Email Security Gateway appliance, Barracuda's advisory for CVE-2023-2868 told customers to replace compromised appliances regardless of patch level and to rotate every credential connected to the appliance. Plan for that scenario before you need it.

Which Barracuda email products this covers

Barracuda Email Protection is a family of products. This guide concentrates on two of them because they carry the gateway role:

  • Email Gateway Defense, the cloud-hosted gateway that filters inbound and outbound mail before it reaches the mail platform. Its settings are managed in the web interface under pages such as Inbound Settings, Sender Policies, Domains and Message Log.
  • Email Security Gateway (ESG), the appliance form factor, deployed as hardware or a virtual machine. It shares many filtering concepts with the cloud service but is patched and operated like any other appliance on your network.

Barracuda also documents Impersonation Protection, Incident Response and an Outlook add-in that work alongside the gateway. They appear here where Barracuda's own health check refers to them. Settings and menu names below are quoted from Barracuda's documentation; where the documentation does not give a recommendation, this guide says so rather than inventing one.

Inbound policy baseline

Barracuda's Inbound Settings best practices page lists each toggle with three values: Default, Relaxed and Strict. It does not mark one column as mandatory and asks administrators to adjust defaults to their own preference. It also notes that the table is not an exhaustive list of policies and covers toggles only, not custom rules such as sender policies. The table below reproduces a selection.

SettingDefaultRelaxedStrict
Anti-Fraud IntelligenceBlockQuarantineBlock
BRBLBlockQuarantineBlock
Intent AnalysisBlockQuarantineBlock
Content IntentBlockQuarantineBlock
Enable ATPScan First, Then DeliverScan First, Then DeliverScan First, Then Deliver
Link ProtectionOnOnOn
Typosquatting ProtectionOnOnOn
Password Protected ArchiveBlockBlockBlock
Password Protected MS OfficeIgnoreQuarantineBlock
Password Protected PDFIgnoreQuarantineBlock
Bulk MailOffQuarantineBlock
Spam: Block554
Spam: Quarantine0 (off)43
No PTR RecordYesYesYes

A few points stand out for a hardening programme:

  • Advanced Threat Protection is the same in every column. "Scan First, Then Deliver" holds a message until attachment analysis completes. Treat any deviation from that value as an exception that needs a written reason.
  • Link Protection and Typosquatting Protection are on in every column. If either is off in your tenant, that is a gap to close before tuning anything else.
  • Password-protected files are a known evasion route. Archives are blocked in all three columns. Office documents and PDFs are ignored by default; moving them to Quarantine gives analysts a chance to review them without a hard block on legitimate business traffic.
  • Quarantine is off by default for spam scores. Turning on a quarantine threshold, together with end-user digests, gives users a controlled way to release borderline mail instead of asking IT to create exemptions.

Make one change at a time, record it, and review the Message Log for a week before the next change. That discipline is what keeps a baseline from collapsing back into exemptions.

Sender authentication: SPF, DKIM and DMARC

Barracuda documents its sender checks on the Sender Authentication page. The behaviour that matters most is the order of precedence: DMARC evaluation takes precedence over SPF, DKIM and related policies, and a reject or quarantine DMARC policy sets the final action even if SPF or DKIM pass or exemptions exist.

DMARC checks

The DMARC setting offers Yes, No and DMARC Exempt, where an exemption is entered as the header From domain. Keep the setting at Yes. Exemptions match only the header From domain, so an exemption for a partner domain applies to anyone who can put that domain in the visible From line.

DKIM policy

The DKIM policy offers Block, Quarantine and Off, with Off as the default, plus DKIM Exempt by the d= domain in the signature. Barracuda notes that DKIM validates the d= domain, not the header From domain, and that DMARC is what checks alignment between them. The DKIM setting does not affect DMARC enforcement. Barracuda also warns that changing a message after signing, such as adding a disclaimer, breaks DKIM, and states that exemptions weaken authentication and should be used sparingly.

SPF policy

SPF settings live under Inbound Settings, Sender Authentication. Hard Fail defaults to Block; Soft Fail and "Block on No SPF Records" default to Off. SPF exemptions can be set by IP address or by domain. Barracuda points out that SPF checks the envelope sender, not the visible From address, and that a PermError result is treated as a pass with scanning continuing. That last point is easy to miss: a sender with a broken SPF record is not penalised by SPF alone, which is another reason to rely on DMARC.

Sender Spoof Protection

"Enable Sender Spoof Protection" is a domain option (Domains tab, Edit, Options). It blocks messages where the Header From or Envelope From domain matches your own domain in Envelope To. Barracuda recommends it when your domain has no SPF or DMARC records. Note the documented caveats: it does not protect against spoofing between different domains in the same account, SPF, DKIM and DMARC checks are skipped for these messages, and an Exempt sender policy for an address bypasses the protection.

The better long-term answer is to publish your own records. The DMARC, SPF and DKIM Guide covers the move to p=reject, which Barracuda's health check also looks for.

Sender policies and exemption hygiene

Sender policies (allow, block, exempt) are where good baselines quietly decay. Each exemption is usually created for a sound reason: a supplier's mail was blocked, a ticket was raised, someone added the domain to the exempt list. Months later nobody remembers why, and the exempt entry has become a reliable delivery path for anyone who spoofs that supplier.

Barracuda's Email Protection Health Check describes what its reviewers look for, and the list doubles as an internal audit:

  • Policies on your own domain. An allow or exempt policy for your own domain is an invitation to internal spoofing.
  • Full-domain exemptions for common services. Large shared platforms send mail for many customers, so a domain-wide exemption covers far more than the one tenant you meant.
  • Entries without comments. Require a ticket reference and owner in the comment for every new entry.
  • Policies older than 90 days. Review and either justify or remove them.
  • Recently added exemptions visible in the Message Log. Use the Reason attribute and advanced search to see which messages an exemption actually let through.

A practical rule is that no exemption should be broader than the problem it solves. If a single sending IP is failing SPF, exempt that IP, not the domain, and set a review date.

Domain-level overrides

Barracuda's health check calls out a subtle problem: domain-level settings override account-level settings, which can make account-level changes ineffective. A domain administrator or help desk user can create a domain-level policy, and from then on that domain no longer follows the account baseline you tuned.

The health check describes two ways to find them. In the Domains tab, a domain with overrides shows an orange flag, with an option to "reset to account policies". In the Message Log, the search string reason_extra:domain surfaces messages that were handled by a domain-level setting. Run that search monthly and treat each hit as a change to review.

Where you genuinely need different behaviour for a subsidiary or a special-purpose domain, document it as a deliberate exception with an owner. Otherwise, reset to account policies.

Administrator roles and access

Email Gateway Defense defines four roles, and each user can be assigned only one:

RoleScopeNotable permissions
AdministratorWhole accountView and deliver messages for any domain, edit all account and domain settings, impersonate users, view and export the Audit log, modify security settings
Domain administratorPermitted domainsView and deliver messages, edit domain-level settings and policies, impersonate users in the domain, view and export the Audit log
Help DeskPermitted domainsView message headers and deliver messages, view domain settings; cannot view message bodies or the Audit log
UserOwn accountView and deliver own messages, update own sender policies and quarantine notifications

Barracuda notes that the Domain administrator role is only available to existing customers with domain-specific settings. The Administrator and Domain administrator roles can both impersonate users and read message content, which makes them privileged identities in the full sense: they can read the mail of anyone in scope. Recommended practice:

  • Keep the number of Administrator accounts small and named. Shared administrator logins defeat the Audit log.
  • Give first-line support the Help Desk role. It allows message release without exposing bodies.
  • Remember that the User role can update its own sender policies. Decide whether end-user allow lists fit your risk appetite, and review them with the rest of the exemption set.
  • Enforce strong, phishing-resistant authentication for administrative sign-in through whatever identity method your Barracuda account supports. The roles page itself does not describe MFA settings, so confirm the available options with Barracuda's current documentation.
  • Export the Audit log to your SIEM and alert on role changes, user impersonation and changes to security settings.

Credentials and integrations the gateway holds

An email gateway is rich in non-human identities. Barracuda's ESG advisory lists the credentials that customers with compromised appliances were told to rotate: LDAP or Active Directory, Barracuda Cloud Control, FTP server, SMB and private TLS certificates. That list is a useful inventory template for any deployment, cloud or appliance:

  • Directory bind accounts used for recipient verification or LDAP lookups. Use a dedicated read-only account, restrict where it can log in from, and record it in your NHI inventory.
  • Mail platform connectors. The health check verifies that the Barracuda partner connector is configured, because a missing connector can cause sender rewriting (SRS) problems. Connector configuration is part of the trust path, so changes to it should go through change control.
  • Backup and archive destinations such as FTP or SMB shares. Use accounts scoped to the target share only.
  • TLS private keys on the appliance. Track where they are installed and how you would reissue them.
  • Cloud management accounts that link appliances to Barracuda's cloud console.

Write a rotation runbook for each credential now, with the system owner, the dependent services and the expected outage. If you ever need to rotate everything at once, that runbook is the difference between an afternoon and a week. The gateway compromise playbook sets out the wider response sequence.

Security updates and advisories

Patching is the control that matters most for an appliance, and Barracuda's ESG vulnerability advisory is the reference to read in full. Points from it that should shape your operating model:

  • CVE-2023-2868 was a remote command injection issue in the ESG appliance form factor only, affecting versions 5.1.3.001 through 9.2.0.006. Barracuda applied a security patch to all ESG appliances on 20 May 2023 and a second patch on 21 May 2023. CISA lists the CVE in the Known Exploited Vulnerabilities Catalog.
  • In June 2023 the advisory stated that compromised ESG appliances must be immediately replaced regardless of patch version level. Only appliances showing a compromise notice in the user interface were considered affected. The recommended steps were to confirm the appliance receives updates, stop using a compromised appliance and obtain a replacement, rotate connected credentials, and review network logs for the published indicators.
  • The advisory states that no other Barracuda products, including its SaaS email solutions, were affected by CVE-2023-2868.
  • In December 2023 Barracuda published a further update covering CVE-2023-7102 in the Spreadsheet::ParseExcel library used by the Amavis scanner in ESG, with an automatic security update deployed to active ESGs on 21 December 2023. CVE-2023-7101 was filed for the library itself.
  • The advisory publishes host and network indicators, YARA rules and Snort and Suricata signatures. Load them into your detection tooling if you run or have run ESG appliances.

What to build from this:

  1. Confirm every appliance is configured to receive Barracuda updates, and check that it actually has, rather than trusting the setting.
  2. Subscribe the email and security operations teams to Barracuda's security advisories and to the KEV catalogue feed, and track gateway CVEs against a remediation deadline.
  3. Decide in advance who can authorise taking a gateway out of service, and how mail will flow if you do. A replacement decision is far easier when a fallback route already exists.
  4. Monitor appliance outbound connections. A gateway should talk to a known, short list of destinations.

Post-delivery remediation and user reporting

No gateway catches everything, so the health check also looks at what happens after delivery. For customers using Impersonation Protection or Incident Response, it reviews threats remediated after delivery, which can be filtered in the Message Log with the Reason values "Remediated by Impersonation Protection" and "Remediated by Incident Response". It checks Impersonation Protection remediation settings, where the attack response options include moving a message to Junk or permanently deleting it, and whether account takeover alerts are configured, ideally to a dedicated shared mailbox.

The health check also confirms that the Outlook Barracuda Email Protection Add-In is deployed to all users and that users are reporting messages. User reports are only useful if someone triages them, so route them to a monitored queue and measure time to action.

Account takeover alerts deserve special handling. A compromised mailbox is a valid identity sending internal mail, which bypasses most inbound controls. Feed those alerts into the same workflow your identity team uses for suspicious sign-ins, so that a session can be revoked and credentials reset quickly. The Business Email Compromise Response Playbook covers the response steps.

Logging and monitoring

Two log sources matter. The Message Log shows how each message was handled, with the Reason attribute explaining which policy acted. The Audit log, available to Administrator and Domain administrator roles, records administrative actions. Forward both to your SIEM where your deployment allows, and build at least these reviews:

  • New or changed sender policies and exemptions, with the account that made the change.
  • User impersonation events by administrators.
  • Domain-level overrides, using reason_extra:domain.
  • Messages delivered because of an exemption, grouped by exemption entry.
  • For appliances, outbound connections to unexpected destinations and any match against Barracuda's published indicators.

These reviews map naturally to NIST SP 800-53 controls SI-8 (Spam Protection), AU-6 (Audit Record Review, Analysis, and Reporting) and SI-4 (System Monitoring). The relevant MITRE ATT&CK techniques are T1566 (Phishing) for the mail the gateway filters, and T1190 (Exploit Public-Facing Application) and T1078 (Valid Accounts) for attacks on the gateway and its credentials.

Common failure patterns

  • Exemption creep. Domain-wide exemptions for shared platforms, added during an incident and never removed.
  • Own-domain allow policies. Created to fix a forwarding issue, they let spoofed internal mail through.
  • Silent domain overrides. A domain-level policy diverges from the account baseline and nobody notices because the account settings look correct.
  • Too many Administrators. Everyone in the email team has full rights, including user impersonation, and the Audit log is not reviewed.
  • Relying on SPF alone. PermError is treated as a pass, and SPF checks only the envelope sender, so DMARC enforcement is what actually stops display-domain spoofing.
  • Disclaimers that break DKIM. Footers added after signing cause DKIM failures that then prompt exemptions.
  • Unmanaged appliance credentials. Directory bind accounts and backup shares with broad rights and passwords that have never been rotated.
  • No replacement plan. An appliance is known to need replacement but there is no fallback mail route, so it stays in service.

Practitioner checklist

  • Compare every inbound toggle against Barracuda's Default, Relaxed and Strict table and record your chosen value and reason.
  • Confirm Enable ATP is "Scan First, Then Deliver" and that Link Protection and Typosquatting Protection are on.
  • Set DMARC checks to Yes and remove any DMARC, DKIM or SPF exemption without a current owner.
  • Publish your own SPF, DKIM and DMARC records and move towards p=reject.
  • Remove sender policies on your own domain and full-domain exemptions for shared platforms.
  • Require a comment with ticket and owner on every sender policy, and review entries older than 90 days.
  • Search reason_extra:domain monthly and reset unintended domain overrides to account policies.
  • Reduce Administrator accounts to a small named group and give support staff the Help Desk role.
  • Forward the Audit log and Message Log to your SIEM and alert on role changes and user impersonation.
  • Inventory every credential the gateway holds and write a rotation runbook for each.
  • For appliances, verify updates are applied, subscribe to Barracuda advisories and the KEV catalogue, and document a fallback mail route.
  • Deploy the Outlook add-in to all users and send account takeover alerts to a monitored shared mailbox.

Standards and references

Related NHI Mgmt Group resources: Email Security Guide · DMARC, SPF and DKIM Guide · Email security gateway health check · ICES vs Secure Email Gateway

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.