| Dedicated E-Mail Hosting User Filter Instructions |
Mail account rule files allow you to filter messages based on an e-mail address, or the body of the text. This allows you to do things like
filter messages selling a certain item (spam), and delete it. Or take messages from a certain person or about a certain subject
and move them to a sub-mailbox.
Rules are made up of the following sections... strung together on a single line. (See examples further down...)
Filter Field, Filter Type, Value, Action
| Filter Field can be: |
| F | From |
| N | Sender |
| B | Entire Body |
| S | Subject |
| T | To |
| H | Entire Header |
| |
| Filter Type can be: |
| ~ | Contains - Case insensitive |
| = | Contains - Case sensitive (Will only match if capitalization matches) |
| ! | Does not contain. |
| != | Does not equal. |
| |
| Value can be: |
| e-mail@spammerz.spm | An e-mail address, that sends spam, or that you want sorted... |
| text | A text string, could be a domain name, names of drugs etc. Be careful of filtering short strings of text, as some shorter words can be parts of names or longer words. |
| !OR! | Two values can be seperated by an OR which will use an action if either criteria match... |
| !AND! | Two values can be seperated by an AND which will use an action if both criteria match... |
| |
| Note: |
| | The following characters have special meaning in a
rule: {}()|*+,.:\ If you want to use one of these characters in a
search string, precede it with a backslash. For example, to search for a
plus sign, enter \+ in the search string |
| |
| Action can be: |
| :NUL | Deletes the message. |
| :MailBoxName | A mail box in webmail to move the message to. |
| :!BOUNCE! | Bounce the message, note spammers rarely use valid addresses. |
| :e-mail@server.tst | An e-mail address, to forward to. |
Examples:
F~iamspam@spammerz.de:NUL
The above example would delete a message from the e-mail address iamspam@spammerz.de
S=MeetingMinutes!OR!B~Tuesday Meeting Overview:Meetings
The above example would move a message to the Meetings mail box, if the subject was exactly MeetingMinutes, or the message body contained Meeting Overview.
Create a list of filters using a plain text editor (such as Notepad), placing each rule on a single line with no other text
in the file, then save the file to rules.ima - if there is already a rules.ima file you can combine them.
The file can be uploaded to the users mail folder on the server. If the user currently has any custom
rules and you overwrite the rules.ima file, those rules will be lost.
Once the file is uploaded to the users directory, it should start filtering messages.
|
|
|
|