Sieve-Example:Move email to a suffix folder: Difference between revisions
Appearance
Content deleted Content added
m Refreshing folder list (e.g. Thunderbird) Tags: Mobile edit Mobile web edit |
|||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 50: | Line 50: | ||
*This filter uses the 'X-Delivered-To' header which is added by the A&A mail servers - even if you are BCC'd then the filtering will work. The X-Delivered-To is the 'envelope-to' header, which is the address the email was actually sent to by the sender (in lowercase). |
*This filter uses the 'X-Delivered-To' header which is added by the A&A mail servers - even if you are BCC'd then the filtering will work. The X-Delivered-To is the 'envelope-to' header, which is the address the email was actually sent to by the sender (in lowercase). |
||
*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 |
*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 |
||
* |
*To add via Roundcube, select 'Actions', 'Edit filter set'. |
||
===Variations=== |
===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). |
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, or the folder list collapsed and reopened. We also title case the new folder name - eg it will be called Amazon (capital A). |
||
<syntaxhighlight lang="sieve"> |
<syntaxhighlight lang="sieve"> |
||
set :upperfirst "suffix" "${1}"; |
set :upperfirst "suffix" "${1}"; |
||
| Line 72: | Line 72: | ||
[[Category:Sieve]] |
[[Category:Sieve]] |
||
[[Category:Email How to]] |
|||