Commercial email systems will automatically delete trash or spam older than X days.
Does mail-in-a-box have a way to do this? It sure would be good for disk space …
Thanks!
Commercial email systems will automatically delete trash or spam older than X days.
Does mail-in-a-box have a way to do this? It sure would be good for disk space …
Thanks!
Unsupported:
Cron job that clears all /home/user-data/mail/domain/user/trash folder.
is there a way to delete all emails older than, say 90days?
Sorry to bring this up 2 years later. Is the cron job approach still good? Will deleting the files directly cause database corruption? That’s my only concern.
Thanks
cinergi
I would try some solution based in Dovecot, where I could. This ServerFault answer seems useful for a start:
Thank you! Yes, this seems to work great and is much more elegant than the direct file-deletion method.
another 20 for you.