Re: failed to store into mailbox 'INBOX/Junk': Permission denied
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@hotelsangiorgioriccione.com lrwsi
- user=info@hotelsangiorgioriccione.com lrwsi
What does these commands return? doveadm acl debug -u info@hotelsangiorgioriccione.com INBOX doveadm acl debug -u info@hotelsangiorgioriccione.com INBOX/Junk
doveadm acl debug -u info@hotelsangiorgioriccione.com INBOX doveadm(info@hotelsangiorgioriccione.com): Info: Mailbox 'INBOX' is in namespace '' doveadm(info@hotelsangiorgioriccione.com): Info: Mailbox path: /var/vmail/hotelsangiorgioriccione.com/info/Maildir doveadm(info@hotelsangiorgioriccione.com): Info: All message flags are shared across users in mailbox doveadm(info@hotelsangiorgioriccione.com): Info: User info@hotelsangiorgioriccione.com has rights: lookup read write write-seen insert doveadm(info@hotelsangiorgioriccione.com): Info: Mailbox in user's private namespace doveadm(info@hotelsangiorgioriccione.com): Info: Mailbox INBOX is visible in LIST
doveadm acl debug -u info@hotelsangiorgioriccione.com INBOX/Junk doveadm(info@hotelsangiorgioriccione.com): Info: Mailbox 'INBOX/Junk' is in namespace '' doveadm(info@hotelsangiorgioriccione.com): Info: Mailbox path: /var/vmail/hotelsangiorgioriccione.com/info/Maildir/.INBOX/Junk doveadm(info@hotelsangiorgioriccione.com): Info: All message flags are shared across users in mailbox doveadm(info@hotelsangiorgioriccione.com): Info: User info@hotelsangiorgioriccione.com has rights: lookup read write write-seen insert doveadm(info@hotelsangiorgioriccione.com): Info: Mailbox in user's private namespace doveadm(info@hotelsangiorgioriccione.com): Info: Mailbox INBOX/Junk is visible in LIST
Many thanks Steffen!
- Davide Marchi <danjde@msw.it> 2017.07.26 10:25:
cat /etc/dovecot/dovecot-acl
- user=booking@hotelsangiorgioriccione.com lrwsi
- user=info@hotelsangiorgioriccione.com lrwsi
Hi Davide,
For LMTP to file the mails you need to add the p flag (POST).
Regards Thomas
participants (2)
-
Davide Marchi
-
Thomas Leuxner