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-Example:Move email to a suffix folder: Difference between revisions

m
no edit summary
mNo edit summary
(2 intermediate revisions by the same user not shown)
This is all possible with two things:
*An alias - set on the Control Pages
*(optionally) A sieve filter
 
==Alias==
 
==Sieve filter==
Optionally, you can magically move these messages in folders...
Once messages are being sent to your Inbox, we create a sieve filter to automatically move messages to their folder, if it has been made. If the folder hasn't been made, then they will be put in to your Inbox as normal.
 
Once messages are being sent to your Inbox with the alias above, weyou can create a sieve filter to automatically move messages to their folder, if it has beenyou've made. If the folder hasn'talready. been made, then they will be put in to your Inbox as normal.
 
<syntaxhighlight>
*You'll need to add this sieve filter - eg by using the (latest) Thunderbird Sieve extension, see [https://support.aa.net.uk/Sieve_Filtering#Sieve_Server_Settings Sieve_Server_Settings] for info in the 'Creating Sieve Filters' section
*This won't be able to be added via Roundcube, as you can't paste in raw sieve code there.
 
===Variations===
You can create the folders automatically if you wanted add :create, - but some mail clients won't refresh their folder list until they are restarted. We also title case the new folder name - eg it will be called Amazon (capital A).
set :upperfirst "suffix" "${1}";
fileinto :create "INBOX.Filtered.${suffix}";
 
== Create the folders ==
autoreview, Bureaucrats, editor, Interface administrators, reviewer, Administrators
12,270

edits