Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 really banging my head on this one. I have a CentOS 6.1 running postfix/dovecot accessing a Windows 2008R2sp1 NFS share. In a test where the Windows server is a stand-alone file server, I can process email no problem. Once I try to do the same in a CLUSTERED 2008r2sp1 file server all that dovecot seems to be able to do is create the domain folder and account folder beneath that - not the cur, new, or tmp folders. Dovecot gives this error:

Error: chdir(/var/vmail/ failed: Permission denied (euid=5000(vmail) egid=5000(vmail) missing +w perm: /var/vmail/, euid is not dir owner)

And in the shared folder I see the directory and xxx subdirectory, but nothing inside the xxx subdirectory

The Windows NFS share has the following checked

NFS ADVANCED SHARING - No Server Authentication - Enable unmapped user access - Allow anonymous access UID 5000 GID 5000 (mapped to an AD domain user)

NFS SHARE PERMISSIONS - All Machines - Read-write - Root access allowed - ANSI

This share was set up the same on the standalone development server as it is in the server cluster. All file server systems are 2008r2sp1.

Any help or insightful questions would be greatly appreciated.

share|improve this question
up vote 2 down vote accepted

Read the error message again. It says "euid is not dir owner" which means "the user with the id 5000 is not the owner of the directory".

Correct that. Authentication is not the problem here. Authorization is.

On the other hand: Don't do NFS that way with Dovecot! See for details. And then NFS is no native service on Windows, which means another pitfall. I - personally - would never ever trust this kind of setup.

share|improve this answer

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.