How To Allow and Block Emails using White or Black List Applicable Version: 10.00 onwards Overview Cyberoam s Anti Spam detects Spam mails by checking IP addresses, Domain, Email addresses or RBL (Real-time Blackhole List). Cyberoam allows administrators to Whitelist or Blacklist Email Addresses. Emails from Whitelisted Email Addresses are bypassed during Anti Spam scanning while Emails from Blacklisted Addresses are blocked. This article describes how you can create White List and Black List and use them for allowing or blocking Emails. Scenario This article consists of Two (2) sections: Whitelist: Create a Whitelist and allow all mails from member Email Address without scanning. Blacklist: Create a Blacklist and block mails from member Email Addresses. Prerequisite Anti Spam module should be subscribed. Configuration You must be logged on to the Web Admin Console as an administrator with Read-Write permission for relevant feature(s). Whitelist Step 1: Create Address Group Create an Address Group called Whitelist consisting of Email Addresses whose Emails are to be bypassed while Anti Spam scanning. To create Group, go to Anti Spam > Configuration > Address Group and click Add to create a group using following parameters.
Name WhiteList Specify a name to identify the Group Group Type Email Address/Domain Specify the Group Type Type Email Address(s)/Domain(s) Manual john@cyberoam.com jessica@cyberoam.com Select the type of Address Group from the available options Specify E-mail Address or Domain Name to be added to the Address Group. Click OK to create Address Group. Step 2: Create Spam Rule Create Rule to bypass Emails from Addresses specified in Whitelist Address Group. To create a Rule, go to Anti Spam > Spam Rules > Spam Rules and click Add to add a new Rule.
Name Accept_WhiteList Specify a name for Anti Spam Rule. Recipient Email Any Email Address Select Recipient E-mail Address from the list. Sender Email IF condition WhiteList (as created in step 1) Select None Select Sender E-mail Address. Select IF condition. Select None when you want to create a rule between specific sender and recipient without any conditions. You can set actions for SMTP and POP3/IMAP mails only on the basis of sender and recipient. SMTP Action Accept Select Action to be taken for the SMTP traffic. POP3/IMAP Action Accept Select Action to be taken for POP3 / IMAP traffic. Click OK to save Rule. Step 3: Enable Anti Spam Scanning in Firewall Rule Go to Firewall > Rule > Rule and select the Firewall Rule in which you want to enable SMTP scanning. Under Advanced Settings > Security Policies, enable SMTP in AV & AS Scanning.
Blacklist Step 1: Create Address Group Create an Address Group called Blacklist consisting of Email Addresses whose Emails are to be blocked. To create Group, go to Anti Spam > Configuration > Address Group and click Add to create a group using following parameters. Name BlackList Specify a name to identify the Group Group Type Email Address/Domain Specify the Group Type Type Email Address(s)/Domain(s) Manual mark@cyberoam.com alice@cyberoam.com Select the type of Address Group from the available options Specify E-mail Address or Domain Name to be added to the Address Group.
Click OK to create Address Group. Step 2: Create Spam Rule Create Rule to block Emails from Addresses specified in Blacklist Address Group. To create a Rule, go to Anti Spam > Spam Rules > Spam Rules and click Add to add a new Rule. Name Block_BlackList Specify a name for Anti Spam Rule. Recipient Email Any Email Address Select Recipient E-mail Address from the list. Sender Email IF condition Black (as created in step 1) Select None Select Sender E-mail Address. Select IF condition. Select None when you want to create a rule between specific sender and recipient without any conditions. You can set actions for SMTP and POP3/IMAP mails only on the basis of sender and recipient. SMTP Action Drop Select Action to be taken for the SMTP traffic. POP3/IMAP Action Prefix Subject To Spam: Select Action to be taken for POP3 / IMAP traffic.
Click OK to save Rule. Step 3: Enable Anti Spam Scanning in Firewall Rule Go to Firewall > Rule > Rule and select the Firewall Rule in which you want to enable SMTP scanning. Under Advanced Settings > Security Policies, enable SMTP in AV & AS Scanning. Document Version: 2.1 16 July, 2014