1

Topic: Edit the user mailbox quota in command line

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.1
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: FreeBSD
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
install the iRedMail in FreeBSD 12.1 without iredadmin. So only able to use the command line to edit. Wonder how to edit the user mailbox quota in command line?
Thank you.

----

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

2

Re: Edit the user mailbox quota in command line

For SQL backends, please update sql column "mailbox.quota" in "vmail" db.

3

Re: Edit the user mailbox quota in command line

Wonder can share me the command line for this?

4

Re: Edit the user mailbox quota in command line

Manage to get it done, replace all the with the same quota....

# mysql -uroot -p
[(none)]> USE vmail;
[(vmail)]> UPDATE LOW_PRIORITY mailbox SET quota = '1024';

1024 represent 1GB, 5120 represent 5GB

Thank you very much for the help