Manual Chapter :
Securing SMTP Traffic Using a Custom Configuration
Applies To:
Show VersionsBIG-IP ASM
- 11.5.10, 11.5.9, 11.5.8, 11.5.7, 11.5.6, 11.5.5, 11.5.4, 11.5.3, 11.5.2, 11.5.1
Overview: Creating a custom SMTP security profile
This implementation describes how to secure SMTP traffic. When you create an SMTP security profile, the system provides several security checks for requests sent to a protected SMTP server. When you enable a security check, the system either generates an alarm for, or blocks, any requests that trigger the security check.
You can configure the SMTP security profile to include the following checks:
- Verify SMTP protocol compliance as defined in RFC 2821.
- Validate incoming mail using several criteria.
- Inspect email and attachments for viruses.
- Apply rate limits to the number of messages.
- Validate DNS SPF records.
- Prevent directory harvesting attacks.
- Disallow or allow some of the SMTP methods, such as VRFY, EXPN, and ETRN, that spam senders typically use to attack mail servers.
- Reject the first message from a sender, because legitimate senders retry sending the message, and spam senders typically do not. This process is known as greylisting. The system does not reject subsequent messages from the same sender to the same recipient.
Task summary
Creating a custom SMTP service profile
You create an SMTP service profile optimized for security when you want to fine-tune the way that the BIG-IPsystem scans SMTP traffic for vulnerabilities.
The custom SMTP service profile now appears in the SMTP list screen.
Creating a security profile for SMTP traffic
The SMTP security profile provides security checks that are applicable to the SMTP
protocol.
The BIG-IP system automatically assigns this service profile
to SMTP traffic that a designated virtual server receives.
Enabling anti-virus protection for email
You can warn or block against email attachments containing a suspected virus. To
do this, you configure the Application Security Manager to act as
an ICAP client, and make sure that the SMTP profile has anti-virus options selected.
This prompts an external ICAP server to inspect email and email attachments for viruses
before releasing the content to the SMTP server.
All incoming email attachments will be inspected for viruses.
Modifying associations between service profiles and security profiles
Before you can modify associations between service profiles and security profiles,
you must have created at least one security profile.
When you enable the Protocol Security setting on an FTP,
HTTP, or SMTP service profile, the system automatically assigns the first-listed
security profile to the service profile you configured for that profile. You can review
and modify the current associations between the service profiles and the security
profiles for each protocol.
Creating and securing an SMTP virtual server and pool
Configure a virtual server and a default pool for your network's SMTP servers, and
assign the custom SMTP service profile. When the virtual server receives SMTP traffic,
the SMTP security profile created in Application Security Manager
scans for security vulnerabilities, and then the virtual server can be configured to
perform other actions (such as load balancing) on traffic that passes the
scan.
The custom SMTP virtual server appears in the Virtual Servers list.