Implement email forwarder
Add core IMAP forwarding logic with time-based searches and Message-ID deduplication to prevent duplicates in destination mailbox. Changes: - Implement SINCE-based email search using last_run.txt for incremental forwarding - Add Message-ID extraction and IMAP checks for deduplication - Configure systemd user services with drop-in overrides for portability - Integrate Uptime Kuma pings for monitoring - Set up virtual environment for dependency isolation - Update documentation and configuration templates
This commit is contained in:
commit
686c4877d3
9 changed files with 389 additions and 0 deletions
13
.env.example
Normal file
13
.env.example
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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
|
||||
FOLDER=INBOX
|
||||
PROCESSED_FILE=processed_uids.txt
|
||||
DRY_RUN=false
|
||||
UPTIME_SUCCESS_URL=https://uptime.jeena.net/api/push/aUC76G2mpY?status=up&msg=OK&ping=
|
||||
UPTIME_FAIL_URL=https://uptime.jeena.net/api/push/aUC76G2mpY?status=down&msg=Failed
|
||||
Loading…
Add table
Add a link
Reference in a new issue