Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 720 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 720 Bytes

mailcow-scripts

A few scripts to help manage your mailcow-dockerized installation. I'll be adding to this repo as I find more common administrative tasks that can be easily scripted and automated.

scripts

mail_cleanup.sh

Delete messages in the Junk and Trash folders that are older than a certain amount of days. Usage details in the wiki here

mail_prune.sh

Delete messages from all mailboxes that are older than a certain number of days, provided those messages are READ and UNflagged. Usage details in the wiki here.

That's all for now!