2025-05-19 11:48:50 -07:00
2025-05-19 10:31:46 -07:00
2024-02-20 07:43:07 -08:00
2024-02-19 11:41:22 -08:00
2025-05-19 10:31:46 -07:00
2025-05-19 10:31:46 -07:00
2025-05-19 10:31:46 -07:00
2025-05-19 11:48:50 -07:00

promo_cleanup

This script enumerates all subfolders under a folder named "Promotions" on your IMAP server and deletes everything more than a week old. Use it against mailers who aren't exactly sending spam but that you don't want cluttering your main inbox by using something like procmail or sieve to sort them into Promotions subfolders. Files to start this from a systemd user timer are included.

Copy docker-compose.yml.tmpl to docker-compose.yml and fill in these variables:

IMAP_SERVER IMAP_USER IMAP_PASSWD

The script assumes you have SSL enabled on port 993 on your IMAP server. If you don't, you're doing it wrong.

Description
No description provided
Readme 30 KiB
Languages
Python 57.6%
Dockerfile 28.3%
Shell 14.1%