1

Topic: /opt/iredmail/bin/create_user: quota size

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 2021020901 (Backend: mariadb, Date: 2021-02-10 13:36:19) iRedMail Easy
====

Hi,

how do I define qutoa size when running /opt/iredmail/bin/create_user? I can create users with that tool, but my quota always is ignored.

2

Re: /opt/iredmail/bin/create_user: quota size

Run it like this:

/opt/iredmail/bin/create_user <email> <plain-password> <quota-size>

Note: for server deployed with iRedMail Easy platform, better use our ticket system in iRedMail Easy web portal: https://easy.iredmail.org/

----

Buy me a cup of coffee ($5) to support iRedMail:

buy me a cup of coffee

3

Re: /opt/iredmail/bin/create_user: quota size

Well, I did run

/opt/iredmail/bin/create_user user@example.com MyPass 1024

but quota was not set.

hmm

4

Re: /opt/iredmail/bin/create_user: quota size

Confirmed it's a bug and fixed moment ago, you can login to iRedMail Easy web portal (https://easy.iredmail.org ) and re-deploy "Postfix" component to get it fixed immediately. smile

----

Buy me a cup of coffee ($5) to support iRedMail:

buy me a cup of coffee

5

Re: /opt/iredmail/bin/create_user: quota size

The passwords I've set with create_user do not work, too. Maybe another bug... Could you please have a look?

Thanks!

6

Re: /opt/iredmail/bin/create_user: quota size

- Could you show me a sample password which doesn't work? Does it contain any special character like "$"?
- How did you run the "create_user" command? Did you wrap the password with single quotes like below?

/opt/iredmail/bin/create_user user@domain.com 'my-password' 1024

----

Buy me a cup of coffee ($5) to support iRedMail:

buy me a cup of coffee

7

Re: /opt/iredmail/bin/create_user: quota size

Confirmed it's a bug of the script. you can now login to iRedMail Easy web portal (https://easy.iredmail.org ) and re-deploy "Postfix" component to get it fixed immediately.

Thanks for the feedback. smile

----

Buy me a cup of coffee ($5) to support iRedMail:

buy me a cup of coffee