depot/cluster/services/mail/sieve/plus.sieve

10 lines
230 B
Sieve
Raw Permalink Normal View History

2021-10-16 21:22:48 +03:00
require ["variables", "envelope", "fileinto", "subaddress", "mailbox"];
if envelope :matches :detail "to" "*" {
set :lower :upperfirst "name" "''${1}";
}
if not string :is "''${name}" "" {
fileinto :create "Plus/''${name}";
}