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

Content deleted Content added
AA-Andrew (talk | contribs)
mNo edit summary
AA-Andrew (talk | contribs)
Line 56: Line 56:
set :upperfirst "suffix" "${1}";
set :upperfirst "suffix" "${1}";
fileinto :create "INBOX.Filtered.${suffix}";
fileinto :create "INBOX.Filtered.${suffix}";

If you're using a + rather than a - to separate the suffix, then adjust the regex in the sieve filter above to be like:
if header :regex "X-Delivered-To" "\\+([A-z0-9]+)@" {


== Create the folders ==
== Create the folders ==