1

Topic: bulk set quota

how to set all users quota to 100 MB?

2

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://127.0.0.1:389'
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".