rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/sieve
2019-10-21 10:18:17 +02:00

11 lines
193 B
Plaintext

require "fileinto";
require "imap4flags";
if header :is "X-Spam" "Yes" {
fileinto "Junk";
setflag "\\seen";
stop;
}
/* Other messages get filed into Inbox or to user's scripts */