From 2ece7032558cd0be673d65237a01c5e6ffe625f1 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 19 Nov 2022 15:21:44 +0000 Subject: Move to a GNU Stow config --- afew/.config/afew/config | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ afew/config | 72 ------------------------------------------------ 2 files changed, 72 insertions(+), 72 deletions(-) create mode 100644 afew/.config/afew/config delete mode 100644 afew/config (limited to 'afew') 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[a-zA-Z.]*)@ymhg\.org +tags = +{name} + +[HeaderMatchingFilter.2] +header = To +pattern = +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 " 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] diff --git a/afew/config b/afew/config deleted file mode 100644 index 9f08b39..0000000 --- a/afew/config +++ /dev/null @@ -1,72 +0,0 @@ -[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[a-zA-Z.]*)@ymhg\.org -tags = +{name} - -[HeaderMatchingFilter.2] -header = To -pattern = -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 " 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] -- cgit