Sieve tag handling changes
parent
d2945b0edf
commit
be7693a8e1
|
@ -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}";
|
||||
}
|
||||
|
|
|
@ -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'}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue