[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\w*)@.* tags = -nodtr;+dtr:{autotag} [HeaderMatchingFilter.2] header = Cc pattern = .*[-+](?P\w*)@.* tags = -nodtr;+dtr:{autotag} [HeaderMatchingFilter.3] header = Bcc pattern = .*[-+](?P\w*)@.* tags = -nodtr;+dtr:{autotag} [HeaderMatchingFilter.4] header = X-Mailer pattern = (?P.*) tags = +mailer:{mailer} [HeaderMatchingFilter.5] header = X-Operating-System pattern = (?P.*) tags = +os:{os} [Filter.1] message = Invoice query = 'subject:invoice OR subject:factuur OR subject:facture' tags = +invoice