1

Topic: default mail path

==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Linux/BSD distribution name and version: Cent oS6
- Related log if you're reporting an issue:
====
when i add user : user1@doamin.com
Path to mailbox is /var/vmail   vmail1  / u/s/e/.......

can i set the default path to /var/vmail/ vmail1 domain.com/ user1@domain.com 
i know it can change path in iredadmin pro
however
i need amend each times when i add a new email

----

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

2

Re: default mail path

Please open file "libs/settings.py" under iRedAdmin-Pro directory, then find parameters start with 'MAILDIR_':

#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

Modify them to match your need, then restart Apache service to force iRedAdmin to use new settings.