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
|
|
@ -35,7 +35,7 @@ This will set up the virtual environment, systemd services, and provide post-ins
|
|||
- `DEST_PORT`: Port (default 993)
|
||||
- `DEST_USER`: Destination email/username
|
||||
- `DEST_PASS`: Destination password
|
||||
- `FOLDER`: Mailbox folder (default INBOX)
|
||||
- `FOLDERS`: Folders to sync (default INBOX; use "all" for all folders or comma-separated list like "INBOX,Sent")
|
||||
- `DRY_RUN`: Set to `true` for testing without forwarding (default false)
|
||||
- `UPTIME_SUCCESS_URL`: URL for success ping
|
||||
- `UPTIME_FAIL_URL`: URL for failure ping
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue