diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-01-21 16:28:00 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-01-21 16:28:00 +0000 |
commit | 200ad36e96c3b97440019e6300b3dbaf91c44d4d (patch) | |
tree | fe4de1ccfe31eea0af90cd97337873a3f0567b68 /afew | |
parent | 8dd7d18c328e7c3b70f453f7e507dd561d035f2f (diff) | |
download | dotfiles-200ad36e96c3b97440019e6300b3dbaf91c44d4d.tar.gz dotfiles-200ad36e96c3b97440019e6300b3dbaf91c44d4d.zip |
Update configuration for emacs and afew
Diffstat (limited to 'afew')
-rw-r--r-- | afew/config | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/afew/config b/afew/config index e97a747..9bf3e31 100644 --- a/afew/config +++ b/afew/config @@ -19,6 +19,11 @@ folder_transforms = "Sent Items":sent "Archive1":archive "Deleted Items":deleted maildir_separator = / folder_lowercases = True +[HeaderMatchingFilter.1] +header = To +pattern = (?P<name>[a-zA-Z.]*)@ymhg\.org +tags = +{name} + [Filter.1] message = Remove temporary Anacron messages. query = from:"anacron" or from:"cron daemon" @@ -45,8 +50,13 @@ 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 +message = Clean up clutter. +query = tag:postmaster or tag:amazon.co.uk or tag:shopping +tags = -inbox;-new;-unread;+clutter + +[Filter.7] +message = Clean up mailing lists from inbox +query = tag:lists +tags = -inbox;-new [InboxFilter] |