Sieve Filtering: Difference between revisions
Line 32: | Line 32: | ||
##Paste in the results from the converter page |
##Paste in the results from the converter page |
||
##Check that there are not any errors reported, then click Save. |
##Check that there are not any errors reported, then click Save. |
||
##Close the tab with the script, and you'll be returned to the SieveFilters tab |
|||
##Clickt he little Active button so that it turns in to a green tick. |
|||
##Close that tab |
|||
#Disable the original Thunderbird filters |
|||
##Either by closing Thunderbird and renaming the msgFilterRules.dat to something else (eg msgFilterRules.dat.old) or by unticking all the tick boxes under Tools - Message Filters. |
Revision as of 13:29, 8 October 2012
THIS IS NOT AVAILABLE YET.
What is Sieve filtering?
At a basic level, Sieve is a system whereby the server is given rules be you to filter your email in to folders. It then means, that whatever email program you use, your email is already filed away in to it's correct folder according to your needs. Sieve can do more than just move email to their correct folder though.
Creating Sieve Filters
Our IMAP servers run 'ManageSieve', this is a service which clients talk to in order to create and edit sieve filters. ManageSieve runs on port 4910, and there are various clients which support ManageSieve, eg:
- RoundCube - our webmail has a Filters option in the settings
- Extension for Thunderbird (not that great)
Whatever IMAP email program you use the Sieve filtering will still work. It may be easiest to create and edit the filters using Roundcube webmail even if you don't wish to use Roundcube for reading email.
Using Roundcube Fitlers
To create a simple filter to move a few online shop emails in to a folder called shopping:
- First, create the Shopping folder (Settings-Folders, Click the Add button)
- go to Settings and Filters:
- Create a new filter set, and then a new filter:
Converting From Mozilla Thunderbird to Sieve
If you use Mozilla (eg Thunderbird) and have existing rules created, then they can be converted in to Sieve from this page: mozilla2sieve.html. Here are some step by step instruction on moving the filters over:
- Open your msgFilterRules.dat file in a text editor (notepad, gedit etc)
- This will be found in your 'Local directory', which can be found in Account Settings - Server Setting - look for the 'Local directory' box at the bottom.
- Copy and paste the text in to the converter
- Install the ThunderBird ManageSieve plugin:
- Tools - Addons - Search for Sieve, and Install 'Sieve 0.22'
- Go to Tools - Sieve Message Filters
- Click 'New...'
- give it a name, eg My Filters
- Paste in the results from the converter page
- Check that there are not any errors reported, then click Save.
- Close the tab with the script, and you'll be returned to the SieveFilters tab
- Clickt he little Active button so that it turns in to a green tick.
- Close that tab
- Disable the original Thunderbird filters
- Either by closing Thunderbird and renaming the msgFilterRules.dat to something else (eg msgFilterRules.dat.old) or by unticking all the tick boxes under Tools - Message Filters.