1

Topic: BUG - direcot

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

1.3.1 w/LDAP and Nginx

When I create new domains and emails (after the postmaster first), the directory structure isn't created (if I create mydomain.com, there is no /var/vmail/vmail1/mydomain.com directory).

I need to log in via roundcube to the new email 'newemail@mydomain.com' to create the directories.

This makes it a multi step process to restore backup emails to recreated mailboxes.

Andrew

----

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

2

Re: BUG - direcot

This is how Dovecot works, it creates mailbox when it's necessary.
You're free to create the maildir path manually with correct owner/group (vmail:vmail) and permission (0700). Or, simply perform a POP3/IMAP login to trigger the creation.

3

Re: BUG - direcot

Good to know.

It caused extra steps in restoring all the emails; I would have thought empty directories would be created as the email address is created.


Andrew