Cyberoam Anti Spam Implementation Guide: Document Version 9402-1.0-18/10/2006
Cyberoam Anti Spam Implementation Guide: Document Version 9402-1.0-18/10/2006
Implementation Guide
Version 9
IMPORTANT NOTICE
Elitecore has supplied this Information believing it to be accurate and reliable at the time of printing, but is presented without
warranty of any kind, expressed or implied. Users must take full responsibility for their application of any products. Elitecore
assumes no responsibility for any errors that may appear in this document. Elitecore reserves the right, without notice to make
changes in product design or specifications. Information is subject to change without notice.
USERS LICENSE
The Appliance described in this document is furnished under the terms of Elitecores End User license agreement. Please
read these terms and conditions carefully before using the Appliance. By using this Appliance, you agree to be bound by the
terms and conditions of this license. If you do not agree with the terms of this license, promptly return the unused Appliance
and manual (with proof of payment) to the place of purchase for a full refund.
LIMITED WARRANTY
Software: Elitecore warrants for a period of ninety (90) days from the date of shipment from Elitecore: (1) the media on which
the Software is furnished will be free of defects in materials and workmanship under normal use; and (2) the Software
substantially conforms to its published specifications except for the foregoing, the software is provided AS IS. This limited
warranty extends only to the customer as the original licenses. Customers exclusive remedy and the entire liability of Elitecore
and its suppliers under this warranty will be, at Elitecore or its service centers option, repair, replacement, or refund of the
software if reported (or, upon, request, returned) to the party supplying the software to the customer. In no event does Elitecore
warrant that the Software is error free, or that the customer will be able to operate the software without problems or
interruptions. Elitecore hereby declares that the anti virus and anti spam modules are powered by Kaspersky Labs and the
performance thereof is under warranty provided by Kaspersky Labs. It is specified that Kaspersky Lab does not warrant that the
Software identifies all known viruses, nor that the Software will not occasionally erroneously report a virus in a title not infected
by that virus.
Hardware: Elitecore warrants that the Hardware portion of the Elitecore Products excluding power supplies, fans and electrical
components will be free from material defects in workmanship and materials for a period of One (1) year. Elitecore's sole
obligation shall be to repair or replace the defective Hardware at no charge to the original owner. The replacement Hardware
need not be new or of an identical make, model or part; Elitecore may, in its discretion, replace the defective Hardware (or any
part thereof) with any reconditioned product that Elitecore reasonably determines is substantially equivalent (or superior) in all
material respects to the defective Hardware.
DISCLAIMER OF WARRANTY
Except as specified in this warranty, all expressed or implied conditions, representations, and warranties including, without
limitation, any implied warranty or merchantability, fitness for a particular purpose, non-infringement or arising from a course of
dealing, usage, or trade practice, and hereby excluded to the extent allowed by applicable law.
In no event will Elitecore or its supplier be liable for any lost revenue, profit, or data, or for special, indirect, consequential,
incidental, or punitive damages however caused and regardless of the theory of liability arising out of the use of or inability to
use the product even if Elitecore or its suppliers have been advised of the possibility of such damages. In the event shall
Elitecores or its suppliers liability to the customer, whether in contract, tort (including negligence) or otherwise, exceed the
price paid by the customer. The foregoing limitations shall apply even if the above stated warranty fails of its essential purpose.
In no event shall Elitecore or its supplier be liable for any indirect, special, consequential, or incidental damages, including,
without limitation, lost profits or loss or damage to data arising out of the use or inability to use this manual, even if Elitecore or
its suppliers have been advised of the possibility of such damages.
RESTRICTED RIGHTS
Copyright 2000 Elitecore Technologies Ltd. All rights reserved. Cyberoam, Cyberoam logo are trademark of Elitecore
Technologies Ltd. Information supplies by Elitecore Technologies Ltd. Is believed to be accurate and reliable at the time of
printing, but Elitecore Technologies assumes no responsibility for any errors that may appear in this documents. Elitecore
Technologies reserves the right, without notice, to make changes in product design or specifications. Information is subject to
change without notice
CORPORATE HEADQUARTERS
Elitecore Technologies Ltd.
904 Silicon Tower,
Off. C.G. Road,
Ahmedabad 380015, INDIA
Phone: +91-79-26405600
Fax: +91-79-26407640
Web site: www.elitecore.com , www.cyberoam.com
Contents
Guide Sets
Guide
User Guide
Console Guide
Windows Client Guide
Linux Client Guide
HTTP Client Guide
Analytical Tool Guide
LDAP Integration Guide
ADS Integration Guide
PDC Integration Guide
RADIUS Integration Guide
High Availability Configuration
Guide
Multi Link Manager User Guide
VPN Management
Cyberoam IDP Implementation
Guide
Cyberoam Anti Virus
Implementation Guide
Cyberoam Anti Spam
Implementation Guide
Describes
Console Management
Installation & configuration of Cyberoam Windows
Client
Installation & configuration of Cyberoam Linux
Client
Installation & configuration of Cyberoam HTTP
Client
Using the Analytical tool for diagnosing and
troubleshooting common problems
Configuration for integrating LDAP with Cyberoam
for external authentication
Configuration for integrating ADS with Cyberoam
for external authentication
Configuration for integrating PDC with Cyberoam
for external authentication
Configuration for integrating RADIUS with
Cyberoam for external authentication
Configuration of High Availability (HA)
Configuration of Multiple Gateways, load balancing
and failover
Implementing and managing VPN
Configuring, implementing and managing Intrusion
Detection and Prevention
Configuring and implementing anti virus solution
Configuring and implementing anti spam solution
Technical Support
You may direct all questions, comments, or requests concerning the software you purchased, your
registration status, or similar issues to Customer care/service department at the following address:
Corporate Office
eLitecore Technologies Ltd.
904, Silicon Tower
Off C.G. Road
Ahmedabad 380015
Gujarat, India.
Phone: +91-79-26405600
Fax: +91-79-26407640
Web site: www.elitecore.com
Cyberoam contact:
Technical support (Corporate Office): +91-79-26400707
Email: [email protected]
Web site: www.cyberoam.com
Typographic Conventions
Material in this manual is presented in text, screen displays, or command-line notation.
Item
Convention
Server
Client
User
Username
Part titles
Topic titles
Example
Bold and
shaded font
typefaces
Shaded font
typefaces
Report
Introduction
Subtitles
Navigation link
Bold typeface
Name of a
particular
parameter /
field / command
button text
Cross
references
Lowercase
italic type
Bold typeface
between the
black borders
Bold typefaces
between the
black borders
Prerequisites
Hyperlink in
different color
Notation conventions
Note
Prerequisite
Prerequisite details
Overview
Welcome to Cyberoams Anti Spam User guide.
Cyberoam is an Identity-based UTM Appliance. Cyberoams solution is purpose-built to meet the
security needs of corporates, government organizations, and educational institutions.
Cyberoams perfect blend of best-of-breed solutions includes User based Firewall, Content
filtering, Anti Virus, Anti Spam, Intrusion Detection and Prevention (IDP), and VPN.
Cyberoam provides increased LAN security by providing separate port for connecting to the
publicly accessible servers like Web server, Mail server, FTP server etc. hosted in DMZ which are
visible the external world and still have firewall protection.
Cyberoam Anti Spam as a part of unified solution along with Anti Virus and IDP (Intrusion
Detection and Prevention), provides real time virus and spam scanning.
Anti Spam module is an add-on module which needs to be subscribed before use. Refer to
Licensing section for details on registration.
Spam
Spam refers to electronic junk mail or junk newsgroup postings. Some people define spam even
more generally as any unsolicited e-mail.
Spamming is to indiscriminately send unsolicited, unwanted, irrelevant, or inappropriate messages,
especially commercial advertising in mass quantities. In other words, it is an inappropriate attempt
to use a mailing list, or other networked communications facility as a broadcast medium by
sending the same message to a large number of people who did not ask for it.
In addition to being a nuisance, it also eats up a lot of network bandwidth. Because the Internet is
a public network, little can be done to prevent spam, just as it is impossible to prevent junk mail.
However, the use of software filters in e-mail programs can be used to remove most spam sent
through e-mail to certain extent.
With the number of computer users growing and the exchange of information via the Internet and
email increases in volume, spamming has become an almost everyday occurrence. Apart from
network bandwidth, it also affects the employees productive as deletion of such mails is a huge
task. Anti spam protection is therefore a priority for anyone who uses a computer.
Enable Scanning
Enable anti-spam scanning using firewall rules. While anti-spam settings can be configured for
system-wide use, they can also be implemented with specific settings on a per user basis. Refer to
Cyberoam User Guide, Firewall section for creating firewall rules for enabling the anti-spam
scanning.
You can enable anti spam scanning by creating firewall rule for:
Zone
User/User Group
Host/Host Group
By enabling scanning through firewall, you can customize levels of protection. For example, while
traffic between LAN and WAN might need strict protection, traffic between trusted internal
addresses might need moderate protection. Hence you can enable/disable scanning for particular
combination of source and destination IP address or domain.
Spam Policy
As soon as you register Cyberoam Gateway Anti-spam module, default spam policy is applicable
to all the incoming email traffic. Default spam policy is the general policy and not fit-for-all policy
and hence might allow certain spam mails while block certain required mails also. Fine tuning the
policies means reducing the spam attacks and chances of loosing any important and required
mails.
Spam policy defines what action is to be taken if the mail is identified as a spam and to which
email address the copy of mail is to be send. As network scanning rules control all the traffic
passing through the Cyberoam and decide whether to scan or bypass mail, policy will be applied to
that traffic only that is filtered by network scanning rule.
Types of Policies
1.
Global
Global policy is applicable to all the users. Cyberoam provides blank corporate policy which
can be customized as per the requirement.
2.
Default
Default policy is applicable to all the users except for those users for whom the personal
policy is defined. Default policy is applicable to all the users as soon as you register the Anti
Spam module.
3.
Custom/Personal
Cyberoam allows defining custom policy as per the individual user requirement. Custom user
policy is applicable to only that user for whom the policy is created.
Scanning rules defines which scanning policy is to be applied to which recipient email address i.e.
maps scanning policy to the email address.
Actions
Accept Accepts and delivers the mail to the intended receiver. This action can be defined for
both SMTP and POP/IMAP protocols.
Reject Rejects the mail. This action sends the notification message to sender. This action can
be defined only for SMTP protocol.
Drop Drops the mail. This action does not send any notification message to sender. This action
can be defined only for SMTP protocol.
Change Recipient - Accepts the mail but delivers the mail to the specified receiver and not to the
receiver for whom the mail was originally send. This action can be defined only for SMTP protocol
only.
Prefix Subject Accepts and delivers the mail to the intended receiver but after changing the
subject of the mail. You can customize the subject in such a way that the receiver knows that the
mail is a spam mail. This action can be defined for both SMTP and POP/IMAP protocols.
10
Global policy
Cyberoam provides the blank global policy which can be customized as per your requirement. By
default, global policy applies to all the users. There is no need to apply the global policy to the
users using rules.
Select Anti Spam Spam Policy Global policy to customize policy. Refer to Add
advanced rules for more details.
Default policy
Cyberoam provides a blank default policy which can be customized as per your requirement.
Default policy will be applied to those users only for whom custom/personal policy is not defined.
Select Anti Spam Spam Policy Default policy to customize policy. Refer to Add
advanced rules for more details.
11
Custom policy
Custom scan policy allows you to specify the spam filtering level security i.e. action severity based
on your requirement.
Screen Elements
Description
Create button
Cancel button
Add button
12
Screen Elements
Description
Update button
Cancel button
Advanced Rules
Advanced Rules
13
Screen Elements
Description
Add button
Delete button
Create button
Cancel button
14
Conditions
When Cyberoam Anti Spam identifies Mail as SPAM, Cyberoam accepts and delivers the mail
to the intended receiver but only after adding a prefix SPAM to the original subject of the
mail.
Original subject: This is a test
Receiver will receive the mail with subject line as: SPAM: This is a test
You can customize the subject in such a way that the receiver knows that the mail is
a spam mail. To specify the contents to be prefixed to the existing subject line, select
Prefix Subject as action.
You can set different actions for SMTP and POP.
When Cyberoam Anti Spam identifies Mail as PROBABLE SPAM, Cyberoam accepts and
delivers the mail to the intended receiver but after adding a prefix PROBABLE SPAM to the
original subject of the mail.
Original subject: This is a test
Receiver will receive the mail with subject line as: PROBABLE SPAM: This is a test
You can customize the subject in such a way that the receiver knows that the mail is
a spam mail. To specify the contents to be prefixed to the existing subject line, select
Prefix Subject as action.
You can set different actions for SMTP and POP.
From Email Address/IP address Specified action will be taken if the mail sender email or IP
address matches the specified email address or IP address. You can set action for SMTP
only.
From Email Address/IP address Specified action will be taken if the mail sender email or IP
address belongs to the specified email address or IP address group. You can set action for
SMTP only.
15
16
17
18
Screen Elements
Description
Del
Select All
Delete button
Note
Default policy cannot be deleted.
19
Address Groups
Scanning rule can be defined for individual or group of
Email address
IP address
RBL (Real time black hole List)
Address group is the group of email addresses, IP addresses, or RBLs. Whenever the policy is
applied to the address group, policy is applied to all the addresses included in the group.
RBL is a list of IP addresses whose owners refuse to stop the proliferation of spam i.e. are
responsible for spam or are hijacked for spam relay. This IP addresses might also be used for
spreading virus.
Cyberoam will check each RBL for the connecting IP address. If the IP address matches to the
one on the list then the specified action in policy is taken.
20
Screen Elements
Description
Group
Description
Create button
Cyberoam will check each RBL for the connecting IP address. If the
IP address matches to the one on the list then the specified action
in policy is taken.
Specify full description
Allows maximum of 255 characters
Can be any combination of A Z, a z, _, 0 - 9
Creates group and depending on the group type allows adding
email address, IP addresses or RBL names
Click Add
Type all the email addresses to be grouped specified by comma
e.g.
Cancel button
[email protected], [email protected]
Cancels the current operation
Table Create Email Address Group screen elements
Screen Elements
Description
Del
21
Select All
Delete button
Screen Elements
Description
Delete
Select All
Delete button
22
Spam Rule
Scanning rules defines which scanning policy is to be applied to which recipient email address i.e.
map scanning policy with the email address.
A rule allows to apply:
single policy for a email address or group of addresses
multiple policies for a particular email address or group of addresses
Screen Elements
Spam Rule Details
Action Item
Description
Select whether the rule is for individual email address or group
Specify email address or select the Address Group
23
Screen Elements
Description
Recipient
Address
Address Group
Policy Name
Add button
Cancel button
Screen Elements
Description
Del
Select All
Delete button
24
25
Local Domains
Cyberoam also allows bypassing RBL scanning of mails for certain domains. For this, you have to
define the domains as the trusted domains.
Add Domains
Select Anti Spam Configuration Local Domains
Type Domain name or IP address
Click Add
Mails from the specified domains will not be scanned for RBLs.
Delete Domains
Select Anti Spam Configuration Local Domain to view the list of domains that will
be bypassed from RBL scanning
Screen Elements
Description
Del
Select All
Delete button
26
General Configuration
Select Anti Spam Configuration General Configuration to open the configuration
page
Screen Elements
Description
greater
27
Screen Elements
Description
POP3/IMAP
Mails
greater than size
The POP/IMAP mails greater then the specified size will not be
scanned.
Header to detect recipient for POP3/IMAP
Click Add to specify header which should be used for detecting the
recipients address.
By default, Cyberoam uses Delivered-To and Received headers.
Default headers cannot be deleted
28
Bypass Reporting
By default, Cyberoam Anti Spam generates reports for all the Internal Domains and Email Ids. To
bypass reporting of certain domains and email ids, Administrator has to create an Exclusion
domain list and email id list. All the domains and email ids included in the exclusion list will not be
included in the Anti Spam reports.
To define the exclusion list, select Reports Configure Local Domains or select
Reports Configure Bypass Email Ids
Refer to Reports Guide for the details.
29