1 (edited by khalid.hajem 2017-01-04 21:17:21)

Topic: Update All current users Mailbox quota

==== Required information ====
- iRedMail version (check /etc/iredmail-    v0.9.5-1):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP):
- Web server (Apache ):
- Manage mail accounts with iRedAdmin?
- Related log if you're reporting an issue:
====

Dear, can you help about Update All current users Mailbox quota.

Thanks.

----

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

2

Re: Update All current users Mailbox quota

We have a script for you:
https://bitbucket.org/zhb/iredmail/src/ … ta_ldap.py

Note: you must update some parameters in this file:

uri = 'ldap://127.0.0.1:389'
bind_dn = 'cn=vmailadmin,dc=iredmail,dc=org'
bind_pw = 'passwd'

# Base dn used to update ALL mail users.
basedn = 'o=domains,dc=iredmail,dc=org'
# Base dn used to update users under domain 'example.com'.
#basedn = 'ou=Users,domainName=example.com,o=domains,dc=iredmail,dc=org'

new_quota = 2048   # quota size in MB

3 (edited by khalid.hajem 2017-01-05 03:24:57)

Re: Update All current users Mailbox quota

thanks for your support smile