[Dovecot] userdb maildir permission denied in 2.1.7

Chris ch2009 at arcor.de
Sat Jan 25 18:28:10 EET 2014


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


[1] http://wiki2.dovecot.org/UserDatabase


More information about the dovecot mailing list