Add default sieve_after handler
parent
60fca24d1b
commit
7a2abe6ada
|
@ -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}";
|
||||||
|
}
|
Loading…
Reference in New Issue