How Can We Correlate the ENQUEUE Event in MTA Logs? (Doc ID 2238315.1)

Last updated on MARCH 01, 2017

Applies to:

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

Goal

We're capturing the X-Mailer header line and need to correlate the header log line with the Enqueue event.  We are trying to correlate with PID and timestamp but this method may be prone to potential ambiguity if two messages enqueued near the same time by the same process.

Question 1:  How is it possible to correlate header log entries with ENQUEUE events? The header log line doesn't have a message-id, so how can you definitively correlate it with the enqueue?  The PID and Timestamp are logged and we can use this to correlate, but what if the same process enqueues another message within the same second?

Question 2:  Sometimes the X-Mailer header logged just before the Enqueue event and sometimes it just before the Dequeue. The logic here as it seems inconsistent. Can this be explained?

Solution

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