Set Up a Mail Filter Rule
From the myCP -> Email Admin menu on the left, select [User Admin] -> [List Users] or [Search Users] to display the user you wish to set up a filter for. Once you have found the right user, click on the [Mail Filter] link associated with that user and you will be taken to Add/Edit filter form. Under the Existing mail filters section, select [Add] to add a new filter. Fill in the required information and select the options applicable to your needs. These are explained as follows:
Rule Name
Type in the name of your filter. You can call it whatever you wish. If you wish to use regular expression to match text in the incoming E-mail, check the box labeled using regular expression rather than plain text.
NOTE: Our mail filters rely on the maildropfilter software, which operates using either plain text or Perl Compatible Regular Expressions (PCRE) library. Please refer to the syntax in this document to compose your rules if you wishes to use regular expression. Please also note that filter rules are case insensitive. That is, "abc" is the same as "ABC".
Condition
NOTE: Be careful when you filter e-mail with attachements. Attachments are encoded into ASCII representations, which may contain word patterns that may match the ones you are using as filtering criteria. However, these word patterns are normally not by themselves. Example: DIV+rzOecGcISeX0Jemd3iag972wlhgo&las - If you had used the word "sex" as your criteria, you would have caught this E-mail which may not be what you intended. You could avoid this problem by flanking the word "sex" with spaces using regular expression. Example, s+sexs+ where s represents a white space and + represents one of more of the previous character. So s+ represents one or more spaces.
Action
This section assumes that the filter rules have successfully matched an incoming E-mail so the action will be taken on this E-mail.
Click [Submit] to save your changes to the rule. Then click on [Save all Changes] at the top to actually activate all the rules you have saved.
Edit a Mail Filter Rule
From the myCP -> Eail Admin menu on the left, select [User Admin] -> [List Users] or [Search Users] to display the user you wish to set up a filter for. Once you have found the right user, click on the [Mail Filter] link associated with that user and you will be taken to Add/Edit filter form. Under the Existing mail filters section, select the name of the filter you wish to edit and click on the [Edit] button. Fill in the required information and select the options applicable to your needs as explained under the Set up a Mail Filter Rule section.
Delete a Mail Filter Rule
You must delete all rules if you do not wish to scan any incoming e-mails. From the myCP -> Eail Admin menu on the left, select [User Admin] -> [List Users] or [Search Users] to display the user you wish to set up a filter for. Once you have found the right user, click on the [Mail Filter] link associated with that user and you will be taken to Add/Edit filter form. Under the Existing mail filters section, select the name of the filter you wish to delete and click on the [Delete] button. Continue deleting other filter rules. Once you are done, click on [Save all changes] for the deletion to take effect.