-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmigration_job.example.json
More file actions
36 lines (36 loc) · 1.39 KB
/
Copy pathmigration_job.example.json
File metadata and controls
36 lines (36 loc) · 1.39 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
# IMAP Synchronizer unattended job template.
#
# Copy this file (e.g. to my_migration_job.json), edit it, then run:
# python3 imapsynchronizer.py --job my_migration_job.json
# Exit codes: 0 = verified OK, 1 = error, 2 = differences found.
#
# Lines starting with '#' are comments; delete them if you like.
{
"source": {
"host": "imap.old-server.com",
"port": 993,
"user": "user@old-server.com",
# Name of the ENVIRONMENT VARIABLE that holds the password (recommended,
# keeps this file credential-free). To store it in the file instead,
# replace the line with: "password": "plain-text — protect this file!"
"password_env": "SRC_IMAP_PASS"
},
"destination": {
"host": "imap.new-server.com",
"port": 993,
"user": "user@new-server.com",
"password_env": "DST_IMAP_PASS"
},
# Full folder names to skip, case-insensitive. [] = exclude nothing.
"exclude_folders": ["Trash", "Junk"],
# Copy only messages that ARRIVED within this inclusive range (yyyy-mm-dd).
# "" = no limit on that side.
"date_from": "",
"date_to": "",
# true = MERGE: add the messages into the destination's own folders
# (INBOX->INBOX, Sent->Sent, ...) instead of copying under _IMAP-Synchronizer/.
"merge": false,
# true (default) = accept invalid or self-signed TLS certificates
# (insecure SSL); set to false to require a valid certificate.
"allow_insecure_ssl": true
}