diff options
author | Franck Cuny <franck@fcuny.net> | 2022-07-02 13:47:20 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-07-02 14:39:12 -0700 |
commit | bcad823b60035c55ca101e4d8217136786198391 (patch) | |
tree | 208effe698e9da59278fd60607e3af185e27d0f8 /home/mail | |
parent | fix(home/email): remove the environment variable NOTMUCH_CONFIG (diff) | |
download | world-bcad823b60035c55ca101e4d8217136786198391.tar.gz |
feat(home/mail): add more rules for afew
Change-Id: Ieaa3163db8f73bb6e299304099e3325bba99cc10 Reviewed-on: https://cl.fcuny.net/c/world/+/602 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'home/mail')
-rw-r--r-- | home/mail/accounts/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/home/mail/accounts/default.nix b/home/mail/accounts/default.nix index 9cddcd2..97a5bbd 100644 --- a/home/mail/accounts/default.nix +++ b/home/mail/accounts/default.nix @@ -32,7 +32,25 @@ in [SpamFilter] [KillThreadsFilter] [ArchiveSentMailsFilter] + + [FolderNameFilter] + maildir_separator = / + folder_transforms = Archive:archive Drafts:draft Sent:sent + folder_lowercases = true + [InboxFilter] + [Filter.1] + query = path:Fastmail/Archive/** + tags = +archive;-new;-inbox + message = Tag archived messages + + [MailMover] + folders = Fastmail/Inbox + rename = True + max_age = 30 + + # rules + Fastmail/Inbox = 'NOT tag:inbox':Fastmail/Archive ''; }; |