BlackBerry Enterprise Server Log, BB device and Outlook Communication, Part IV
Part IV – Deletion from BB device and from OutlookThe fourth of my five part series in BlackBerry Enterprise Server debug log articles. This time let’s take a look at deletion operation from both Outlook as well as BB device and how BES logs it in the debug log.
From Outlook
There is no immediate update on the device as it all depends on the rescan schedule which I could not figure out the pattern or interval. Look for a pair of “Starting message moved rescan” and “Message moved rescan completed”. If there is any update or changes, it will slot in between this pair indicating the action such as the case below, [40692, 40541, 40693].
The rescan pattern (from my observation), varies from 4 minutes – 28 minutes and anything in between. Not sure why.
I deleted email (RefId=-1501630049, received earlier in my second article) from Inbox. It does not happen immediately. I deleted at 13:38 but it wasn’t until about 10 minutes later it updated my handheld.
=== SERVERNAME_MAGT_01_20090123_0001.txt ===
1. [40692] (01/23 13:45:20.920):{0×1F30} {cat@cheelam.com} Starting message moved rescan
2. [40541] (01/23 13:45:21.310):{0×1F30} {cat@cheelam.com} FindAndQueueAllMovedMessages – New Delete detected, queueing for RefId=-1501630049
3. [40693] (01/23 13:45:21.310):{0×1F30} {cat@cheelam.com} Message moved rescan completed
4. [30262] (01/23 13:46:21.328):{0×1F2C} {cat@cheelam.com} Preparing OTAFM Batch
5. [40559] (01/23 13:46:21.328):{0×1F2C} {cat@cheelam.com} Batching Delete for RefId=-1501630049, status=1, TransactionID=-914755537
6. [30289] (01/23 13:46:21.328):{0×1F2C} {cat@cheelam.com} 1 OTAFM commands sent in batch for TransactionId=-914755537, Tag=581327, size=44
7. [40279] (01/23 13:46:21.328):{0×1F2C} {cat@cheelam.com} SubmitToRelaySendQ, Tag=581327
8. [30066] (01/23 13:46:21.328):{0×1F2C} Total Msgs Pending 1
9. [40000] (01/23 13:46:21.328):{0×1B08} [BIPP] Send data, Tag=581327
10. [40000] (01/23 13:46:23.984):{0×1B04} [BIPP] Received status DELIVERED, Tag=581327
11. [30201] (01/23 13:46:23.984):{0×1B44} {cat@cheelam.com} OTAFM batch has been DELIVERED to device, Tag=581327
12. [40536] (01/23 13:46:23.984):{0×1B44} {cat@cheelam.com} Updating messages in OTAFM batch, TransactionID=-914755537
13. [30066] (01/23 13:46:24.203):{0×1B44} Total Msgs Pending 0
From BB Device
As soon as I deleted the email, the corresponding email in my outlook was also removed.
[40000] (01/23 17:05:02.677):{0×1B04} [BIPP] Received datagram, Tag=280534
[40700] (01/23 17:05:02.677):{0×1F24} {cat@cheelam.com} Receiving packet from device, size=46, TransactionId=573264611, Tag=280534, content type=CMIME, cmd=0×3
[40698] (01/23 17:05:02.677):{0×1F24} {cat@cheelam.com} Receiving OTAFM request from device, Tag=280534, TransactionId=573264611
[40518] (01/23 17:05:02.677):{0×1F24} {cat@cheelam.com} Receiving DELETE_MESSAGE request from device, Tag=280534, TransactionId=573264611, RefId=-1934095857, SrcFolderId=0
[40262] (01/23 17:05:02.755):{0×1F24} {cat@cheelam.com} StateDb – Found RefId=-1934095857
[40699] (01/23 17:05:03.005):{0×1F24} {cat@cheelam.com} OTAFM request from device processed
[40279] (01/23 17:05:03.005):{0×1F24} {cat@cheelam.com} SubmitToRelaySendQ, Tag=280534
[40000] (01/23 17:05:03.005):{0×1B08} [BIPP] Send status DATA_ACCEPTED, Tag=280534
Next and the last post for the five part series, we will look at Mark Prior … operation from device.
Useful read:


[...] Receiving email and notification to BB device Part III – Email Status change (read, unread etc.) Part IV – Deletion from BB device and from Outlook Part V – Mark Prior Opened from within BB [...]