1

Topic: Increase mail quote command line

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


cannot update user quota using web it goes back to 1MB now it shows 8.5 GB out of 1MB
How to do it using command line ??

----

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

2

Re: Increase mail quote command line

edilsonamaral wrote:

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


cannot update user quota using web it goes back to 1MB now it shows 8.5 GB out of 1MB
How to do it using command line ??

#################################################

Ended up change value on vmail/mailbox table directly but still don't know why iRedMail-pro is not able to change it

3

Re: Increase mail quote command line

Sorry about this trouble. May i know the version number of your iRedAdmin-Pro?

4

Re: Increase mail quote command line

iRedAdmin-Pro
v2.8.0 (MySQL)

5

Re: Increase mail quote command line

Did you try to update mailbox quota as global admin, or normal domain admin?

6 (edited by logosit 2017-11-14 02:25:46)

Re: Increase mail quote command line

Hi, iRedAdmin-Pro-SQL - v 2.8.0.  Same issue.  Postgres DB.

Changing user quota as Global Admin reverts to 1MB in Admin panel, and a psql query shows the value in the DB is 1 as well. 

If I manually change the value in psql with UPDATE mailbox SET quota = '500' WHERE username = 'user@domain.com';
Then the change is reflected in iRedAdmin-Pro.

Any further changes in iRedAdmin-Pro result in the quota returning to 1MB.

Issue Persists when editing quota as Domain Admin as well.

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

7

Re: Increase mail quote command line

Further testing shows that ANY changes of the user profile resets the quota to 1MB. 

I will add that the accounts I am testing with were created using the create_mail_user_SQL.sh script.

It appears that accounts made INSIDE iRedAdmin are not affected.

8

Re: Increase mail quote command line

Sorry to Spam the post. 

When I changed the Display Name of an affected account as Global or Domain Admin, the quota is changed 1MB.

If the change is made logged in as the User, the set quota is retained.

9

Re: Increase mail quote command line

Hi @logosit:

Does the domain have enough spare quota left? If the domain quota has been allocated to users and no spare quota, you will see this issue.