homes/desktop/.config/afew/config

57 lines
1 KiB
Text

[global]
[HeaderMatchingFilter.0]
header = X-Spam-Flag
pattern = YES
tags = +spam
[FolderNameFilter]
folder_transforms = Junk:spam Drafts:draft Sent:sent INBOX:inbox Trash:deleted
maildir_separator = /
[SpamFilter]
spam_tag = spam
[MeFilter]
me_tag = me
[KillThreadsFilter]
[ListMailsFilter]
[SentMailsFilter]
sent_tag = sent
[ArchiveSentMailsFilter]
sent_tag = sent
[DMARCReportInspectionFilter]
[DKIMValidityFilter]
[HeaderMatchingFilter.1]
header = To
pattern = .*[-+](?P<autotag>\w*)@.*
tags = -nodtr;+dtr:{autotag}
[HeaderMatchingFilter.2]
header = Cc
pattern = .*[-+](?P<autotag>\w*)@.*
tags = -nodtr;+dtr:{autotag}
[HeaderMatchingFilter.3]
header = Bcc
pattern = .*[-+](?P<autotag>\w*)@.*
tags = -nodtr;+dtr:{autotag}
[HeaderMatchingFilter.4]
header = X-Mailer
pattern = (?P<mailer>.*)
tags = +mailer:{mailer}
[HeaderMatchingFilter.5]
header = X-Operating-System
pattern = (?P<os>.*)
tags = +os:{os}
[Filter.1]
message = Invoice
query = 'subject:invoice OR subject:factuur OR subject:facture'
tags = +invoice