Each filter can contain multiple conditions. Each set condition controls the behavior of the filter once the conditions are met. For example, if you supervisor wants you to receive all E-mail from one or more contact address, such as email@example.com or from firstname.lastname@example.org, you could create one filter called "Supervisor" which will contain the conditions From and Contains with the Forward action set to when the messages arrive within the Zimbra Inbox. The following conditions can be set.
From: This condition will match E-mail Address or Display Names found in the From field of an E-mail message. The condition behavior can be set to attempt to match exactly or contain the from field contents.
To: This condition will match E-mail Address or Display Names found in the To field of an E-mail message. The condition behavior can be set to attempt to match exactly or contain the To field contents.
Cc: This condition will match E-mail Address or Display Names found in the Cc field of an E-mail message. The condition behavior can be set to attempt to match exactly or contain the from field contents.
To or Cc: The combination of both the To and Cc fields.
Subject: This condition is designed to match the text found in the subject of a message. The condition behavior can be set to attempt to match exactly or contain the Subject field contents.
Header Named: When this option is selected, an additional text input field appears before the comparison operator (the "contains" portion). This option allows you to specify any email header. You can specify not only the standard fields of To: or From: but also Date, Reply-To, or other custom fields that may be included in the message header. You could use this option to filter out email messages that have "malformed" headers, meaning they do not contain certain information that is normally considered standard for an email message. Sometimes spam, which is automatically generated, omits information such as the Sender or Reply-To fields. Use the second text field (the field immediately to the right of the comparison operator) to specify the header to test for.
Size: This condition will select email messages that are larger or smaller than a specified size. The size of the email includes file attachments. You can use this to discard email messages that are too large.
Date: Use this option to specify email messages sent before, not before, after, or not after a specific date. This condition can be used to move specific emails to a folder by date.
Body: The options for Body, Contains and Does not contain, allow you to specify matching words in the body of an E-mail. You cannot filter for words found in file attachments.
Attachment: You can filter for email messages that have, or don't have, file attachments.
Address In: Tests for the presence of an address in your contacts. The next field allows you to specify which address.
Comparison operators includes:
- Matches exactly/does not match exactly - Specifies an exact match. For example, specifying Subject matches exactly Banana would only match "Banana" and not "Bananas" or "A truck full of banana leaves".
Contains/does not contain - Specifies that the subject line must contain the specified sub-string. For example, specifying Subject contains Banana would match "I'm going bananas".
Matches wildcard/does not match wildcard condition - The wildcard is a character used in the mail filter comparison field to represent one or more characters in the filter . For example, specifying Subject matches "Exchange*" would match "Exchange" or "Microsoft Exchange Services" but not "my Microsoft Exchange Servers."
Each filter can have multiple actions set once the conditions are met. Below are the actions available when customizing filters.
Keep in Inbox: Saves the mailbox item to the Inbox. If none of the filter rules match an email message, this action takes place by default.
Discard: Deletes the mail message without delivering it. The message will be considered hard deleted and will not be present within the Trash.
File into folder: Moves the file to a specified folder.
Tag with: You can tag matching messages with a selected tag.
Mark: his actions sets the message as either As read or Flagged.
Forward to Address: Forwards the message to the specified address.
Within each filter, you have the options Do not process additional filters. When enabled, other filters with similar conditions or actions will not be performed.
Note: Set Conditions and Actions can be repeated to set up multiple conditions to be met and or multiple actions to occur once the filtering conditions are met. Click the plus sign (+) to add more conditions or actions.