mirror of
https://github.com/chatmail/relay.git
synced 2026-05-21 05:18:04 +00:00
feat: Automatic per-user quota-preservation.
Replace daily timer-based message expire script with Dovecot quota-warning-triggered cleanup. When a user reaches 90% of their mailbox quota Dovecot calls the new script which removes the largest and oldest messages until usage drops below 80%. The daily `chatmail-expire` service now only handles deletion of inactive user mailboxes.
This commit is contained in:
@@ -21,7 +21,8 @@ where = ['src']
|
||||
[project.scripts]
|
||||
doveauth = "chatmaild.doveauth:main"
|
||||
chatmail-metadata = "chatmaild.metadata:main"
|
||||
chatmail-expire = "chatmaild.expire:main"
|
||||
chatmail-expire = "chatmaild.expire_inactive_users:main"
|
||||
chatmail-quota-expire = "chatmaild.quota_expire:main"
|
||||
chatmail-fsreport = "chatmaild.fsreport:main"
|
||||
lastlogin = "chatmaild.lastlogin:main"
|
||||
turnserver = "chatmaild.turnserver:main"
|
||||
|
||||
Reference in New Issue
Block a user