My Oracle Support Banner

Elasticsearch Is Not Finding A Message That Was Just Delivered (Doc ID 2751843.1)

Last updated on MARCH 12, 2021

Applies to:

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

Symptoms



A test script which sends a message via SMTP every five minutes and then logs into IMAP and does a search for the message it just sent, was run.

Prior to Elasticsearch being enabled, it worked. Now, it doesn't.

A search can be performed and the message can be found Kibana, but IMAP SEARCH never finds it.

Performing imcheck -m user/<user ID>/INBOX shows the folder is indexed. It was the first one done.

Example:

Here is the default log showing when the account was indexed:


This shows the message still exists in the folder:

$ imcheck -m user/imaptest_user/INBOX | grep 0QLP00I5GE66MT00@host-relay.domain.com
10231 174773 20201221110127 20201221110118     2252  2219      248   31812064  2944 20201221110127 20201221110127              -  0 N      -      1556118613-174773 20201221110127 20201221110127 <0QLP00I5GE66MT00@host-relay.domain.com>

This shows the subject of that message:

$ grep ^Subject 174773.msg
Subject: imaptest: 0a374f7c-9f8b-4415-b9cc-b1a976c4d021

Using the Kibana UI, a search for the following is used on that Elasticsearch service:


   subject_h: imaptest: 0a374f7c-9f8b-4415-b9cc-b1a976c4d021

Note that it finds the message.

If the same search is performed via IMAP, it does not find it.

Changes

 

Cause

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.