Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm getting in my syslog the following warning

27 16:53:54 h2004156 dovecot: imap-login: Login: user=<>, method=PLAIN, rip=, lip=, mpid=14496, TLS
Jan 27 16:53:54 h2004156 dovecot: imap( Error: chdir(/var/vmail/user/test/) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +x perm: /var/vmail, dir owned by 150:8 mode=0770) 

previously I have been adding vmail group and user but doesn't seems to work

share|improve this question
up vote 0 down vote accepted

The message is telling you exactly what the problem is: Dovecot (running under uid&gid 5000) doesn't have execute (search) permission on the /var/vmail directory. It's even telling you what the owner, group, and mode of the problematic directory is! Did you change the permissions of this directory recently? Was the group ID of that directory supposed to be 5000 (instead of 8) or perhaps was the mode supposed to be 0771 (instead of 0770)?

share|improve this answer
I have been deleting user and group and recreating theme groupadd -g 5000 vmail useradd -u 5000 -d /var/vmail -s /usr/sbin/nologin -g vmail vmailchown vmail:vmail /var/vmail -Rf chmod 700 /var/vmail – fefe Jan 27 '13 at 16:59
I have been installing ispconfig3 on ubuntu 12.04 I even run an update on this but I can get right permissions – fefe Jan 27 '13 at 19:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.