Unable to undelete emails from roundcubemail

Liutauras Adomaitis adomaitis at kolabsystems.com
Wed Sep 20 08:03:11 CEST 2017


Hi,

On 2017 m. rugsėjo 19 d., antradienis 21:37:28 EEST Homer Dokes wrote:
> Greetings,
> 
> I have a user who has inadvertently deleted all the emails in a series
> of folders.  The emails are still in their physical mailbox directories
> on the server and they can be seen grayed out within the roundcubemail
> environment and each one can be selected and the contents reviewed.
> 
> The issue is that they want to un-delete these emails and I have read
> that there is suppose to be a way to do this within roundcubemail by
> right clicking on the folder and selecting 'un-delete' however this
> option does not exist in either of two different Kolab 3.4
> installations.  (I will add that I have done recent (withing last 2
> weeks) updates of both services for the Kolab environment.
> 
> In addition, when attempting to use the expunge command at the CLI it
> does not see any of these emails as being marked for deletion or
> available for recovery tho they are clearly residing in their respective
> mailbox on the hard drive, can be see (tho grayed out) within
> roundcubemail, and can have their contents reviewed.  If I toggle the
> 'do not show deleted emails' in roundcubemail then these emails
> disappear from the roundcubemail display.
> 
> The same information I have read suggests that the 'un-delete' option
> from the pop up menu's has to be 'enabled' however there is no reference
> there or in any search on the internet for enabling this option.
> 
> So.... to recount....
> 
> emails have been marked for deletion
> emails can still be seen in kolab and look to be marked for deletion as
> they are grayed out (further substantiated by enabling 'do not show
> deleted emails' and having the emails in question disappear)
> emails are still in their respective mailbox on the hard drive
> emails do not show as marked for deletion when using [su - -s /bin/bash
> cyrus -c "/usr/lib/cyrus-imapd/unexpunge -l
> user/john.doe/Repairs at example.org"]
> roundcubemail option to 'un-delete' in right click pop up menu does not
> exist
> we can find no where either in config files or through user settings on
> roundcubemail to enable the un-delete option.
> 
> I also searched the users mailing list and could find nothing on this.
> 
> In a word........   help?
> 
> As always.... thanks to anyone who can shed light on this.
> 
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users

To undelete ( or should I say un-mark for deletion) the message you should 
click on "start" column of that particular message.

There are 2 different things:
- mark message as deleted and
- expunge message

Mark message for deletion is IMAP protocol "thing" and it is just a flag for a 
message. IMAP client application (roundcubemail is one of them) can decide how 
to show such flaged messages.

Expunge - that is actually remove message from the mailbox. After the message 
is expunged it is no longer in the mailbox and user can't unexpunge that 
anymore. It is gone.
But, if you configure Cyrus IMAP for delayed expunge (which is default), Cyrus 
IMAP will not remove the message file from the disk for some time. So even 
though user can't unexpunge the expunged message, sysadmin with access to 
Cyrus IMAP server can do that with unexpunge utility provided by Cyrus. 

So all your observations are correct and as the messages were marked forl 
deletion you should see those messages as still being in the mailbox, but 
should not see flaged messages with unexpunge utility, as those messages were 
not expunged.

Liutauras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/users/attachments/20170920/dae24cf3/attachment.sig>


More information about the users mailing list