1

Topic: auto create mailbox trash permission denied &Initialization failed: Na

==== Required information ====
- iRedMail version (check /etc/iredmail-release):     v0.9.5-1
- Linux/BSD distribution name and version: centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): ldap
- Web server (Apache or Nginx):apache
- Manage mail accounts with iRedAdmin-Pro? n
- Related log if you're reporting an issue:
====
Aug 28 14:50:24 imap(postmaster@tyh.com.tw): Error: Failed to autocreate mailbox Trash: Permission denied
Aug 28 14:50:24 imap(postmaster@tyh.com.tw): Info: Disconnected: Logged out in=559 out=2354
Aug 28 14:51:01 imap-login: Info: Login: user=<q1@tyh.com.tw>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4981, secured, session=<uRCuKxw78gB/AAAB>
Aug 28 14:51:01 imap(q1@tyh.com.tw): Error: user q1@tyh.com.tw: Initialization failed: Namespace '': mkdir(/var/vmail/vmail1/tyh.com.tw/q/1/1/q1-2016.08.28.12.11.28//Maildir) failed: Permission denied (euid=2000(<unknown>) egid=2000(vmail) missing +w perm: /var/vmail/vmail1/tyh.com.tw, dir owned by 1323:2000 mode=0711)
Aug 28 14:51:01 imap(q1@tyh.com.tw): Error: Invalid user settings. Refer to server log for more information.
~~~~~~~~~~



1..I am sorry ..i donot  what's going on  ....
2..i had do #chmod R +x /var/vmail/vmail

----

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

2

Re: auto create mailbox trash permission denied &Initialization failed: Na

You should try:

chown -R vmail:vmail /var/vmail/vmail1
chmod -R 0700 /var/vmail/vmail1