Dovecot emails not deletable

dovecotemail

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

Best Answer

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.

There should be a button in RoundCube to perform an expunge operation [also referred to as 'compacting' the mailbox in other clients] and/or an option to expunge on logout.