mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-07-02 23:47:18 +02:00
Sieve script update
This commit is contained in:
parent
e0c4ef256d
commit
e8a121ecca
1 changed files with 9 additions and 7 deletions
|
@ -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}";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue