1

Topic: iRedAdmin-Pro-SQL-2.5.0 create user by MAILDIR_STYLE='normal'!

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: CentOS 6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? iRedAdmin-Pro-SQL-2.5.0
- Related log if you're reporting an issue:
====

I want to create user in iRedAdmin-Pro-SQL by MAILDIR_STYLE='normal'.
How can do that?

Thanks for your help.

----

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

2

Re: iRedAdmin-Pro-SQL-2.5.0 create user by MAILDIR_STYLE='normal'!

You can find 3 settings related to maildir path in iRedAdmin-Pro source file "/var/www/iredadmin/libs/default_settings.py" (WARNING: DO NOT MODIFY THIS FILE):

# It's RECOMMEND for better performance. Samples:
#   - hashed: domain.ltd/u/s/e/username-2009.09.04.12.05.33/
#   - non-hashed: domain.ltd/username-2009.09.04.12.05.33/
MAILDIR_HASHED = True

# Prepend domain name in path. Samples:
#   - with domain name: domain.ltd/username/
#   - without: username/
MAILDIR_PREPEND_DOMAIN = True

# Append timestamp in path. Samples:
#   - with timestamp: domain.ltd/username-2010.12.20.13.13.33/
#   - without timestamp: domain.ltd/username/
MAILDIR_APPEND_TIMESTAMP = True

If you want to change them, just copy the parameter to iRedAdmin-Pro config file /var/www/iredadmin/settings.py and set proper values, then restart Apache service.

3

Re: iRedAdmin-Pro-SQL-2.5.0 create user by MAILDIR_STYLE='normal'!

ZhangHuangbin wrote:

You can find 3 settings related to maildir path in iRedAdmin-Pro source file "/var/www/iredadmin/libs/default_settings.py" (WARNING: DO NOT MODIFY THIS FILE):

# It's RECOMMEND for better performance. Samples:
#   - hashed: domain.ltd/u/s/e/username-2009.09.04.12.05.33/
#   - non-hashed: domain.ltd/username-2009.09.04.12.05.33/
MAILDIR_HASHED = True

# Prepend domain name in path. Samples:
#   - with domain name: domain.ltd/username/
#   - without: username/
MAILDIR_PREPEND_DOMAIN = True

# Append timestamp in path. Samples:
#   - with timestamp: domain.ltd/username-2010.12.20.13.13.33/
#   - without timestamp: domain.ltd/username/
MAILDIR_APPEND_TIMESTAMP = True

If you want to change them, just copy the parameter to iRedAdmin-Pro config file /var/www/iredadmin/settings.py and set proper values, then restart Apache service.

It works. Thank you very much.