mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-27 06:10:53 +01:00
Sieve script update
This commit is contained in:
parent
70bea781d4
commit
f0e020a353
1 changed files with 9 additions and 7 deletions
|
@ -38,10 +38,12 @@ if allof (header :contains "from" "netdata")
|
|||
#rule:[Lol]
|
||||
if header :matches "X-Original-To" "*@malka.sh" {
|
||||
set :lower "name" "${1}";
|
||||
}
|
||||
|
||||
if string :is "${name}" "" {
|
||||
fileinto "INBOX";
|
||||
} else {
|
||||
fileinto :create "INBOX.${name}";
|
||||
}
|
||||
if string :is "${name}" "" {
|
||||
fileinto "INBOX";
|
||||
}
|
||||
elsif string :is "${name}" "julien" {
|
||||
fileinto "INBOX";
|
||||
} else {
|
||||
fileinto :create "INBOX.${name}";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue