From 6bf9121ec907065c6c82046cd2b576b8ff70471c Mon Sep 17 00:00:00 2001 From: hoelee Date: Tue, 14 Apr 2026 09:00:00 +0800 Subject: [PATCH] chore(shell-sync): .env.example scaffolding --- platform/shell-sync/.env.example | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/platform/shell-sync/.env.example b/platform/shell-sync/.env.example index 0b0b2f65..4c028ed5 100644 --- a/platform/shell-sync/.env.example +++ b/platform/shell-sync/.env.example @@ -30,3 +30,31 @@ LOG_DIR=/var/log/imapsync # Account 1: Hotmail / Office 365 -> Mailcow (OAuth2) # ------------------------------------------------------------ +ACCOUNT_1_SOURCE_HOST=outlook.office365.com +ACCOUNT_1_SOURCE_USER=user1@hotmail.com +ACCOUNT_1_SOURCE_AUTH=oauth2 +ACCOUNT_1_SOURCE_PROVIDER=office365 +ACCOUNT_1_SOURCE_TOKEN=/tokens/user1_hotmail.token + +ACCOUNT_1_DEST_HOST=mail.hoelee.com +ACCOUNT_1_DEST_USER=user1@mailcow.com +ACCOUNT_1_DEST_PASS=your_mailcow_password + +# Delete emails on destination that don't exist on source (true/false) +ACCOUNT_1_DELETE=false + +# Dry run - log what would happen without actually syncing (true/false) +ACCOUNT_1_DRY_RUN=false + +# Extra imapsync options (optional) +ACCOUNT_1_EXTRA_OPTS= + +# ------------------------------------------------------------ +# Account 2: Any standard IMAP source (password authentication) +# ------------------------------------------------------------ + +ACCOUNT_2_SOURCE_HOST=imap.example.com +ACCOUNT_2_SOURCE_USER=user2@example.com +ACCOUNT_2_SOURCE_AUTH=password +ACCOUNT_2_SOURCE_PASS=your_source_password +