h3rb3rt
November 23, 2021, 2:16pm
1
I am using Nextcloud Mail for all my accounts, but realized that it is not a simple task to delete mails in the trash which are older then x days.
Is there any option, like with files, to only keep the last 300 days of mails and delete the rest?
I have around 10000 mails in the deleted folder, even though I wanted to go to the oldest ones to delete them - this is not working with Nextcloud Mail as expected (or just takes forever ).
Thanks
opened 10:46AM - 24 Nov 21 UTC
enhancement
0. to triage
### Feature Request
Automatic deletion of emails older then x days for at least… the Trash folder.
#### Summary
The trash of my mail accounts managed with Nextcloud mail is just hording emails and I am not able to delete them "easily". I have over 10.000 deleted mails in the folder, which are eating up disk space. Deleting the oldest first is not as simple as suspected because how to get there with NC Mail?! This is a lot of scrolling and at a certain point it stops anyhow displaying mails.
Afterwards I would need to select them, which is getting tricky too.
Anyhow my mail quota fills up, because of trash mails. I would like to see something similar to the how the Trash is handled with files. A retention time which can be defined per folder, or globally or anything like this.
I know that there is sieve support, but my mail providers do not support direct sieve access, and setting up another service to accomplish this would be out of my scope.
I found others already mentioning this issue / improvement too in topics where it simply got ignored (but answered)
https://github.com/nextcloud/mail/issues/485#issuecomment-500620450
I started a discussion in the forum too
https://help.nextcloud.com/t/deleting-mails-in-trash-after-x-days/127857
devnull
November 24, 2021, 11:36am
2
I think the Mail App is (only) a IMAP client for mail servers. I think you must set it at your mail provider if possible.