From 200ad36e96c3b97440019e6300b3dbaf91c44d4d Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 21 Jan 2022 16:28:00 +0000 Subject: Update configuration for emacs and afew --- afew/config | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'afew/config') 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[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] -- cgit