1

Topic: ACL error chdir(/root/) failed

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.84
- Linux/BSD distribution name and version: debian 8 jessie
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:

root@mx2:~# doveadm acl debug test8@mailmasterserver.com
doveadm(root): Error: chdir(/root/) failed: Permission denied (euid=2000(vmail) egid=2000(vmail) missing +x perm: /root, dir owned by 0:0 mode=0700)
doveadm(root): Error: chdir(/root) failed: Permission denied
doveadm(root): Error: User initialization failed: Namespace '': stat(/root/Maildir) failed: Permission denied (euid=2000(vmail) egid=2000(vmail) missing +x perm: /root, dir owned by 0:0 mode=0700)
doveadm(root): Error: User init failed


====

I try to do share folder with open-xchange with dovecot acl plugin but it's not working.
all database is created and when I get all is good but no folder is exist.

have search for 4 hours.
But still can't make it working.

Please help.

Thank you

----

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

2

Re: ACL error chdir(/root/) failed

You should use '-u' flag to specify user address like this:

doveadm acl debug -u test8@domain.com ...

FYI: http://wiki2.dovecot.org/Tools/Doveadm/ACL

3 (edited by jackavin 2016-06-04 18:23:31)

Re: ACL error chdir(/root/) failed

Error: Mailbox 'z3' in namespace '' doesn't exist in /var/vmail/domain.com/t/e/s/testsend-2016.05.31.07.06.20//Maildir/.z3

Dovecot and database is created but not folder do I miss some config?
I think before this it working. Where config I have to looking to.
Thank you

4

Re: ACL error chdir(/root/) failed

You should create folder first.

5

Re: ACL error chdir(/root/) failed

Can I make dovecot create auto

6

Re: ACL error chdir(/root/) failed

I got it work.
My issue is I have change maildir location.

Thank you ZhangHuangbin