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 Essentials

Office 365 Standalone Email Security

  • Last updated on

The standalone Email Security option is available for purchase only through the Barracuda Self-Service Gateway or Barracuda MSP.

Once you complete the Essentials for Office 365 Wizard, the Essentials page displays in Barracuda Cloud Control. Click Set up additional domains to go to the Barracuda Email Security Service Domains page, or continue with your configuration.

BARRACUDA EMAIL SECURITY SERVICE

Step 1. Set Up User Accounts

You can add users manually, or use LDAP or Azure AD authentication to automatically synchronize the Barracuda Email Security Service with your active directory server.

To create a few test accounts during the evaluation period, use the Manually Add Users steps.

Manually Add Users
  1. Go to Users > Add/Update Users:
    AddUpdateUser.png
  2. In the User Accounts field, enter each user email address for the domain on a separate line, and then select from the following options:
    1. Enable User Quarantine – All emails for the user which meet the configured block policy go to the user's quarantine account.

      Depending on how you have configured the quarantine notification interval on the Users > Quarantine Notification page, the user receives a quarantine digest at a specified time. From the Users > Quarantine Notification page you can also enable the user to set their own quarantine notification interval.

    2. Notify New Users – When set to Yes, users receive a welcome email once the account is created.
  3. Click Save Changes. The users are added to the Users > Users List table where you can select from the following actions:
    1. Edit – Click to specify domains this user can manage.
    2. Reset – Click to send the user an email with instructions on how to reset their account password.
    3. Log in as this user – Click to view or change the user's settings (for example, quarantine notifications), view/manage the domains this user manages, and v iew/search/manage the user's Message Log.
    4. Delete – Click to remove the user account.
      UsersList.png

The first time the Barracuda Email Security Service receives an Allowed email for a non-existent user at a domain configured for the service, if that same recipient receives a second email 1-6 days later, a new user account is created. This method of new account creation does not use LDAP lookup, and the user receives an email from the Barracuda Email Security Service with their login information so they can access their quarantine account.

Automatically Add Users

You can configure user authentication via your organization's LDAP server or Azure AD service. For complete setup details, see the following articles:

Step 2. Add Additional Email Domains

Use the steps in this section only if you want to manually add additional email domains, otherwise, go to Step 3. Create Transport Rule.

Obtain the hostname:

  1. Log in to the Office 365 admin center.
  2. In the left pane, click Settings > Domains.
  3. In the Domains table, click on your domain.
  4. Take note of the hostname. This is the address of your destination mail server, for example, cudaware-com.mail.protection.outlook.com
    ManagedDomain.png 

Enter the hostname:

Barracuda recommends using a hostname rather than an IP address so that you can move the destination mail server and update DNS records without making changes to the Barracuda Email Security Service configuration. This address indicates where the Barracuda Email Security Service should direct inbound mail from the Internet to your Office 365 Exchange server. For example, your domain displays to the Internet as: bess-domain.mail.protection.outlook.com

  1. Log in to the Barracuda Email Security Service as administrator, and click Domains, and click Add Domain.
  2. Enter the domain name and destination mail server hostname obtained from your Office 365 account in the dialog box. 
  3. Click Add; the Domain Settings page displays.

Step 3. Create Transport Rule

  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 Bypass spam filtering:
    BypassSpamFiltering.png
  4. In the new rule page, enter a Name to represent the rule.
  5. From the Apply this rule drop-down menu, select The sender > IP address is in any of these ranges or exactly matches:
    SenderIPAddress.png
  6. In the specify IP address ranges page, type the IP address range for the Sender (Barracuda Email Security Service) based on your Barracuda Email Security Service instance, for example, type: 64.235.144.0/20, and click the + symbol.
  7. Type the next IP address range for the Sender, for example, type 209.222.80.0/21, and click the + symbol:
    Specify_IP_Ranges.png 
  8. Click OK.
  9. Scroll to the Properties of this rule section, and in the Priority field, type: 0
  10. Click Save to create the transport rule.
  11. 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.

Step 4. Restrict Inbound Mail to the Barracuda Email Security Service IP Range (Optional)

Important: After updating your MX records, allow 24 hours before completing the steps in this section to allow the records to propagate.

Use the following steps if you want to restrict inbound mail to the Barracuda Email Security Service IP address range:

  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. Click OK.
  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.

If you complete both Step 3. Create Transport Rule and Step 4. Restrict Inbound Mail to the Barracuda Email Security Service IP Range, verify the Restrict Inbound Mail from Outside Your Organization to the Barracuda Email Security Service IP Range rule displays first in the mail flow rules list, and the Transport Rule rule displays second in the mail flow rule list.

 

Step 5. Configure Outbound Mail

If you have multiple domains within your Office 365 tenant and you want to scan only certain domains outbound, see How to Configure Office 365 to Scan Only Selected Domains Outbound.  

If you have not already done so, contact Barracuda Technical Support and request that Outbound Groups be enabled on your Barracuda Email Security Service account.

  1. Log in to the Barracuda Email Security Service, click Domains, and click on the domain name to toggle the MX Records configuration; make note of the Outbound Hostname.  
  2. Log in to the Office 365 admin center, and go to Admin centers > Exchange
  3. In the left pane, click mail flow, and click connectors.
  4. Click the + symbol and use the wizard to create a new connector.

  5. From the From drop-down menu, select Office 365, and from the To drop-down menu, select Partner organization:
    MailFlowScenario.png 

  6. Enter a Name and (optional) Description to identify the connector:
    NewConnector2.png 

  7. Click Next. Select Only when email messages are sent to these domains, click the + symbol, and enter an asterisk (*) in the add domain field:
    AddDomain.png

  8. Click OK, and click Next. Select Route email through these smart hosts, and click the + symbol.

  9. Go to the Barracuda Email Security Service, click the Domains tab, and click on the domain name to toggle the MX records configuration. Copy your outbound hostname, and enter it in the add smart host page:
    AddSmartHost_Updated.png 

  10. Click Save, and click Next. Use the default setting, Always use Transport Layer Security (TLS) to secure the connection (recommended) > Issued by Trusted certificate authority (CA):
    TLS_Issued.png

  11. Click Next. In the confirmation page, verify your settings and click Next. Office 365 runs a test to verify your settings:
    confirmationUpdated.png

  12. When the verification page displays, enter a test email address, and click Validate. Once the verification is complete, your mail flow settings are added.

For additional configuration options and features, log in to the web interface and click Help.

Step 6. Configure Sender Policy Framework for Outbound Mail

To assure Barracuda Networks is the authorized sending mail service of outbound mail from your Barracuda Email Security Service, add the following to the Sender Policy Framework (SPF) record INCLUDE line of the SPF record for your sending mail server for each domain sending outbound mail. Select the relevant SPF INCLUDE based on the region you selected for your Barracuda Email Security Service.

For example, if you are using Office 365, your record would look similar to:

v=spf1 include:spf.protection.outlook.com include:spf.ess.barracudanetworks.com -all

See  Sender Authentication  for more information.

  • If you have an SPF record set up for your domain, edit the existing record, and add the following to the INCLUDE line for each domain sending outbound mail based on your Barracuda Email Security Service instance. For example: include:spf.ess.barracudanetworks.com -all
  • If you do not have an SPF record set up for your domain, use the following value to create a TXT record that creates a HARDFail SPF for your domain based on your Barracuda Email Security Service instance. For example: v=spf1 include:spf.ess.barracudanetworks.com -all

See Sender Policy Framework for Outbound Mail for INCLUDE values based on your Barracuda Email Security Service instance .

Last updated on