-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
63 lines (63 loc) · 1.27 KB
/
config.json.example
File metadata and controls
63 lines (63 loc) · 1.27 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"imap": {
"server": "host.docker.internal",
"port": 1143,
"username": "your.email@protonmail.com",
"email": "your.email@protonmail.com",
"password": "your_bridge_password",
"starttls": false,
"starttls_insecure_skip_verify": false
},
"log_to_file": true,
"log_mailboxes": false,
"folder_prefix": "Folders/",
"imap_timeout_seconds": 60,
"sender_rules": [
{
"from_contains": "@receipts.example",
"retention_days": 365
},
{
"subject_contains": "Order Confirmation",
"retention_days": 90
},
{
"from_regex": ".*@example-bank\\.(com|net)$",
"retention_days": 730
}
],
"dry_run": false,
"folders": [
{
"name": "Spam",
"retention_days": 30
},
{
"name": "Trash",
"retention_days": 7
},
{
"name": "Newsletters",
"retention_days": 60
},
{
"name": "Notifications",
"retention_days": 14,
"dry_run": true
},
{
"name": "Finance",
"retention_days": null,
"sender_rules": [
{
"from_contains": "@bank.example",
"retention_days": 730
},
{
"subject_regex": "(?i)statement|invoice",
"retention_days": 365
}
]
}
]
}