mailserver/imap/move_to_spam_folder.sieve

9 lines
168 B
Sieve
Raw Normal View History

require "spamtestplus";
require "fileinto";
require "relational";
require "comparator-i;ascii-numeric";
if header :contains "X-Spam-Flag" "YES" {
fileinto "Spam";
}