-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.toml
43 lines (37 loc) · 1.37 KB
/
config.example.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name = "John Doe" # Primary name that is used to compose email addresses
addresses = ["[email protected]", "[email protected]"] # list of used addresses, first address is a primary outbound address
maildir = "/home/john/.mail" # path to maildir
# mail submission settings
[submission]
hostname = "mail.john.me" #
port = 587
username = "john"
password_command = "pass john.me/mail" # shell command to execute to get password
dkimkey_command = "cat default.private" # shell command to execute to get DKIM private key
[cleanup]
tags = ["trash"] # mailboxes to cleaup
interval = "48h" # cleanup period
# tagging rules for inbound mail
# format:
# "+tag_to_add -tag_to_remove" = "condition"
[tag_rules]
"+personal" = "to:[email protected] or to:[email protected]"
"+openbsd +list" = "to:[email protected]"
"+trash -unread -inbox" = "folder:Trash"
# list of mailboxes
[[mailboxes]]
id = "inbox"
folder = "INBOX" # Maildir folder
terms = "tag:personal and tag:inbox" # Tags based query for the mailbox
toggle_tags = ["inbox"] # Tag to toggle when added and removed from/to the mailbox
tracked = true # Hightlight in UI when have new mail
[[mailboxes]]
id = "trash"
folder = "Trash"
terms = "tag:trash"
toggle_tags = ["trash"]
[[mailboxes]]
id = "openbsd"
folder = ""
terms = "tag:openbsd and tag:inbox"
toggle_tags = ["inbox"]