SOGo-Create a Message Filter
The GNENC email servers have a server-side message filtering service called "sieve" filtering. SOGo is a user-interface that allows users to leverage this filtering capability. However, the effects of the filtering span far beyond SOGo webmail. Once a filter is set up and enabled in SOGo using the instructions below, messages will be filtered even on desktop or mobile clients.
A message filter can do many things with your messages. Each filter that is created has two parts: a rule(s) and an action(s). The rule specifies the criterion for selecting which messages should be acted upon while the action specifies what happens to the messages. Both rules and actions contain multiple parts and can be combined in any manner. The following rules and actions are available:
To or CC
does not contain
does not match
does not match regex
Forward the message to:
Discard the message
Keep the message
Send a reject message:
File the message in:**
Flag the message with:*
Stop processing filter rules
*This action is not yet supported by the GNENC email servers. No action will be completed if this option is selected.
** If you intend to use this action, you will need to make sure a suitable folder exists in your Inbox first. Follow the steps to create a folder prior to setting up a message filter.
1. To create a message filter in SOGo, click "Preferences" at the top of the page.
2. In the preferences window that opens, click "Mail Options."
3. Click the "+" button at the bottom left of the window.
4. Give the filter a name in the "Filter Name:" box.
5. Add desired filter rules by selecting options in the drop down boxes and typing in the text box.
For this example, we will show you how to filter Odie Helpdesk messages. The example assumes that you have previously created an "Odie" folder in your Inbox.
6. Add desired filter actions by selecting options in the drop down boxes and type in a text box, when available (depends on chosen actions).
7. Click "Save & Close" to save the new filter.
8. You will now be back on the "Mail Options" tab. Click the checkbox in the "Active" column to enable the newly created filter.
9. Click the “Save & Close” button on the top of the page. (In some cases, the "Save & Close" button will fail to close the window although the settings are successfully saved. In this case, simply click the "Close" button after selecting "Save & Close.")
To edit an existing filter, simply follow the same steps as above, except in step 3. Instead of clicking the "+" button you will double click on the existing message filter to open the edit window.