Dovecot Permissions

i am trying to get Dovecot working, I am almost there. however i see the following errors when my outlook client attempts to do anything within Dovecot.


2011-11-02 09:44:17 IMAP(frank): Error: opendir(/var/vmail//frank/Maildir) failed: Permission denied (euid=5006(frank) egid=5006(frank) missing +x perm: /var/vmail/)
2011-11-02 09:44:17 IMAP(frank): Error: stat(/var/vmail//frank/Maildir) failed: Permission denied
2011-11-02 09:44:17 IMAP(frank): Error: stat(/var/vmail//frank/Maildir/.Sent/tmp) failed: Permission denied (euid=5006(frank) egid=5006(frank) missing +x perm: /var/vmail/)
 

this is the actual directory

/var/vmail/kahle.net/frank/Maildir

this is whats in the directory:

drwxrwx--- 9 vmail vmail 4096 Oct 31 23:06 .
drwxrwx--- 3 vmail vmail 4096 Oct 31 16:54 ..
-rwxrwx--- 1 vmail vmail   47 Oct 31 16:54 courierimapsubscribed
drwxrwx--- 2 vmail vmail 4096 Oct 31 16:53 cur
-rwxrwx--- 1 vmail vmail 3552 Oct 31 23:06 dovecot.index.log
-rwxrwx--- 1 vmail vmail 1879 Oct 31 23:06 dovecot-uidlist
-rwxrwx--- 1 vmail vmail    8 Oct 31 16:53 dovecot-uidvalidity
-rwxrwx--- 1 vmail vmail    0 Oct 31 16:53 dovecot-uidvalidity.4eaf0acb
drwxrwx--- 5 vmail vmail 4096 Oct 31 16:54 .Drafts
drwxrwx--- 5 vmail vmail 4096 Oct 31 16:54 .Junk
drwxrwx--- 2 vmail vmail 4096 Oct 31 23:06 new
drwxrwx--- 5 vmail vmail 4096 Oct 31 16:54 .Sent
-rwxrwx--- 1 vmail vmail   23 Oct 31 16:54 subscriptions
drwxrwx--- 2 vmail vmail 4096 Oct 31 23:06 tmp
drwxrwx--- 5 vmail vmail 4096 Oct 31 16:54 .Trash

and outlook reports "The server responded: 'NOPERM] No permission to read subscriptions'.

Any help would be appreciated.
 

Forums: 

Gentlemen, You want to check

Gentlemen,

You want to check your email client settings.

In looking at what you provided I see that dovecot is trying to stat /var/vmail/frank/Maildir

and your Maildir location is actually /var/vmail/kahle.net/frank/Maildir

 

When you provided your logon credentials did you use:

Username: Frank

Domain: kahle.net

 

or Username: frank@kahle.net

Domain: kahle.net

 

Remember when the system is setup that the username passed to dovecot is the whole.

So when we test we ask for john@example.com and not john.

 

Check your email client settings and I think you will fix your issue.

Add new comment