diff options
-rw-r--r-- | afew/config | 30 |
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 |