Mailbox maintenance
Periodic clearing of Trash folder
Section titled “Periodic clearing of Trash folder”To automatically empty the trash folder (a.k.a. wastebasket) of all mailboxes, you can extend the cleaner service unit with the following override (systemctl edit gromox-cleaner.service):
[Service]Environment=softdelete_purgetime=30d trashbin_purgetime=7dEnvironmentFile=EnvironmentFile=-/etc/gromox/gromox.cfgExecStart=ExecStart=/usr/sbin/gromox-mbop foreach.here.mb ( purge-softdelete -t ${softdelete_purgetime} -r / ) ( purge-datafiles ) ( emptyfld -R --delempty -t ${trashbin_purgetime} DELETED )