Davide Marchi
2017-Jul-26 08:25 UTC
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 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/Junkdoveadm 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!
Thomas Leuxner
2017-Jul-26 09:06 UTC
failed to store into mailbox 'INBOX/Junk': Permission denied
* Davide Marchi <danjde at msw.it> 2017.07.26 10:25:> cat /etc/dovecot/dovecot-acl > * user=booking at hotelsangiorgioriccione.com lrwsi > * user=info at hotelsangiorgioriccione.com lrwsiHi Davide, For LMTP to file the mails you need to add the p flag (POST). Regards Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20170726/f4991228/attachment.sig>