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