How to Filter Redirect Messages to Another Address Using Commtouch

How do i setup a redirect for a mailbox and keep a local copy without the spam messages ?

Solution

The main problem with a redirection in Axigen is that it causes all received messages to be redirected regardless if they are spam messages or not.

This article will detail how to create a redirect user filter that will check the information appended by the Commtouch filter to all processed messages and will redirect only those messages that are tagged as being not spam.

Please take the following steps to create the required redirect filter:

- Login to the Webmail interface.
- Click the Settings link found in the upper-right corner of the screen.
- Enter the Filters context.
- Click the New filter button.
- Type a name for the filter (ex.: filtered_redirect).
- In the Conditions section, select All of the criteria radio button.
- Select the Custom item of the default condition.
- In the Header: field type X-CTCH-Spam
- Select IS from the next drop-down selection box and type NonSpam in the last field.
- By now the condition should read: Custom header X-CTCH-Spam is NonSpam
- Add any supplemental conditions that the rule should match (ex.: from or subject has a specific value).
- In the Actions section select the Redirect-To action.
- Type the address of the mailbox to which messages should be redirected to and enable the Keep a copy of the message checkbox.
- Click the Save changes button to save an apply the new rule.
OS: LinuxWindowsFreeBSDNetBSDOpenBSDSolaris
Distros: WindowsDEB based distros amd64FreeBSD 7.x