10 Oct
2018
10 Oct
'18
9:48 a.m.
On Wed, 10 Oct 2018 09:37:03 +0300 Aki Tuomi aki.tuomi@open-xchange.com wrote:
doveadm user <yourusername>
check the UID/GID value (or look mail_uid / mail_gid from config)
That's it! I've set /var/spool/mail/user_mbox_file to root accidentally, and haven't thought that Dovecot will try to open it as the logged in user (therefore having no right to change it). After modifying the mbox file's permission the mails can now be deleted.
Many thanks!
Regards,
Selmeci Tamás