Update email tagging rules

This commit is contained in:
Evie Litherland-Smith 2023-10-24 22:23:24 +01:00
parent 3856427110
commit f1799b4178

View file

@ -1,14 +1,28 @@
[SpamFilter]
[KillThreadsFilter]
[ListMailsFilter]
[ArchiveSentMailsFilter]
[Filter.1]
query = NOT folder:Proton/Inbox AND NOT folder:iCloud/Inbox AND NOT folder:Outlook/Inbox
tags = -new;-inbox
message = Removing new/inbox tags from emails already in other folders
[FolderNameFilter]
folder_blacklist = Proton/Inbox iCloud/Inbox Outlook/Inbox
folder_transforms = Drafts:draft Sent:sent "Sent Messages":sent Trash:deleted
folder_lowercases = true
maildir_separator = /
[InboxFilter]
[MailMover]
folders = Proton/Inbox iCloud/Inbox Outlook/Inbox
rename = True
max_age = 15
# rules
Proton/Inbox = 'tag:archive':Proton/Archive 'tag:deleted':Proton/Trash
iCloud/Inbox = 'tag:archive':iCloud/Archive 'tag:deleted':iCloud/Trash
Outlook/Inbox = 'tag:archive':Outlook/Archive 'tag:deleted':Outlook/Trash
Proton/Inbox = 'tag:archive':Proton/Archive 'tag:deleted':Proton/Trash 'tag:sent':Proton/Sent
iCloud/Inbox = 'tag:archive':iCloud/Archive 'tag:deleted':iCloud/Trash 'tag:sent':iCloud/Sent
Outlook/Inbox = 'tag:archive':Outlook/Archive 'tag:deleted':Outlook/Trash 'tag:sent':Outlook/Sent