Sieve tag handling changes

This commit is contained in:
andryyy
2017-01-09 11:39:27 +01:00
parent d2945b0edf
commit be7693a8e1
2 changed files with 2 additions and 2 deletions

View File

@@ -7,6 +7,6 @@ require "envelope";
if header :contains "X-Spam-Flag" "YES" {
fileinto "Junk";
}
if envelope :detail :matches "to" "*" {
if allof (envelope :detail :matches "to" "*", header :contains "X-Moo-Tag" "YES") {
fileinto :create "INBOX/${1}";
}