1 (edited by selea 2018-08-30 02:44:15)

Topic: New account is missing maildir catalogues

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 0.9.8 MYSQL edition.
- Linux/BSD distribution name and version: 18.04
- Store mail accounts in which backend: MySQL
====

Hi

When I create a new emailadress for a certain domain, the maildir is not created.
The mailboxes was migrated from an older installation one month ago.

Log from dovecot:

Aug 29 20:21:36 hashmal dovecot: imap-login: Login: user=<team@linux.pizza>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=12247, secured, session=<JEJsB5d0ypN/AAAB>
Aug 29 20:21:36 hashmal dovecot: imap(team@linux.pizza): Error: chdir(/var/vmail/vmail1/linux.pizza/t/e/a/team-2018.08.29.20.12.23//) failed: Permission denied (euid=2000(vmail) egid=2000(vmail) missing +x perm: /var/vmail/vmail1/linux.p
izza, dir owned by 0:0 mode=0700)
Aug 29 20:21:36 hashmal dovecot: imap(team@linux.pizza): Error: Namespace '': stat(/var/vmail/vmail1/linux.pizza/t/e/a/team-2018.08.29.20.12.23//Maildir) failed: Permission denied (euid=2000(vmail) egid=2000(vmail) missing +x perm: /var/
vmail/vmail1/linux.pizza, dir owned by 0:0 mode=0700)

Everything looks good in the iredadmin logs when creating a user.

----

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

2

Re: New account is missing maildir catalogues

Found out the issue.
There where new catalogues created (old ones in /var/vmailadmin/, new ones in /var/vmail/) that did not have the correct permissions.