Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chatmail: Automatic data/account deletion #288

Open
4 tasks
s0ph0s-dog opened this issue Feb 16, 2025 · 0 comments
Open
4 tasks

Chatmail: Automatic data/account deletion #288

s0ph0s-dog opened this issue Feb 16, 2025 · 0 comments

Comments

@s0ph0s-dog
Copy link
Contributor

This is part of a series of issues tracking chatmail support in Mox.

In order to minimize the amount of data retained on the mail server, chatmail servers impose the following mandatory data deletion limits:

  • All mails are deleted 30 days after receipt
  • All chatmail accounts are deleted 90 days after the most recent log in

These limits should be configurable by the server administrator.

Open question: Should the data retention limits be configurable per-user? (Up to but not exceeding the server-wide limit)

  • Add goroutine which waits in the background and wakes itself once per day.
  • Make that goroutine delete all emails in all user accounts which were received more than 30 days ago.
  • Make that goroutine delete all user accounts marked as chatmail-enabled and which have a last log-in date of more than 90 days ago.
  • Add configuration options to control the data retention limits in the domains.conf.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant