diff options
Diffstat (limited to 'home')
-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 ''; }; |