My Oracle Support Banner

How To Access Expunged Messages On Cassandra Store? (Doc ID 2799874.1)

Last updated on OCTOBER 25, 2021

Applies to:

Oracle Communications Messaging Server - Version 8.1.0 and later
Information in this document applies to any platform.

Goal

Qn1:  A script exists which uses the "imcheck -m user// -e" command to identify expunged, but not yet cleaned up, messages,
and then goes into the classic store to find the corresponding .msg files and prints the Subject, To, Cc, From, Date, and Message-id headers.
This is used to look for messages which have been accidentally deleted/expunged and then use "mboxutil -R" to restore them.

How can this be done on a Cassandra store?

The goal is for imcheck to provide a way to display the headers from expunged (but not yet cleaned up) messages.

The "imcheck -m user/<userid>/<folder> -e" command already has "-c " to display the header cache from non-expunged messages.
But that won't work in this situation because it only looks at <msgno>, not <uid> -- because it is looking at non-expunged -- and it is displaying the header cache, which is is not applicable for expunged messages.

Is there an option on the "imcheck -m user/<userid>/<folder>" command to dump the headers of a message based on uid number, regardless of whether the message has been expunged? Also, is there a way to dump the content (like the -b does now for non-expunged)?

Qn2:  How can this be tied back to an IMAP folder and Message UID number?

Qn3:  In the example given (see answer to question #2), where it was said to substitute the userid for the puid=, does that return all expunged (but not yet cleaned up) messages in any of that user's folders?

Qn4:  Is there any info about when the message was expunged?
When impurge processes the "purge" task for the folder, how does it know to only cleanup those messages which were expunged more than role.store.cleanupage hours earlier?
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.