6 The Exchange server notifies the ENS callback URL of the subscriber to inform that a new
email has arrived, hence update the email client with the notification. The ENS fetches the
details of the email from the SEG.
7 The ENS server requests the CNS or SNS to send notification to the Boxer application or the
device of the subscriber.
8 The CNS or the SNS server contacts the Apple Push Notifications (APNs for iOS devices) or
GCM or FCM (for Android devices).
9 The APNS or GCM server pushes the email notification to the device.
Using the transaction ID received in the ews-transaction log, you can search the ews-proxy.log.
For example, if the transaction ID is 544ef2b7-9ca3-4009-b116-8a9f6513f2c7 then search for
544ef2b7.
When you see 200 in the ENS transaction log, you can confirm if the notifications are going
through the CNS communication.
The Ews-transaction log sample.
Time, LogLevel, Thread Id, Message, HTTP-Method, Remote-Host, X-Forwarded-For, SEG
TransactionId, Request-DeviceId, EnsDevices, EmailServerResponseStatus, SegResponseStatus,
EmailRequestBodySize, EmailResponseBodySize, TimeTakenByKerberosService(ms),
TimeTakenBySeg(ms), TimeTakenByEmailServer(ms), BeginningOfRequest
2018-12-03 17:20:15.696, DEBUG, (vert.x-eventloop-thread-0), Responding back to
ENS,POST,192.168.2.34,null,544ef2b7-9ca3-4009-
b116-8a9f6513f2c7,6C30D0304E7A4EE795494DEB0F465B72,"6C30D0304E7A4EE795494DEB0F465B72:200",200,
200,1243,1147,2547,0,16,1543875613133
2018-12-03 17:20:18.274, DEBUG, (vert.x-eventloop-thread-0), Responding back to
ENS,POST,192.168.2.34,null,d77ae46b-2d38-46b5-9548-3bcc25a1bf03,6C30D0304E7A4EE795494DEB0F465B
72,"6C30D0304E7A4EE795494DEB0F465B72:200",200,200,673,1806,2547,0,16,1543875615711
2018-12-03 17:20:41.430, DEBUG, (vert.x-eventloop-thread-0), Responding back to
ENS,POST,192.168.2.34,null,b639bdee-0cfa-42b5-82ea-0629ab1d586a,6C30D0304E7A4EE795494DEB0F465B
72,"6C30D0304E7A4EE795494DEB0F465B72:200",200,200,1632,2464,2562,0,47,1543875638821
2018-12-03 17:21:16.462, DEBUG, (vert.x-eventloop-thread-1), Responding back to
ENS,POST,192.168.2.34,null,ed0db6c1-9dd4-420a-83d3-
e746cb17445c,82B15D853CC14CA3989020257158BFC1,"82B15D853CC14CA3989020257158BFC1:200",200,200,1
632,3028,2563,0,47,1543875673852
2018-12-03 17:21:26.493, DEBUG, (vert.x-eventloop-thread-1), Responding back to
ENS,POST,192.168.2.34,null,425fc495-4ae1-4c26-abc5-
c30f34a376cf,82B15D853CC14CA3989020257158BFC1,"82B15D853CC14CA3989020257158BFC1:200",200,200,6
73,1815,2547,16,15,1543875683915
2018-12-03 17:22:46.649, DEBUG, (vert.x-eventloop-thread-1), Responding back to
ENS,POST,192.168.2.34,null,ba0b13ad-b341-43e3-a4a9-
d1a79c5330e0,82B15D853CC14CA3989020257158BFC1,"82B15D853CC14CA3989020257158BFC1:200",200,200,1
632,3028,2547,15,32,1543875764055
2018-12-03 17:23:01.649, DEBUG, (vert.x-eventloop-thread-1), Responding back to
ENS,POST,192.168.2.34,null,262cc2b2-8ae4-4ea7-b062-
da2b2eb42a68,82B15D853CC14CA3989020257158BFC1,"82B15D853CC14CA3989020257158BFC1:200",200,200,6
73,1815,2547,0,15,1543875779087
2018-12-03 17:26:47.353, DEBUG, (vert.x-eventloop-thread-3), Responding back to
ENS,POST,192.168.2.34,null,c7e5a6c9-
b1b0-4739-9132-49470306882c,6C30D0304E7A4EE795494DEB0F465B72,"6C30D0304E7A4EE795494DEB0F465B72
:200",200,200,673,1806,2547,0,94,1543876004712
Email Notification Service 2 (ENS2)
VMware, Inc. 89