about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-07-07 16:56:39 -0700
committerFranck Cuny <franck@fcuny.net>2022-07-07 17:38:45 -0700
commit18fcfe178715618061eaa5fa7ca3e92ae4bc3a0d (patch)
tree9ad072a83da506535fc70e3a05285f066f258cef
parentfix(home/email): remove a filter from afew (diff)
downloadworld-18fcfe178715618061eaa5fa7ca3e92ae4bc3a0d.tar.gz
fix(home/email): correct rule to move emails with afew
If an email has the tag 'archive' while in the Inbox folder, it needs to
be moved to the archive directory.

Change-Id: I44efc9e51fe0e749a5a2ffa15fe32b8b945d12f0
Reviewed-on: https://cl.fcuny.net/c/world/+/609
Tested-by: CI
Reviewed-by: Franck Cuny <franck@fcuny.net>
-rw-r--r--home/mail/accounts/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/mail/accounts/default.nix b/home/mail/accounts/default.nix
index 03cd7f9..1e4ed07 100644
--- a/home/mail/accounts/default.nix
+++ b/home/mail/accounts/default.nix
@@ -47,7 +47,7 @@ in
         max_age = 30
 
         # rules
-        Fastmail/Inbox = 'NOT tag:inbox':Fastmail/Archive
+        Fastmail/Inbox = 'tag:archive':Fastmail/Archive
       '';
     };