1

Topic: Limit maximum time deleted accounts are kept by domain administrator

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====


I use iRedAdmin-Pro
Is there a way to limit maximum time deleted accounts are kept by domain administrator.
I want to limit a domain administrator to be able keep account's messages for no more than 30 days.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Limit maximum time deleted accounts are kept by domain administrator

Limit all domain admins, or just one/few of them?

3

Re: Limit maximum time deleted accounts are kept by domain administrator

ZhangHuangbin wrote:

Limit all domain admins, or just one/few of them?


I want to limit admins individually

4

Re: Limit maximum time deleted accounts are kept by domain administrator

Also would be nice to limit per domain

5

Re: Limit maximum time deleted accounts are kept by domain administrator

Which one do you want right now?

6

Re: Limit maximum time deleted accounts are kept by domain administrator

Per domain, so no normal administrator can delete an account and keep files for more than 30 days

7

Re: Limit maximum time deleted accounts are kept by domain administrator

Do you want to force admins to keep for 30 days? or keep for less than 30 days is ok too?

For example, keep for 1 week, 2 weeks, 3 weeks (if all 3 lengths are available. The weeks are just for example.)

8

Re: Limit maximum time deleted accounts are kept by domain administrator

I want the maximum option to be 30 days, so 1 day, 1 week 30 days options. 
But Global admin still should be able to keep it forever

9

Re: Limit maximum time deleted accounts are kept by domain administrator

Noted, on my todo list now, but not high priority. I will reply this thread when it's finished.