diff options
author | Ben Sima <ben@bsima.me> | 2023-01-20 17:05:16 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2023-01-20 17:05:16 -0500 |
commit | 5250dc6adab5961561ceec808b5bba778beecc83 (patch) | |
tree | 7d43a4d78f43ea2ea3d6945f938a9adf18459d01 /lib/afew.ini | |
parent | 66d3268b80620ae1236cbfb7cbf07543061be607 (diff) |
setup afew MailMover (i think)
Change-Id: Ia9b38360f359f1c7234fc894fbfc8d97d426ce45
Diffstat (limited to 'lib/afew.ini')
-rw-r--r-- | lib/afew.ini | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/afew.ini b/lib/afew.ini index 86cadc9..2ea82a3 100644 --- a/lib/afew.ini +++ b/lib/afew.ini @@ -3,6 +3,15 @@ [SpamFilter] spam_tag = spam +[MailMover] +folders = INBOX Junk +# according to docs, this should be true if using mbsync +rename = True +max_age = 15 +# rules +INBOX = 'tag:spam':Junk 'NOT tag:inbox':Archive +Junk = 'NOT tag:spam AND tag:inbox':INBOX 'NOT tag:spam':Archive + [InboxFilter] # This filter looks for the List-Id header, and if it finds it, adds a tag lists @@ -46,11 +55,6 @@ message = github query = from:github.com tags = +github;-inbox -[MailMover] -folders = Important INBOX -INBOX = 'tag:flagged AND NOT tag:spam':.Important -Important = 'NOT tag:flagged':.INBOX 'tag:spam':.INBOX - [Filter.5] message = remove lists from inbox query = tag:lists AND tag:inbox |