Site icon RDR-IT

Sophos XG: secure emails

Introduction

In this tutorial, we will see how to secure emails with a Sophos XG firewall.

The firewall offers two modes of operation for filtering emails:

In both modes the security options are the same:

In the tutorial, we will take a tour of the various protection options available, the Sophos site offers a complete documentation of each available element.

Prerequisites

Add a rule for incoming emails

1. On the Web interface go to the list of rules (Firewall) 1 then click Add firewall rule 2 and choose Business application rule 3 .

2. In Application Template choose Email Servers (SMTP) 1 .

3. Configure the rule:

  • 1 Name the rule.
  • 2 Source Wan.
  • 3 Public IP address for receiving emails.
  • 4 SMTP Services (S) port 25 and 587.
  • 5 Internal server that will receive emails.
  • 6 Zone where the server is located
  • 7 Check, check both boxes to enable security
  • 8 Check Log firewall traffic to have logs
  • 9 Click on Save.

4. The rule is added 1 .

Configure email protection

The protection of emails is accessible through the menu by clicking on Email.

General Settings

In this part is the general configuration of the SMTP security behavior.

I’m only going to introduce the modules that are used in the LEGACY mode

SMTP deployment mode

Change the function mode of SMTP MTA or LEGACY protection.

SMTP settings

Adjusts the behavior for scanning attachments and enables reputation control and behavior.

Messaging journal

This option allows you to configure sending incoming copy of email to another mailbox.

I personally use this option to transfer messages from person leaving the company to the replacement. This will remove the box on the mail server.

Spam verification exceptions

Allows you to configure domains that will not be scanned by the antispam engine.

Anti-malware protection

Allows you to choose the antivirus engine (sophos or avira).

Strategies

This section contains the control rules that incoming emails will undergo to know if they are sent to the mail server, quarantined or blocked.

They work like firewall rules, they are read from top to bottom. If an email is not filtered by any of the rules, then it is forwarded to the server.

When adding a strategy, there are two choices

SMTP antimalware control

This control adjusts the antivirus behavior (single / double) depending on the type of attachment.

SMTP antispam control

This control makes it possible to configure the behavior of the antispam according to several criteria and to choose an action.

Quarantine report

This option allows you to set the email alerts sent to users if emails are quarantined on the firewall.

Access to quarantine is not the user portal.

Exit mobile version