B ESA Admin Guide Chapter 01101
B ESA Admin Guide Chapter 01101
B ESA Admin Guide Chapter 01101
Overview of Graymail
Graymail messages are messages that do not fit the definition of spam, for example, newsletters, mailing list
subscriptions, social media notifications, and so on. These messages were of use at some point in time, but
have subsequently diminished in value to the point where the end user no longer wants to receive them.
The difference between graymail and spam is that the end user intentionally provided an email address at
some point (for example, the end user subscribed to a newsletter on an e-commerce website or provided
contact details to an organization during a conference) as opposed to spam, messages that the end user did
not sign up for.
In addition to these, the graymail management solution also help organizations to provide:
Secure unsubscribe option for end users. Mimicking an unsubscribe option is a popular phishing
technique. For this reason, the end users are generally wary of clicking unknown unsubscribe links. For
User Guide for AsyncOS 11.0 for Cisco Email Security Appliances
1
Managing Graymail
Graymail Classification
such scenarios, the cloud-based Unsubscribe Service extracts the original unsubscribe URI, checks the
reputation of the URI, and then performs the unsubscribe process on behalf of the end user. This protects
end users from malicious threats masquerading as unsubscribe links.
Uniform subscription management interface for end users. Different graymail senders use different
layouts for displaying unsubscribe links to the users. The users must search for the unsubscribe link in
the message body and perform the unsubscribing. Irrespective of the graymail senders, the graymail
management solution provides a common layout for displaying unsubscribe links to the users.
Better visibility for administrators into various graymail categories. The graymail engine classifies
each graymail into three categories (see Graymail Classification, on page 2) and the administrators
can set policy controls based on these categories.
Improved spam efficacy
Graymail Classification
The graymail engine classifies each graymail into one of the following categories:
Marketing Email. Advertising messages sent by professional marketing groups, for example, bulletins
from Amazon.com with details about their newly launched products.
Social Network Email. Notification messages from social networks, dating websites, forums, and so
on. Examples include alerts from:
LinkedIn, for jobs that you may be interested in
CNET forums, when a user responds to your post.
Bulk Email. Advertising messages sent by unrecognized marketing groups, for example, newsletters
from TechTarget, a technology media company.
User Guide for AsyncOS 11.0 for Cisco Email Security Appliances
2
Managing Graymail
How Graymail Management Solution Works
Workflow
User Guide for AsyncOS 11.0 for Cisco Email Security Appliances
3
Managing Graymail
How Safe Unsubscribing Works
User Guide for AsyncOS 11.0 for Cisco Email Security Appliances
4
Managing Graymail
Configuring Graymail Detection and Safe Unsubscribing
Workflow
User Guide for AsyncOS 11.0 for Cisco Email Security Appliances
5
Managing Graymail
Graymail Detection and Safe Unsubscribing in Cluster Configurations
Step 5 (Optional) Click Enable Automatic Updates to enable automatic update of the engine.
The appliance fetches the required updates for the particular engine from the update server.
What to Do Next
To configure Graymail Detection and Safe Unsubscribing global settings in CLI, use the graymailconfig
command. For more information, see CLI Reference Guide for AsyncOS for Cisco Email Security Appliances
.
Configuring the Incoming Mail Policy for Graymail Detection and Safe
Unsubscribing
Before You Begin
Enable Graymail Detection and Safe Unsubscribing, on page 6
User Guide for AsyncOS 11.0 for Cisco Email Security Appliances
6
Managing Graymail
Bypassing Graymail Actions using Message Filters
What to Do Next
Note You can also configure outgoing mail policies for graymail detection. Keep in mind that, in this scenario,
you cannot configure safe unsubscribing.
To configure policy settings for Graymail Detection and Safe Unsubscribing in CLI, use the policyconfig
command. For more information, see CLI Reference Guide for AsyncOS for Cisco Email Security Appliances
.
User Guide for AsyncOS 11.0 for Cisco Email Security Appliances
7
Managing Graymail
Monitoring Graymail
The following example specifies that messages received on the listener private_listener must bypass graymail
actions on social network emails.
internal_mail_is_safe:
if (recv-listener == 'private_listener')
{
skip-socialcheck
();
}
Monitoring Graymail
You can view data about detected graymail using the following reports.
Incoming Mail page > Top Senders The top graymail senders. Incoming Mail Page
by Graymail Messages
User Guide for AsyncOS 11.0 for Cisco Email Security Appliances
8
Managing Graymail
Updating Graymail Rules
Internal Users page > User Mail The number of incoming graymail
Flow Details messages under each graymail
category (Marketing, Social, and
Bulk) and the total number of
graymail messages for all the users.
Internal Users page > User Mail The number of incoming graymail
Flow Details > Internal User (drill messages under each graymail
down view) category (Marketing, Social, and
Bulk) and the total number of
graymail messages for a given user.
If you had enabled Marketing Email Scanning under anti-spam settings for a mail policy, after upgrading to
AsyncOS 9.5 or later, keep in mind that:
The number of marketing messages is a sum of marketing messages detected before and after the upgrade.
The total number of graymail messages does not include the number of marketing messages detected
before the upgrade.
The total number of attempted messages also includes the number of marketing messages detected before
the upgrade.
To know the details of existing graymail rules, see the Rule Updates section of the Graymail Detection and
Safe Unsubscribing page in web interface or use the graymailstatus command in CLI.
User Guide for AsyncOS 11.0 for Cisco Email Security Appliances
9
Managing Graymail
End-User Safelist
company logo, contact information, and so on) using Security Services > Block Page Customization. For
instructions, see Customizing the Notification That End Users See If a Site Is Malicious.
End-User Safelist
If the end users in your organization have configured Safelist for their own email accounts, graymail messages
from a sender in the safelist will not be scanned by the graymail scanning engine. For more information about
Safelists, see Using Safelists and Blocklists to Control Email Delivery Based on Sender.
Viewing Logs
The graymail detection and safe unsubscribing information is posted to the following logs:
Graymail Engine Logs. Contains information about the graymail engine, status, configuration, and so
on. Most information is at Info or Debug level.
Graymail Archive. Contains archived messages (the messages that are scanned and associated with the
archive message action). The format is an mbox-format log file.
Mail Logs. Contains information about graymail detection and addition of banner for safe unsubscribing.
Most information is at Info or Debug level.
The end users can use the URL provided at the bottom of the unsubscribe page to unsubscribe manually.
User Guide for AsyncOS 11.0 for Cisco Email Security Appliances
10