aboutsummaryrefslogtreecommitdiffstats
path: root/afew
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-01-02 16:20:50 +0000
committerYann Herklotz <git@yannherklotz.com>2022-01-02 16:21:09 +0000
commit8dd7d18c328e7c3b70f453f7e507dd561d035f2f (patch)
treec302edd616140ca2f5fa86f599d73b34cfe117a4 /afew
parentd350f40314b12d63933a4ea8679f58b216c8673d (diff)
downloaddotfiles-8dd7d18c328e7c3b70f453f7e507dd561d035f2f.tar.gz
dotfiles-8dd7d18c328e7c3b70f453f7e507dd561d035f2f.zip
Add afew config
Diffstat (limited to 'afew')
-rw-r--r--afew/config45
1 files changed, 44 insertions, 1 deletions
diff --git a/afew/config b/afew/config
index 4d7b987..e97a747 100644
--- a/afew/config
+++ b/afew/config
@@ -1,9 +1,52 @@
+[MailMover]
+folders = mailbox/Inbox mailbox/Trash mailbox/Spam
+rename = True
+max_age = 15
+mailbox/Inbox = 'not tag:inbox or tag:archive':mailbox/Archive 'tag:spam':mailbox/Spam 'tag:deleted':mailbox/Trash
+mailbox/Trash = 'not tag:deleted and tag:inbox':mailbox/Inbox 'not tag:deleted and tag:spam':mailbox/Spam 'not tag:deleted and tag:archive':mailbox/Archive
+mailbox/Spam = 'not tag:spam and tag:inbox':mailbox/Inbox 'not tag:spam and tag:deleted':mailbox/Trash 'not tag:spam and tag:archive':mailbox/Archive
+
[SpamFilter]
+
[KillThreadsFilter]
+
[ListMailsFilter]
+
[ArchiveSentMailsFilter]
+
[FolderNameFilter]
-folder_transforms = "Sent Items":sent "Archive1":archive "Deleted Items":deleted
+folder_transforms = "Sent Items":sent "Archive1":archive "Deleted Items":deleted Trash:deleted
maildir_separator = /
folder_lowercases = True
+
+[Filter.1]
+message = Remove temporary Anacron messages.
+query = from:"anacron" or from:"cron daemon"
+tags = -new;-inbox;+cron
+
+[Filter.2]
+message = Remove call for paper spam.
+query = (subject:call and (subject:"papers?" or subject:"sessions?")) or from:saiconference.com
+tags = -new;-inbox;+callforpaper
+
+[Filter.3]
+message = Remove IEEE messages.
+query = from:"^IEEE"
+tags = -new;-inbox;+ieee
+
+[Filter.4]
+message = Imperial noise.
+query = from:"library notices" or from:"Fownes, Joanna" or from:"Victoria Scott" or from:"Graduate School" or from:"ACM Learning Center" or from:"CGCU Secretary" or from:"DoCSoc" or subject:"^[HiPEAC Members]" or (subject:"^Your Casual pay form for" or subject:"^claim for") or from:"email.teams.microsoft.com"
+tags = -new;-inbox;+imperial-noise
+
+[Filter.5]
+message = Clean up mailbox.
+query = tag:sircmpwn-public-inbox
+tags = -sircmpwn-public-inbox;+lists;+lists/~sircmpwn/public-inbox
+
+[Filter.6]
+message = Clean up postmaster.
+query = tag:postmaster
+tags = -inbox;-new;-unread
+
[InboxFilter]