Inbound filters can be used to sort incoming mail messages for a list server mailing list. Filters for a list are stored in the rules.ima file, which is located in IMail Top Directory\listname.
From the Select Field text box, select the field that you want the filter to search. You can select from: Subject, To, From, Sender, Header and Body.
Select contains to have the filter look for messages that contain the search text. Select doesn't contain to look for messages that do not contain the search text.
To enter search text, you can either enter it into the Phrase text box as described below, or specify an external file that contains the search text you want to use.
Enter the search text by doing one or more of the following:
Enter the literal text (up to 255 characters) that you want to search for. For example, if you want to find the word jazz, type: jazz
Type search expressions and quantifiers as shown in Text Patterns.
Paste a portion of a mail message that meets your search criteria. For example, you could copy and paste text such as "XMSMailPriority(High)" from the header of a message; this would search for High priority messages.
Select Case Sensitive Match to search for text that matches the case of the search text. To ignore case, clear Case Sensitive Match.
Select Search string from file if you have placed the search text in an external text file. The list box contains all of the existing filter files, if any.
Click Add Condition. The condition that you just created is added to the filter and is displayed in the Rules text box.
Specify what will be done with messages meeting the filter criteria by choosing one of the following Filter Actions:
Send the message to a mailbox. Select Move the message to this mailbox. Then, in the Destination text box enter the name of the mailbox to which messages meeting the filter criteria will be sent. You can enter the user ID to which messages meeting the filter criteria will be sent, followed by the mailbox. To do this, follow the user ID with a hyphen and the mailbox name, such as poreilly-news@company1.com.If you enter a mailbox that does not exist, one will be created for the user. A POP3 user will see this mailbox only if he logs on to this mailbox using the format userid-mailbox. If nothing is entered in this text box, messages meeting the filter criteria will be sent to the user's Main mailbox.
Send the message to an address. Select Forward the message to. Then, in the Destiantion text box enter the e-mail address, of the person or list, to which messages meeting the filter criteria will be sent. You must enter the full e-mail address, such as Fred@domain1.com.
Delete the message. Select Delete the message to delete the message.
Deliver the message and copy to an additional mailbox. Select Copy to deliver the message to its intended recipient as well as copy it to an additional mailbox that you specify in the Destination text box.
Send a Bounce message to sender. Select Bounce to send a message back to the sender informing them that the message was not processed.
If this is the only condition you want the filter to have, click Finish and the filter will be activated. If you want to add more conditions, read the next section.
To add more than one condition to a filter, create the first condition by following steps 1 through 6 above and then click either Insert AND or Insert OR. Create the second condition as you did the first, then proceed with steps 7 and 8.
To edit an existing filter, select the filter from the Rules text box. The previously grayed out options will display the settings for the selected filter.
Edit the filter as desired and click Update Rule. Click Finish to save your changes.
To delete any single condition or line from the Rules text box, select the line to delete and click Remove.
Conditions are processed in the order that they appear from top to bottom, as boolean expressions. To change the processing order of a condition, select the condition in the Rules text box and click either Move Up or Move Down.
Related Topics