Sieve-Example:Move email to a suffix folder: Difference between revisions
mNo edit summary |
m (→Variations) |
||
set :upperfirst "suffix" "${1}";
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 ==
|