Junk email (also known as spam email) is a form of unsolicited email that is usually sent out in bulk to promote various products, services, and complete garbage to anyone who advertises their email address anywhere online (and to a lesser extent offline). Given this scenario, junk email is very hard to avoid completely although can be cut down drastically by utilising the Server Rules section of the Web Mail facility.
Upon logging in to Web Mail, please click on the Settings tab outlined in the screenshot below (please note that this may appear slightly different depending on the theme you have selected):

Next, click on the Server Rules link on the left to bring up the following screen:

There are two modes of Server Rules you can utilise within Web Mail: Basic View and Advanced View. For any Server Rules to be active, you need to ensure the Enable tick box is ticked. Here is a rundown of the following sections of the Server Rules page taken from the Ice Warp help article and how they can be applied to your email account to help minimise spam, along with various other options. Some options only appear in specific views:
Field |
Description |
Action |
Actions specify the particular action that will be taken when the filter returns a positive result based on the condition of the message content.
Reject - Rejects the message so the message will not be received and all following filters will not be processed.
Accept - This action clears the spam flag and immediately accepts the message and all following filters will not be processed. It is a white listing action.
Delete - The delete action is something between the Reject and Accept. It does not accept and deliver the message but also does not reject it. It accepts the message but does not return any false response and does not deliver it.
Mark as spam - This action sets the Spam flag of the message so it will be processed according to the Instant Anti Spam settings of the user.
Forward - In such case, user has to fill also an Address option by email account to which the message should be sent and choose the type of message - whether email message or a message to IM.
Notify - This is similar as the Forward action but you can specify different content of sent message. You can even use variables in the message.
Fill complete message with headers to the Message text area. Additionally, you do not have to specify some specific format in Message text area. Only a text of message which should be sent.
It should look like this:
From: sender@domain.com
To: recipient@anydomain.com
Subject: Some Subject
[blank line]
Text of Message Body |
Item |
The item field specifies what type of the message should be checked. It can be the headers, body, attachments or even the sender and recipient.
All - It is like all the items are checked.
Any header - All headers of the message will be searched for the string below.
Specified Header - The header item specifies a message header condition. The first string you should specify is the header name including the colon and then the string condition itself.
Body - Checks the whole body for some content.
Attachment name contains - A condition for attachment names. Most likely you will use only the file types here.
Size Greater - This condition is true if a message size is greater than a number (kB) in String field.
Size Lower - This condition is true if a message size is lower than a number (kB) in String field.
Email is Spam - A condition which is true if a message was recognizes as Spam by Merak Instant AntiSpam engine.
IP Address - The IP address item lets you check the IP address of the originating server the message was sent from.
SMTP Sender - Lets you check the envelope sender of the message.
SMTP Recipient - Lets you check the envelope recipient of the message.
rDNS - Makes sure the originating mail server has the PTR record.
IP / Sender / Recipient - A special condition item which includes all the sender's email, domain and IP address. |
Function |
The function specifies what string function should be called against the item from the message.
Contains string - The item is checked for the list of strings separated with semicolon.
Regex - The item is checked using the regular expression. See the RegEx tutorial.
Starts with - The string starts with the following text.
Ends with - The string ends with the following text.
Is string - A complete string comparison
Contains list from file - The same as Contains string except the strings are located in a text. In this case the String field contains the path to the filename. |
NOT |
Negates the function result. |
String |
Specifies the particular string to be checked using the function above. |
Case sensitive |
Specifies whether the string case should be considered or not. |
Condition |
Allows you to define more conditions for one filter item. Maximum number of conditions per filter is three. |