View Single Post
  #1  
Old 3rd November 2011, 13:38
frankkahle frankkahle is offline
Junior Member
 
Join Date: Nov 2011
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default dovecot permission problems

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 = postmaster@example.com
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
}
Reply With Quote
Sponsored Links