1

Topic: vmail folder location

==== Provide required information to help troubleshoot and get quick answer ====
- Linux/BSD distribution name and version: CentOS 5.7
- iRedMail version and backend (LDAP/MySQL): LDAP
- Any related log? Log is helpful for troubleshooting.
====

after a couple unsuccessful installs I managed to install iRedMail 0.7.4. I looked around and this is my /var/vmail folder. is this folder structure OK?

/var/vmail/vmail1/example.com/w/w/w/www-2012.01.19.19.02.33/Maildir

my welcome email says:

Mail Storage:
    - Path:
        + /var/vmail
        + /var/vmail/vmail1

----

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

2

Re: vmail folder location

It's correct.

3

Re: vmail folder location

Is there any way to change the structure?
Can someone explain why the file structure it is so complicated?
I think iredmail is great but I miss the structure that is closer to

/var/vmail/domain/user/Maildir

4

Re: vmail folder location

You can make it simple, but it depends on which tool you used to create mail users.

- With iRedAdmin-Pro, you can control maildir path style in libs/settings.py.
- With iRedAdmin open source edition, you can control it in libs/iredutils.py.

Set three maildir related settings to False to get what you want:

#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

5

Re: vmail folder location

Excellent! Thank you!