failed to store into mailbox 'INBOX/Junk': Permission denied

Davide Marchi danjde at msw.it
Wed Jul 26 11:25:05 EEST 2017


Steffen Kaiser ha scritto:
> Does INBOX/Junk already exists?

Yes, (but empty):

find /var/vmail/hotelsangiorgioriccione.com/info/ |grep INBOX
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Trash
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Trash/new
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Trash/tmp
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Trash/cur
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Trash/maildirfolder
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Trash/dovecot.index.log
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Junk
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Junk/new
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Junk/tmp
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Junk/cur
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Junk/maildirfolder
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Junk/dovecot.index.log


and same for other v-user "booking"

> What's in your ACL file?

cat /etc/dovecot/dovecot-acl
* user=booking at hotelsangiorgioriccione.com lrwsi
* user=info at hotelsangiorgioriccione.com lrwsi


> What does these commands return?
> doveadm acl debug -u info at hotelsangiorgioriccione.com INBOX
> doveadm acl debug -u info at hotelsangiorgioriccione.com INBOX/Junk

doveadm acl debug -u info at hotelsangiorgioriccione.com INBOX
doveadm(info at hotelsangiorgioriccione.com): Info: Mailbox 'INBOX' is in 
namespace ''
doveadm(info at hotelsangiorgioriccione.com): Info: Mailbox path: 
/var/vmail/hotelsangiorgioriccione.com/info/Maildir
doveadm(info at hotelsangiorgioriccione.com): Info: All message flags are 
shared across users in mailbox
doveadm(info at hotelsangiorgioriccione.com): Info: User 
info at hotelsangiorgioriccione.com has rights: lookup read write 
write-seen insert
doveadm(info at hotelsangiorgioriccione.com): Info: Mailbox in user's 
private namespace
doveadm(info at hotelsangiorgioriccione.com): Info: Mailbox INBOX is 
visible in LIST


doveadm acl debug -u info at hotelsangiorgioriccione.com INBOX/Junk
doveadm(info at hotelsangiorgioriccione.com): Info: Mailbox 'INBOX/Junk' 
is in namespace ''
doveadm(info at hotelsangiorgioriccione.com): Info: Mailbox path: 
/var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Junk
doveadm(info at hotelsangiorgioriccione.com): Info: All message flags are 
shared across users in mailbox
doveadm(info at hotelsangiorgioriccione.com): Info: User 
info at hotelsangiorgioriccione.com has rights: lookup read write 
write-seen insert
doveadm(info at hotelsangiorgioriccione.com): Info: Mailbox in user's 
private namespace
doveadm(info at hotelsangiorgioriccione.com): Info: Mailbox INBOX/Junk is 
visible in LIST


Many thanks Steffen!




More information about the dovecot mailing list