# Dovecot emails not deletable

I have a Dovecot mail server running an everything is working fine - all emails arrive and new messages can go out.

To give the users the possibility to read their emails and to write them, i have installed an RoundCube webmailer. It is working all

The emails are stored in mbox format, so in a single file.

Now to the problem:

When an email is deleted via the webmail interface, it is still there - when i reload the view, the mail is showed grayed out. I have also tried to move it to the trash manually and then delete it from there - but they are still grayed out in the inbox.

Regards and thanks for the help

• Is dovecot showing any errors in its logs? Does dovecot have permission to write to the mbox file? – Kyle Sep 25 '13 at 17:05
• that is not the problem - i've tried to set 777 (only for testing, security etc.) and it still didn't work. Another thing is, that ls is showing me, that the last editing date was the 22nd September 2013, so not today - meaning, that dovecot did not even wrote to it ... – PDev Sep 25 '13 at 18:07

When you "delete" somthing in IMAP it does not usually get deleted immediately, instead the /deleted flag gets set on the message. That message will sit on the server until either an IMAP EXPUNGE command is received for the mailbox, or doomsday arrives.
add_privileged_group=mail