Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

Sieve Filtering: Difference between revisions

m
clean up, typos fixed: ie, → i.e., (3), etc) → etc.), eg, → e.g., (7)
m (clean up, typos fixed: ie, → i.e., (3), etc) → etc.), eg, → e.g., (7))
!Server
|your.domain.mail.aa.net.uk
|ege.g., example.com.mail.aa.net.uk iei.e., the same as what you use to collect email by IMAP
|-
!Port
!Username
|Your email address
|ege.g. fred@example.com. iei.e., the same as what you use to collect email by IMAP
|-
!Password
|your email password
|iei.e., the same as what you use to collect email by IMAP
|-
!Security
[[File:Thunderbird-sieve-tls.png|none|frame|The Thunderbird add-on - You should use TLS for a secure connection]]
 
==Sieve file limits:==
*Maximum script size = 1M
*Maximum number of actions = 128
== 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 on the IMAP servers. There are various clients which support ManageSieve, ege.g.:
 
*RoundCube - our webmail has a Filters option in the settings - We'd recommend this even if you don't usually use webmail.
== Converting From Mozilla Thunderbird to Sieve ==
 
If you use Mozilla (ege.g. Thunderbird) and have existing rules created, then they can be converted in to Sieve format on this page: [http://wiki.aaisp.org.uk/mozilla2sieve.html 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 file 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 [http://wiki.aaisp.org.uk/mozilla2sieve.html converter]
#Go to Tools - Sieve Message Filters
##Click 'New...'
##give it a name, ege.g. My Filters
##Paste in the results from the converter page
##Check that there are not any errors reported, then click Save.
##Close that tab
#Disable the original Thunderbird filters:
#*Either by closing Thunderbird and renaming the msgFilterRules.dat to something else (ege.g. msgFilterRules.dat.old) or by unticking all the tick boxes under Tools - Message Filters.
#By default Thunderbird only checks the Inbox for new email, now that email will appear in different folders, we need to tell Thunderbird to check each folder:
##Preferences - Advanced - General - Config Editor (be careful!)
**This is because we don't want to have to deal with backscatter and emailing non delivery report messages
 
==Help with Other Email Features:==
<ncl style=bullet maxdepth=5 headings=bullet headstart=2 showcats=1 showarts=1>Category:Email Features</ncl>
 
 
=Other Sieve Notes=
*When using fileinto: with :create, a new folder will be created if it does not already exist, this is normal. In this case, the new folder will be subscribed to automatically. -You may need to restart your client (ege.g. Thunderbird) for it to notice that there is a new folder that should be listed.
 
[[Category:Email Features]]
editor
698

edits