Topic: bulk set quota

how to set all users quota to 100 MB?


Re: bulk set quota

Here's python script to help you set/reset quota of ALL users:
http://iredmail.googlecode.com/hg/extra … APQuota.py

You need to change some values, you can find them in iRedAdmin-Pro settings.ini:

uri = 'ldap://'
basedn = 'o=domains,dc=iredmail,dc=org'
bind_dn = 'cn=vmailadmin,dc=iredmail,dc=org'
bind_pw = 'passwd'

new_quota = 2048   # quota size in MB

If you just want to reset user quota under one domain, change "basedn" to "ou=Users,domainName=[YOUR_DOMAIN],o=domains,dc=xxx".


Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee