-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmail-backup.yaml.sample
25 lines (20 loc) · 1.21 KB
/
mail-backup.yaml.sample
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
# log_file: "./mail-backup.log"
# log_level: "debug" # debug, info, warning, error
imap_host: "your.host"
imap_username: "your.email"
imap_password: "your.password"
imap_folders:
# there is a good change, that these folder settings match your needs.
# but in case you need to adapt the folder names and are not sure about: start the app and watch the output for "found mail folders".
- folder_name: "INBOX"
path: "./downloaded/{YEAR}-{MONTH}/{YEAR}{MONTH}{DAY}-{HOUR}{MINUTE}-IN-{FROM}-{SUBJECT}-{UID}.eml"
# last_days: 7 # only download emails from the last x days
when_exists: "compare" # skip, overwrite, compare
- folder_name: "Sent"
path: "./downloaded/{YEAR}-{MONTH}/{YEAR}{MONTH}{DAY}-{HOUR}{MINUTE}-OUT-{TO1}-{SUBJECT}-{UID}.eml"
# last_days: 7 # only download emals from the last x days
when_exists: "compare" # skip, overwrite, compare
- folder_name: "Sent Items"
path: "./downloaded/{YEAR}-{MONTH}/{YEAR}{MONTH}{DAY}-{HOUR}{MINUTE}-OUT-{TO1}-{SUBJECT}-{UID}.eml"
# last_days: 7 # only download emals from the last x days
when_exists: "compare" # skip, overwrite, compare