From 0265e4bcd9aa32dbb1490416769d30fd08c93591 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 16 Sep 2017 11:09:10 +0200 Subject: Add afew configs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- afew/config | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 afew/config (limited to 'afew/config') 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 -- cgit v1.2.3-70-g09d2