Sieve tag handling changes

master
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}";
}

View File

@ -48,7 +48,7 @@ rspamd_config.ADD_DELIMITER_TAG = {
})
end
else
rspamd_logger.infox("Add X-Move-Tag header")
rspamd_logger.infox("Add X-Moo-Tag header")
task:set_rmilter_reply({
add_headers = {['X-Moo-Tag'] = 'YES'}
})