UI for email autoexpunge configuration
-
@fbartels thanks for sharing! that's an excellent setting.
"Be aware that the messages saved to Inbox 60 days ago and moved to Junk today will not be deleted."
I really like this. What this means is that a message has to be in Junk folder for 60 days before removal. So, it doesn't rely on when the mail was delivered.
I am tempted to just make a 30d default clean up. I think this is the gmail default. Anyone opposes this? We can make it configurable later, but that's a lot more work.
-
@girish I'd love to see this, but I am worried about it being on-by-default in all honesty. Unless you can set it to be a default on new installs only and not impact existing installs?
My concern would be if it's on by default that it may run and purge a bunch of mail right after upgrading to a new version of Cloudron, and that may negatively impact our own clients for example if someone upgrades without realizing how that particular function will work ahead of time.
Speaking for myself anyways, I'd prefer to give my clients advanced warning of such a new policy (because that's basically how they'd see it... as a "policy" that now restricts how long they can keep mail in their junk or trash folders). IMO, users should be given advanced notice of such an implementation, which kind of contradicts the on-by-default approach as I'd assume if it's on by default it'd basically start purging emails right after upgrading to the new Cloudron version. Users should be given as much notice as reasonable before anything gets purged. I'd also really like to customize the time-span (i.e. 30 days may be too soon for certain types of clients, I can see a use-case for mine when many of them are medical-oriented and need to be extra careful where I'd want it to be 60 days at least for them in my case for example).
Ultimately, this seems like one of those features that should definitely be implemented but as off-by-default and with the ability to be customized too. And if customization has to come later, then released but still off-by-default.
My two cents anyways.
-
@girish said in UI for email autoexpunge configuration:
I am tempted to just make a 30d default clean up.
very good idea, especially because its 30 days AFTER it's moved to the spam or trash folder
Is there a way to do that now already (manually)?
-
-
-
@girish I think it'd be good for admins to have control over that setting (I don't think it's configurable is it?), that is after-all the original intention of the OP, to have a GUI to set email autoexpunge configs. But for me personally, I'd like to do something similar on Trash folder.
-
@girish said in UI for email autoexpunge configuration:
@d19dotca We already autoexpunge Spam after 60 days. Do you want something more? This was part of Cloudron 7.
mailbox Spam { auto = subscribe special_use = \Junk autoexpunge = 60d }
Where can I find this config? I couldn't find this in any file at
/etc/dovecot/conf.d/
inside the mail container.Is this configured only for "Spam" folder or also for "Trash" folder?
-