[Dovecot] userdb maildir permission denied in 2.1.7
Dear All,
I'm using version 2.1.7 which currently ships with debian stable.
I'd like to use
userdb { driver = passwd-file args = username_format=%n /etc/dovecot/users
default_fields = uid=vmail gid=vmail override_fields =
skip = never
result_failure = continue result_internalfail = continue result_success = return-ok }
from [1].
The error message is:
Jan 25 14:02:03 post1 dovecot: lda(chris): Error: user chris: Initialization failed: Namespace '': stat(/home/vmail/chris/Maildir) failed: Permission denied (euid=1000(chris) egid=1000(chris) missing +x perm: /home/vmail/chris, dir owned by 1001:1001 mode=0700)
The skip and result_* commands aren't supported.
My users file: chris:{MD5-CRYPT}$1$3uC3URg......:::/home/vmail/chris/:/bin/false::
Dovecot should access the Maildir with vmail:vmail (1001:1001) and not chris:chris (1000:1000)!
Thank you in advance!
- Chris
Sorry, there's another issue with this configuration, not in the part I quoted. Please ignore this thread. If there are further questions, I'll ask again.
- Chris
On 01/25/2014 05:28 PM, Chris wrote:
Dear All,
I'm using version 2.1.7 which currently ships with debian stable.
I'd like to use
userdb { driver = passwd-file args = username_format=%n /etc/dovecot/users
default_fields = uid=vmail gid=vmail override_fields =
skip = never
result_failure = continue result_internalfail = continue result_success = return-ok }
from [1].
The error message is:
Jan 25 14:02:03 post1 dovecot: lda(chris): Error: user chris: Initialization failed: Namespace '': stat(/home/vmail/chris/Maildir) failed: Permission denied (euid=1000(chris) egid=1000(chris) missing +x perm: /home/vmail/chris, dir owned by 1001:1001 mode=0700)
The skip and result_* commands aren't supported.
My users file: chris:{MD5-CRYPT}$1$3uC3URg......:::/home/vmail/chris/:/bin/false::
Dovecot should access the Maildir with vmail:vmail (1001:1001) and not chris:chris (1000:1000)!
Thank you in advance!
- Chris
On 2014-01-25 19:17, Chris wrote:
Sorry, there's another issue with this configuration, not in the part I quoted. Please ignore this thread. If there are further questions, I'll ask again.
userdb { ... default_fields = uid=vmail gid=vmail
default_fields=uid=1001 gid=1001
...
}
ignore if it already tested
participants (2)
-
Benny Pedersen
-
Chris