Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm getting in my syslog the following warning

27 16:53:54 h2004156 dovecot: imap-login: Login: user=<test@domain.com>, method=PLAIN, rip=89.16.141.57, lip=85.214.254.164, mpid=14496, TLS
Jan 27 16:53:54 h2004156 dovecot: imap(test@domain.com): 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

1 Answer 1

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

 
discard

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.