Add default sieve_after handler

master
andryyy 2016-12-19 15:20:30 +01:00
parent 60fca24d1b
commit 7a2abe6ada
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
require "fileinto";
require "mailbox";
require "variables";
require "subaddress";
require "envelope";
if header :contains "X-Spam-Flag" "YES" {
fileinto "Junk";
}
if envelope :detail :matches "to" "*" {
fileinto :create "INBOX/${1}";
}