Skip to content
Snippets Groups Projects
Commit b9f8c535 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

dovecot: create junk folder automatically

parent 713265c8
No related branches found
No related tags found
No related merge requests found
require "fileinto"; require "fileinto";
if header :contains "X-Spam-Flag" "YES" { if header :contains "X-Spam-Flag" "YES" {
fileinto "Junk"; fileinto :create "Junk";
} }
if header :contains "Subject" "*SPAM*" { if header :contains "Subject" "*SPAM*" {
fileinto "Junk"; fileinto :create "Junk";
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment