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. ( I am also concerned with the double // in the path in the error) 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'. /var/vmail permissions drwxrwx--- 5 vmail vmail 4096 Oct 31 16:53 vmail [root@unix vmail]# ls -al |more total 48 drwxrwx--- 5 vmail vmail 4096 Oct 31 16:53 . drwxr-xr-x 33 root root 4096 Nov 1 00:30 .. -rwxrwx--- 1 vmail vmail 33 Oct 31 16:01 .bash_logout -rwxrwx--- 1 vmail vmail 176 Oct 31 16:01 .bash_profile -rwxrwx--- 1 vmail vmail 124 Oct 31 16:01 .bashrc -rwxrwx--- 1 vmail vmail 515 Oct 31 16:01 .emacs drwxrwx--- 4 vmail vmail 4096 Oct 31 16:54 kahle.net -rwxrwx--- 1 vmail vmail 1382 Oct 31 16:01 .mailfilter drwxrwx--- 2 vmail vmail 4096 Oct 31 16:01 mailfilters drwxrwx--- 4 vmail vmail 4096 Oct 31 16:01 .mozilla -rwxrwx--- 1 vmail vmail 658 Oct 31 16:01 .zshrc protocols = imap imaps pop3 pop3s disable_plaintext_auth = no log_path = /var/log/dovcote_error.log info_log_path = /var/log/dovecot_info.log log_timestamp = "%Y-%m-%d %H:%M:%S " login_user = vmail mail_location = maildir:/var/vmail/%d/%n/Maildir first_valid_uid = 5000 last_valid_uid = 25000 first_valid_gid = 5000 last_valid_gid = 15000 protocol imap { mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap mail_plugins = quota imap_quota mail_plugin_dir = /usr/lib/dovecot/imap/ } protocol pop3 { mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/pop3 pop3_uidl_format = %08Xu%08Xv mail_plugins = quota mail_plugin_dir = /usr/lib/dovecot/pop3 } protocol managesieve { } protocol lda { postmaster_address = [email protected] mail_plugins = sieve quota mail_plugin_dir = /usr/lib/dovecot/lda auth_socket_path = /var/run/dovecot/auth-master } auth default { mechanisms = plain login passdb pam { } passdb sql { args = /etc/dovecot-sql.conf } userdb passwd { } userdb sql { args = /etc/dovecot-sql.conf } user = root socket listen { master { path = /var/run/dovecot/auth-master mode = 0600 user = vmail } client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } } } dict { } plugin { quota = maildir sieve_dir=~/sieve }
more info [root@unix etc]# hostname mail.kahle.net [root@unix etc]# hostname -f mail.kahle.net [root@unix etc]# grep frank /etc/passwd frank:x:5006:5006:Frank Kahle:/home/frank:/bin/bash
The problem is the user "frank" in /etc/passwd. If you have a linux system user on your server that has the same name then the part in front of the @ of a email address, then this user will override settingsof the mailsystem for all virtual users. To avoid that, ispconfig uses user prefixes. I guess you either disabled the prefixes in ispconfig or the user frank was created manually and not from ispconfig. Please delete or rename the system user frank.