diff options
Diffstat (limited to 'afew/.config/afew/config')
-rw-r--r-- | afew/.config/afew/config | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/afew/.config/afew/config b/afew/.config/afew/config new file mode 100644 index 0000000..9f08b39 --- /dev/null +++ b/afew/.config/afew/config @@ -0,0 +1,72 @@ +[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 Trash:deleted +maildir_separator = / +folder_lowercases = True + +[HeaderMatchingFilter.1] +header = To +pattern = (?P<name>[a-zA-Z.]*)@ymhg\.org +tags = +{name} + +[HeaderMatchingFilter.2] +header = To +pattern = <langproc-.*@noreply\.github\.com> +tags = -inbox;-new;+git;+langproc + +[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 <graduate.school@imperial.ac.uk>" 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 = New Yorker clean up +query = from:"newyorker@newsletter.newyorker.com" +tags = -new;-inbox;+newyorker + +[Filter.7] +message = Clean up clutter. +query = tag:postmaster or tag:amazon.co.uk or tag:shopping +tags = -inbox;-new;-unread;+clutter + +[Filter.8] +message = Clean up mailing lists from inbox +query = tag:lists +tags = -inbox;-new + +[InboxFilter] |