Sieve script update

This commit is contained in:
Luj 2023-01-26 23:56:53 +01:00
parent e0c4ef256d
commit e8a121ecca

View file

@ -38,10 +38,12 @@ if allof (header :contains "from" "netdata")
#rule:[Lol] #rule:[Lol]
if header :matches "X-Original-To" "*@malka.sh" { if header :matches "X-Original-To" "*@malka.sh" {
set :lower "name" "${1}"; set :lower "name" "${1}";
} if string :is "${name}" "" {
fileinto "INBOX";
if string :is "${name}" "" { }
fileinto "INBOX"; elsif string :is "${name}" "julien" {
} else { fileinto "INBOX";
fileinto :create "INBOX.${name}"; } else {
} fileinto :create "INBOX.${name}";
}
}