Add support for syncing multiple IMAP folders with auto-creation of missing dest folders and configurable folder selection. Changes: - Update main.py to loop over folders, with auto-create for dest - Add FOLDERS env var for all or specific folders - Update .env.example and README for FOLDERS config
12 lines
No EOL
396 B
Text
12 lines
No EOL
396 B
Text
SOURCE_HOST=imap.gmx.com
|
|
SOURCE_PORT=993
|
|
SOURCE_USER=your@gmx.com
|
|
SOURCE_PASS=password
|
|
DEST_HOST=yourserver.mxrouting.net
|
|
DEST_PORT=993
|
|
DEST_USER=your@mxroute.com
|
|
DEST_PASS=password
|
|
FOLDERS=INBOX
|
|
DRY_RUN=false
|
|
UPTIME_SUCCESS_URL=https://your-uptime-instance.com/api/push/your-token?status=up&msg=OK&ping=
|
|
UPTIME_FAIL_URL=https://your-uptime-instance.com/api/push/your-token?status=down&msg=Failed |