editor
471
edits
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!
mNo edit summary |
(Interaction between Spam checking and Sieve filtering) |
||
(10 intermediate revisions by the same user not shown) | |||
= What is Sieve filtering? =
At a basic level, Sieve is a system whereby the server is given rules by you to process incoming email - e.g. forward emails, discard emails, or filter your email into folders. It then means that, whatever email program you use, your email is already filed away in to their correct folder according to your needs.
It is helpful if you:
*Read email from a number of devices
This page explains how to connect
=Sieve Server Settings=
*RoundCube - our webmail has a Filters option in the settings - We'd recommend this even if you don't usually use webmail.
*[https://github.com/thsmi/sieve/releases Extension for Thunderbird] (fine for manually editing the script file) '''Important note:''' Use the latest version if the one from the Thunderbird is out of date. [https://github.com/thsmi/sieve/releases latest] version version 0.3 or higher should be ok. '''No longer works with Thunderbird versions dating from 2023'''.
*[https://www.claws-mail.org/plugin.php?plugin=managesieve Extension for claws-mail] (may be packaged as claws-mail-managesieve). Very similar to the Thunderbird extension.
*On Linux, you may find a '''sieve-connect''' package which is a command line tool.
*There are others, take a look at [http://sieve.info/clients sieve.info]. You'd use the same server, username and password that you do to access your email, and use port 4190, and TLS.
== Using Roundcube Filters ==
Roundcube will let you create filters using a WYSIWYG style editor - with easy to use drop-down options and so on. You can
To create a simple filter to move a few online shop emails in to a folder called shopping:
=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, or collapse and reopen the folder list (e.g. Thunderbird), for it to notice that there is a new folder that should be listed.
*spam folder: If you have a folder called 'spam' then email which is marked as spam will end up there bypassing any
require ["fileinto","mailbox"];
if exists "X-Spam-Flag" {
if header :is "X-Spam-Flag" "YES" {
if exists "X-Spam-Bar" {
# 20 OR MORE +
if header :contains "X-Spam-Bar" "++++++++++++++++++++" {
# Can't reject, not supported
fileinto :create "bad-spam";
stop;
}
}
fileinto :create "spam";
stop;
}
}
=Some Examples=
|