diff --git a/.env.example b/.env.example index d0eb949..0d59d47 100644 --- a/.env.example +++ b/.env.example @@ -7,7 +7,6 @@ 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 \ No newline at end of file +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 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 7377db7..2dfd7c2 100644 --- a/.gitignore +++ b/.gitignore @@ -136,6 +136,5 @@ dmypy.json .ruff_cache/ # Local data -processed_uids.txt processed_message_ids.txt last_run.txt \ No newline at end of file diff --git a/main.py b/main.py index 3eb9b97..4585634 100644 --- a/main.py +++ b/main.py @@ -34,7 +34,6 @@ dest_pass = os.getenv("DEST_PASS") if not dest_pass: raise ValueError("DEST_PASS not set") folder = os.getenv("FOLDER", "INBOX") -processed_file = os.getenv("PROCESSED_FILE", "processed_uids.txt") processed_msg_file = "processed_message_ids.txt" last_run_file = "last_run.txt" dry_run = os.getenv("DRY_RUN", "false").lower() == "true"