aboutsummaryrefslogtreecommitdiffstats
path: root/afew
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-09-16 11:09:10 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-09-16 11:09:10 +0200
commit0265e4bcd9aa32dbb1490416769d30fd08c93591 (patch)
tree9c500911628326f9e037f7c95dc9adca81e88905 /afew
parent2ce678204bb5934a6a6e87db978dea1caa19a39e (diff)
downloaddotfiles-0265e4bcd9aa32dbb1490416769d30fd08c93591.tar.xz
Add afew configs
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'afew')
-rw-r--r--afew/config30
1 files changed, 30 insertions, 0 deletions
diff --git a/afew/config b/afew/config
new file mode 100644
index 0000000..e77f395
--- /dev/null
+++ b/afew/config
@@ -0,0 +1,30 @@
+[global]
+mail_mover_kind = query
+
+[SpamFilter]
+[KillThreadsFilter]
+[ListMailsFilter]
+[ArchiveSentMailsFilter]
+[InboxFilter]
+[FolderNameFilter]
+folder_explicit_list = archive drafts sent spam "probably-spam"
+
+[MailMover]
+folders = inbox archive spam
+rename = True
+#max_age = 15
+
+inbox = 'tag:spam':spam 'NOT tag:inbox AND NOT tag:spam':archive
+archive = 'tag:spam':spam
+spam = 'NOT tag:spam AND tag:inbox':inbox 'NOT tag:spam AND NOT tag:inbox':archive
+
+[QueryMailMover]
+rules = spam archive
+rename = True
+
+spam = 'tag:spam AND NOT folder:spam':spam 'tag:learn-spam AND NOT folder:learn-spam':learn-spam
+archive = 'tag:archive AND NOT folder:archive':archive
+ 'folder:spam AND NOT tag:spam':archive
+ 'folder:inbox AND NOT tag:inbox AND NOT tag:learn-spam':archive
+
+# vim: ft=conf