User-Defined Flags No Longer Used Are Not Getting Removed (Doc ID 1406528.1)

Last updated on AUGUST 19, 2015

Applies to:

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

Symptoms

When users remove a user defined flag from messages in their mailbox, the flag remained in the mailbox index file. 

Eg:
The following is a sequence of IMAP commands, used on a mailbox. There is however only one message having a flag called hishers.
The first command removes the hishers flag from the message 1, but as you can see in the select command afterwards, the flag is still in the mailbox index :

. store 1 -flags hishers
* 1 FETCH (FLAGS (text gotta))
. OK Completed

. select INBOX
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen Mine theirs hishers ours shoulda coulda gotta)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen Mine theirs hishers ours shoulda coulda gotta \*)]
* 3 EXISTS
* 0 RECENT
* OK [UNSEEN 1]
* OK [UIDVALIDITY 1307562472]
* OK [UIDNEXT 11]
. OK [READ-WRITE] Completed


All IMAP commands are in bold, the lines following is the response from the IMAP server.

Also, using a command like imcheck on a mailbox

   eg. imcheck -m user/<userid>/<folder>

will also show the flag in the mailbox index even though it is no longer associated with any messages in the mailbox:

# ./imcheck -m user/<userid>/INBOX
--------------------------------------------------------------------------------
Name: user/<userid>
Version: 103
<....>
Userflags:
Mine
theirs
hishers
ours
shoulda
coulda
gotta
Subscribed: 0
Partition: primary
<....>



Cause

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 hundreds of Community platforms