Implement multi-folder synchronization
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
This commit is contained in:
parent
2ecdf33dc4
commit
485a5db8b9
3 changed files with 107 additions and 49 deletions
|
|
@ -6,7 +6,7 @@ DEST_HOST=yourserver.mxrouting.net
|
|||
DEST_PORT=993
|
||||
DEST_USER=your@mxroute.com
|
||||
DEST_PASS=password
|
||||
FOLDER=INBOX
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue