[global]

[SpamFilter]
[KillThreadsFilter]
[DMARCReportInspectionFilter]

[FolderNameFilter]
folder_lowercases = true
maildir_separator = /

[ArchiveFilter]

[ArchiveSentMailsFilter]
sent_tag = sent

[InboxFilter]

# add specific tags

# Jira tag as Jira
[Filter.1]
query = 'from:jira@15five-dev.atlassian.net'
tags = +jira;-inbox
message = Jira message

# Orgmode
[Filter.2]
query = 'emacs-orgmode'
tags = -new;-inbox;+orgmode
message = orgmode message

# Delete some spam
[Filter.3]
query = '\'Office365 Message Center\' via Developers OR from:govdelivery@subscriptions.defense.gov OR from:notifications@facebookmai.com OR from:MPP@em.home.dell.com'
tags = -inbox;+spam
message = spam message

# Tag interview emails
[Filter.4]
query = 'subject:Interview'
tags = -inbox;+interview
message = personal message

# Emacs Conf
[Filter.6]
query = 'to:emacsconf-discuss@gnu.org'
tags = -inbox;-new;+emacsconf
message = emacsconf message

[Filter.7]
query = 'from:notifications@github.com'
tags = -inbox;+github
message = Github message

[MailMover]
folders = colin@unbl.ink/INBOX colin@unbl.ink/Archive colin@unbl.ink/Trash colin@castine.town/INBOX colin@castine.town/Archive colin@castine.town/Trash

rename = True
max_age = 15

colin@unbl.ink/INBOX = 'tag:spam':colin@unbl.ink/Junk 'NOT tag:inbox':colin@unbl.ink/Archive 'tag:trash':colin@unbl.ink/Trash
colin@unbl.ink/Archive = 'tag:inbox':colin@unbl.ink/INBOX 'tag:trash':colin@unbl.ink/Trash
colin@unbl.ink/Trash = 'tag:inbox':colin@unbl.ink/INBOX 'tag:archive':colin@unbl.ink/Archive

colin@castine.town/INBOX = 'tag:spam':colin@castine.town/Junk 'NOT tag:inbox':colin@castine.town/Archive 'tag:trash':colin@castine.town/Trash
colin@castine.town/Archive = 'tag:inbox':colin@castine.town/INBOX 'tag:trash':colin@castine.town/Trash
colin@castine.town/Trash = 'tag:inbox':colin@castine.town/INBOX 'tag:archive':colin@castine.town/Archive

secstate@sdf.org/INBOX = 'tag:spam':secstate@sdf.org/Junk 'NOT tag:inbox':secstate@sdf.org/Archive 'tag:trash':secstate@sdf.org/Trash
secstate@sdf.org/Archive = 'tag:inbox':secstate@sdf.org/INBOX 'tag:trash':secstate@sdf.org/Trash
secstate@sdf.org/Trash = 'tag:inbox':secstate@sdf.org/INBOX 'tag:archive':secstate@sdf.org/Archive
