OPENCHANGE-MAPI-FETCHMAIL

From OpenChange wiki

Jump to: navigation, search


Contents

Objectives

This torture test reproduces Outlook behavior when it retrieves the specified user inbox from an Exchange Server 2000.

Running the test

smbtorture --dump-data -Uuser%passwd 'ncacn_ip_tcp:192.168.0.20[print]' OPENCHANGE-MAPI-FETCHMAIL

smbtorture parameters

  • mapi:profile_store: Path to the profile database
  • mapi:profile: profile to use
  • -UAdministrator%secretpass: These are the credentials for DCERPC/AUTH3 authentication on epmapper and nspi endpoints. Since credentials are already set when loading the profile, these parameters are not mandatory
  • OPENCHANGE-MAPI-FETCHMAIL: The torture test name we are running

Remarks

If your profile database is at the default location $HOME/.openchange/profiles.ldb and you have set a default profile using mapiprofile -S you can ommit both the mapi:profile_store and mapi:profile options.

Torture Test Output

Loading openchange torture test
Using seed 1170801755
   EcDoConnect: struct EcDoConnect
       in: struct EcDoConnect
           name                     : '/o=OpenChange Organization/ou=First Administrative Group/cn=Recipients/cn=test2'
           unknown1: ARRAY(3)
               unknown1                 : 0x00000000 (0)
               unknown1                 : 0x1eeebaac (518961836)
               unknown1                 : 0x00000000 (0)
           code_page                : 0x000004e4 (1252)
           input_locale: struct input_locale
               language                 : 0x0000040c (1036)
               method                   : 0x00000409 (1033)
           unknown2                 : 0xffffffff (4294967295)
           unknown3                 : 0x0001 (1)
           emsmdb_client_version: ARRAY(3)
               emsmdb_client_version    : 0x000a (10)
               emsmdb_client_version    : 0x0000 (0)
               emsmdb_client_version    : 0x1013 (4115)
           alloc_space              : *
               alloc_space              : 0x00000000 (0)
   EcDoConnect: struct EcDoConnect
       out: struct EcDoConnect
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           unknown4: ARRAY(3)
               unknown4                 : 0x0000ea60 (60000)
               unknown4                 : 0x00000006 (6)
               unknown4                 : 0x00002710 (10000)
           session_nb               : *
               session_nb               : 0x0012 (18)
           org_group                : *
               org_group                : '/O=OPENCHANGE ORGANIZATION/OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN='
           user                     : *
               user                     : 'test2 test2_last_name'
           store_version: ARRAY(3)
               store_version            : 0x0006 (6)
               store_version            : 0x1b20 (6944)
               store_version            : 0x0003 (3)
           emsmdb_client_version: ARRAY(3)
               emsmdb_client_version    : 0x000a (10)
               emsmdb_client_version    : 0x0000 (0)
               emsmdb_client_version    : 0x1013 (4115)
           alloc_space              : *
               alloc_space              : 0x58247e5c (1478786652)
           result                   : MAPI_E_SUCCESS (0x0)
   EcDoConnect              : MAPI_E_SUCCESS (0x0)


[STEP 01] mapi call: OpenMsgStore

   EcDoRpc: struct EcDoRpc
       in: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_request             : *
               mapi_len                 : 0x00000064 (100)
               length                   : 0x0060 (96)
                   mapi_request: struct EcDoRpc_MAPI_REQ
                       opnum                    : 0xfe (254)
                       mapi_flags               : 0x00 (0)
                       u                        : union EcDoRpc_MAPI_REQ_UNION(case 254)
                       mapi_OpenMsgStore: struct OpenMsgStore_req
                           col                      : 0x00 (0)
                           codepage                 : 0x00000c01 (3073)
                           padding                  : 0x00000000 (0)
                           row                      : 0x00 (0)
                           mailbox_path             : '/o=OpenChange Organization/ou=First Administrative Group/cn=Recipients/cn=test2'
                   mapi_request             : (handles) number=1
                       handle id                : 0xffffffff (4294967295)
               length                   : *
                   length                   : 0x0064 (100)
               max_data                 : 0x0200 (512)
   EcDoRpc: struct EcDoRpc
       out: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_response            : *
               mapi_response            : length=168
               mapi_response: ARRAY(166)
                   mapi_repl: struct EcDoRpc_MAPI_REPL
                       opnum                    : 0xfe (254)
                       mapi_flags               : 0x00 (0)
                       error_code               : MAPI_E_SUCCESS (0x0)
                       u                        : union EcDoRpc_MAPI_REPL_UNION(case 254)
                       mapi_OpenMsgStore: struct OpenMsgStore_repl
                           PR_OBJECT_TYPE           : MAPI_STORE (0x1)
                           folder_id: ARRAY(13)
                               folder_id                : 0x84b9000000000001 (-8883068790011592703)
                               folder_id                : 0x86b9000000000001 (-8738953601935736831)
                               folder_id                : 0x87b9000000000001 (-8666896007897808895)
                               folder_id                : 0x85b9000000000001 (-8811011195973664767)
                               folder_id                : 0x88b9000000000001 (-8594838413859880959)
                               folder_id                : 0x89b9000000000001 (-8522780819821953023)
                               folder_id                : 0x8ab9000000000001 (-8450723225784025087)
                               folder_id                : 0x8bb9000000000001 (-8378665631746097151)
                               folder_id                : 0x8eb9000000000001 (-8162492849632313343)
                               folder_id                : 0x8fb9000000000001 (-8090435255594385407)
                               folder_id                : 0x8cb9000000000001 (-8306608037708169215)
                               folder_id                : 0x8db9000000000001 (-8234550443670241279)
                               folder_id                : 0x90b9000000000001 (-8018377661556457471)
                           unknown3                 : 0x07 (7)
                           entryid: struct MAPIUID
                               ab: ARRAY(16)
                                   [0]                      : 0xbf (191)
                                   [1]                      : 0x4b (75)
                                   [2]                      : 0x5a (90)
                                   [3]                      : 0x5a (90)
                                   [4]                      : 0x1d (29)
                                   [5]                      : 0x98 (152)
                                   [6]                      : 0xb5 (181)
                                   [7]                      : 0x4e (78)
                                   [8]                      : 0xbc (188)
                                   [9]                      : 0x2f (47)
                                   [10]                     : 0x78 (120)
                                   [11]                     : 0x4f (79)
                                   [12]                     : 0xcc (204)
                                   [13]                     : 0xd7 (215)
                                   [14]                     : 0x86 (134)
                                   [15]                     : 0x35 (53)
                           default_store            : 0x0001 (1)
                           msgstore: struct MAPIUID
                               ab: ARRAY(16)
                                   [0]                      : 0x17 (23)
                                   [1]                      : 0xd8 (216)
                                   [2]                      : 0x9c (156)
                                   [3]                      : 0xe9 (233)
                                   [4]                      : 0xaf (175)
                                   [5]                      : 0x25 (37)
                                   [6]                      : 0xa7 (167)
                                   [7]                      : 0x4d (77)
                                   [8]                      : 0x87 (135)
                                   [9]                      : 0x5f (95)
                                   [10]                     : 0x36 (54)
                                   [11]                     : 0xcb (203)
                                   [12]                     : 0x4d (77)
                                   [13]                     : 0x9e (158)
                                   [14]                     : 0x0d (13)
                                   [15]                     : 0xe5 (229)
                           ts_access: struct FILETIME
                               dwLowDateTime            : 0x02162c16 (35007510)
                               dwHighDateTime           : 0x07d70206 (131531270)
                           creation_date            : 'î4�½çBã�'
                           terminator               : 0x00 (0)
                           unknown4                 : 0x0100 (256)
               mapi_response            : (handles) number=1
                   handle id                : 0x0000010b (267)
           length                   : *
               length                   : 0x00ac (172)
           result                   : MAPI_E_SUCCESS (0x0)


[STEP 02] mapi call: GetReceiveFolder

   EcDoRpc: struct EcDoRpc
       in: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_request             : *
               mapi_len                 : 0x0000000a (10)
               length                   : 0x0006 (6)
                   mapi_request: struct EcDoRpc_MAPI_REQ
                       opnum                    : 0x27 (39)
                       mapi_flags               : 0x00 (0)
                       u                        : union EcDoRpc_MAPI_REQ_UNION(case 39)
                       mapi_GetReceiveFolder: struct GetReceiveFolder_req
                           handle_id                : 0x0000 (0)
                   mapi_request             : (handles) number=1
                       handle id                : 0x0000010b (267)
               length                   : *
                   length                   : 0x000a (10)
               max_data                 : 0x0200 (512)
   EcDoRpc: struct EcDoRpc
       out: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_response            : *
               mapi_response            : length=17
               mapi_response: ARRAY(15)
                   mapi_repl: struct EcDoRpc_MAPI_REPL
                       opnum                    : 0x27 (39)
                       mapi_flags               : 0x00 (0)
                       error_code               : MAPI_E_SUCCESS (0x0)
                       u                        : union EcDoRpc_MAPI_REPL_UNION(case 39)
                       mapi_GetReceiveFolder: struct GetReceiveFolder_repl
                           folder_id                : 0x88b9000000000001 (-8594838413859880959)
               mapi_response            : (handles) number=1
                   handle id                : 0x0000010b (267)
           length                   : *
               length                   : 0x0015 (21)
           result                   : MAPI_E_SUCCESS (0x0)


[STEP 03] mapi call: OpenFolder

   EcDoRpc: struct EcDoRpc
       in: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_request             : *
               mapi_len                 : 0x00000017 (23)
               length                   : 0x000f (15)
                   mapi_request: struct EcDoRpc_MAPI_REQ
                       opnum                    : 0x02 (2)
                       mapi_flags               : 0x00 (0)
                       u                        : union EcDoRpc_MAPI_REQ_UNION(case 2)
                       mapi_OpenFolder: struct OpenFolder_req
                           handle                   : 0x0100 (256)
                           folder_id                : 0x88b9000000000001 (-8594838413859880959)
                           unknown                  : 0x00 (0)
                   mapi_request             : (handles) number=2
                       handle id                : 0x0000010b (267)
                       handle id                : 0xffffffff (4294967295)
               length                   : *
                   length                   : 0x0017 (23)
               max_data                 : 0x0200 (512)
   EcDoRpc: struct EcDoRpc
       out: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_response            : *
               mapi_response            : length=10
               mapi_response: ARRAY(8)
                   mapi_repl: struct EcDoRpc_MAPI_REPL
                       opnum                    : 0x02 (2)
                       mapi_flags               : 0x01 (1)
                       error_code               : MAPI_E_SUCCESS (0x0)
                       u                        : union EcDoRpc_MAPI_REPL_UNION(case 2)
                       mapi_OpenFolder: struct OpenFolder_repl
                           unknown                  : 0x0000 (0)
               mapi_response            : (handles) number=2
                   handle id                : 0x0000010b (267)
                   handle id                : 0x00000106 (262)
           length                   : *
               length                   : 0x0012 (18)
           result                   : MAPI_E_SUCCESS (0x0)


[STEP 05] mapi call: GetContentsTable

   EcDoRpc: struct EcDoRpc
       in: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_request             : *
               mapi_len                 : 0x0000000f (15)
               length                   : 0x0007 (7)
                   mapi_request: struct EcDoRpc_MAPI_REQ
                       opnum                    : 0x05 (5)
                       mapi_flags               : 0x00 (0)
                       u                        : union EcDoRpc_MAPI_REQ_UNION(case 5)
                       mapi_GetContentsTable: struct GetContentsTable_req
                           unknown                  : 0x00 (0)
                           unknown2                 : 0x0001 (1)
                   mapi_request             : (handles) number=2
                       handle id                : 0x00000106 (262)
                       handle id                : 0xffffffff (4294967295)
               length                   : *
                   length                   : 0x000f (15)
               max_data                 : 0x0200 (512)
   EcDoRpc: struct EcDoRpc
       out: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_response            : *
               mapi_response            : length=12
               mapi_response: ARRAY(10)
                   mapi_repl: struct EcDoRpc_MAPI_REPL
                       opnum                    : 0x05 (5)
                       mapi_flags               : 0x01 (1)
                       error_code               : MAPI_E_SUCCESS (0x0)
                       u                        : union EcDoRpc_MAPI_REPL_UNION(case 5)
                       mapi_GetContentsTable: struct GetContentsTable_repl
                           cn_rows                  : 0x0002 (2)
                           unknown                  : 0x0000 (0)
               mapi_response            : (handles) number=2
                   handle id                : 0x00000106 (262)
                   handle id                : 0x00000105 (261)
           length                   : *
               length                   : 0x0014 (20)
           result                   : MAPI_E_SUCCESS (0x0)


[STEP 06] mapi call: GetContentsTable

   EcDoRpc: struct EcDoRpc
       in: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_request             : *
               mapi_len                 : 0x00000027 (39)
               length                   : 0x0023 (35)
                   mapi_request: struct EcDoRpc_MAPI_REQ
                       opnum                    : 0x12 (18)
                       mapi_flags               : 0x00 (0)
                       u                        : union EcDoRpc_MAPI_REQ_UNION(case 18)
                       mapi_SetColumns: struct SetColumns_req
                           handle                   : 0x00 (0)
                           unknown                  : 0x00 (0)
                           prop_count               : 0x0005 (5)
                           properties: ARRAY(5)
                               properties               : PR_FID (0x67480014)
                               properties               : PR_MID (0x674A0014)
                               properties               : PR_INST_ID (0x674D0014)
                               properties               : PR_INSTANCE_NUM (0x674E0003)
                               properties               : PR_SUBJECT (0x37001E)
                   mapi_request: struct EcDoRpc_MAPI_REQ
                       opnum                    : 0x15 (21)
                       mapi_flags               : 0x00 (0)
                       u                        : union EcDoRpc_MAPI_REQ_UNION(case 21)
                       mapi_QueryRows: struct QueryRows_req
                           unknown                  : 0x00 (0)
                           flag_noadvance           : 0x00 (0)
                           unknown1                 : 0x01 (1)
                           row_count                : 0x000a (10)
                   mapi_request             : (handles) number=1
                       handle id                : 0x00000105 (261)
               length                   : *
                   length                   : 0x0027 (39)
               max_data                 : 0x0200 (512)
   EcDoRpc: struct EcDoRpc
       out: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_response            : *
               mapi_response            : length=112
               mapi_response: ARRAY(110)
                   mapi_repl: struct EcDoRpc_MAPI_REPL
                       opnum                    : 0x12 (18)
                       mapi_flags               : 0x00 (0)
                       error_code               : MAPI_E_SUCCESS (0x0)
                       u                        : union EcDoRpc_MAPI_REPL_UNION(case 18)
                       mapi_SetColumns: struct SetColumns_repl
                           unknown                  : 0x00 (0)
                   mapi_repl: struct EcDoRpc_MAPI_REPL
                       opnum                    : 0x15 (21)
                       mapi_flags               : 0x00 (0)
                       error_code               : MAPI_E_SUCCESS (0x0)
                       u                        : union EcDoRpc_MAPI_REPL_UNION(case 21)
                       mapi_QueryRows: struct QueryRows_repl
                           unknown                  : 0x02 (2)
                           results_count            : 0x0002 (2)
                           unknown2                 : 0x00 (0)
                           inbox                    : DATA_BLOB length=93
               mapi_response            : (handles) number=1
                   handle id                : 0x00000105 (261)
           length                   : *
               length                   : 0x0074 (116)
           result                   : MAPI_E_SUCCESS (0x0)


QueryRows: struct SRowSet

   cRows                    : 0x00000002 (2)
   aRow: ARRAY(2)
       aRow: struct SRow
           ulAdrEntryPad            : 0x00000000 (0)
           cValues                  : 0x00000005 (5)
           lpProps                  : *
               lpProps: ARRAY(5)
                   lpProps: struct SPropValue
                       ulPropTag                : PR_FID (0x67480014)
                       dwAlignPad               : 0x00000000 (0)
                       value                    : union SPropValue_CTR(case 20)
                       d                        : 0x88b9000000000001 (-8594838413859880959)
                   lpProps: struct SPropValue
                       ulPropTag                : PR_MID (0x674A0014)
                       dwAlignPad               : 0x00000000 (0)
                       value                    : union SPropValue_CTR(case 20)
                       d                        : 0x88bc000000000001 (-8593993988929748991)
                   lpProps: struct SPropValue
                       ulPropTag                : PR_INST_ID (0x674D0014)
                       dwAlignPad               : 0x00000000 (0)
                       value                    : union SPropValue_CTR(case 20)
                       d                        : 0x88bc000000000001 (-8593993988929748991)
                   lpProps: struct SPropValue
                       ulPropTag                : PR_INSTANCE_NUM (0x674E0003)
                       dwAlignPad               : 0x00000000 (0)
                       value                    : union SPropValue_CTR(case 3)
                       l                        : 0x00000000 (0)
                   lpProps: struct SPropValue
                       ulPropTag                : PR_SUBJECT (0x37001E)
                       dwAlignPad               : 0x00000000 (0)
                       value                    : union SPropValue_CTR(case 30)
                       lpszA                    : *
                           lpszA                    : 'A second mail'
       aRow: struct SRow
           ulAdrEntryPad            : 0x00000000 (0)
           cValues                  : 0x00000005 (5)
           lpProps                  : *
               lpProps: ARRAY(5)
                   lpProps: struct SPropValue
                       ulPropTag                : PR_FID (0x67480014)
                       dwAlignPad               : 0x00000000 (0)
                       value                    : union SPropValue_CTR(case 20)
                       d                        : 0x88b9000000000001 (-8594838413859880959)
                   lpProps: struct SPropValue
                       ulPropTag                : PR_MID (0x674A0014)
                       dwAlignPad               : 0x00000000 (0)
                       value                    : union SPropValue_CTR(case 20)
                       d                        : 0x87bc000000000001 (-8666051582967676927)
                   lpProps: struct SPropValue
                       ulPropTag                : PR_INST_ID (0x674D0014)
                       dwAlignPad               : 0x00000000 (0)
                       value                    : union SPropValue_CTR(case 20)
                       d                        : 0x87bc000000000001 (-8666051582967676927)
                   lpProps: struct SPropValue
                       ulPropTag                : PR_INSTANCE_NUM (0x674E0003)
                       dwAlignPad               : 0x00000000 (0)
                       value                    : union SPropValue_CTR(case 3)
                       l                        : 0x00000000 (0)
                   lpProps: struct SPropValue
                       ulPropTag                : PR_SUBJECT (0x37001E)
                       dwAlignPad               : 0x00000000 (0)
                       value                    : union SPropValue_CTR(case 30)
                       lpszA                    : *
                           lpszA                    : 'OpenChange on the way'


[STEP 07-0] mapi call: OpenMessage

   EcDoRpc: struct EcDoRpc
       in: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_request             : *
               mapi_len                 : 0x00000021 (33)
               length                   : 0x0019 (25)
                   mapi_request: struct EcDoRpc_MAPI_REQ
                       opnum                    : 0x03 (3)
                       mapi_flags               : 0x00 (0)
                       u                        : union EcDoRpc_MAPI_REQ_UNION(case 3)
                       mapi_OpenMessage: struct OpenMessage_req
                           unknown                  : 0x0100 (256)
                           max_data                 : 0x0fff (4095)
                           folder_id                : 0x88b9000000000001 (-8594838413859880959)
                           padding                  : 0x00 (0)
                           message_id               : 0x88bc000000000001 (-8593993988929748991)
                   mapi_request             : (handles) number=2
                       handle id                : 0x0000010b (267)
                       handle id                : 0xffffffff (4294967295)
               length                   : *
                   length                   : 0x0021 (33)
               max_data                 : 0x0200 (512)
   EcDoRpc: struct EcDoRpc
       out: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_response            : *
               mapi_response            : length=342
               mapi_response: ARRAY(340)
                   mapi_repl: struct EcDoRpc_MAPI_REPL
                       opnum                    : 0x03 (3)
                       mapi_flags               : 0x01 (1)
                       error_code               : MAPI_E_SUCCESS (0x0)
                       u                        : union EcDoRpc_MAPI_REPL_UNION(case 3)
                       mapi_OpenMessage: struct OpenMessage_repl
                           unknown                  : 0x00 (0)
                           type_prefix              : 0x01 (1)
                           prefix                   : union OpenMessage_repl_UNION(case 1)
                           type_subject             : 0x03 (3)
                           subject                  : union OpenMessage_repl_UNION(case 3)
                           subject                  : 'A second mail'
                           subject_count            : 0x0003 (3)
                           prop_count               : 0x0005 (5)
                           properties: ARRAY(5)
                               properties               : PR_OBJECT_TYPE (0xFFE0003)
                               properties               : PR_DISPLAY_TYPE (0x39000003)
                               properties               : PR_7BIT_DISPLAY_NAME (0x39FF001E)
                               properties               : PR_SMTP_ADDRESS (0x39FE001E)
                               properties               : PR_SEND_INTERNET_ENCODING (0x3A710003)
                           unknown3                 : 0x0103 (259)
                           codepage                 : 0x000004e4 (1252)
                           unknown4: ARRAY(6)
                               [0]                      : 0x51 (81)
                               [1]                      : 0x00 (0)
                               [2]                      : 0xd1 (209)
                               [3]                      : 0x04 (4)
                               [4]                      : 0x4a (74)
                               [5]                      : 0x00 (0)
                           username                 : 'test2'
                           full_name                : 'test2'
                           username2                : 'test2 test2_last_name'
                           prop_number              : 0x0005 (5)
                           unknown5                 : 0x00 (0)
                           message                  : DATA_BLOB length=244
               mapi_response            : (handles) number=2
                   handle id                : 0x0000010b (267)
                   handle id                : 0x00000108 (264)
           length                   : *
               length                   : 0x015e (350)
           result                   : MAPI_E_SUCCESS (0x0)


[STEP 08-0] mapi call: GetProps

   EcDoRpc: struct EcDoRpc
       in: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_request             : *
               mapi_len                 : 0x0000001f (31)
               length                   : 0x001b (27)
                   mapi_request: struct EcDoRpc_MAPI_REQ
                       opnum                    : 0x07 (7)
                       mapi_flags               : 0x00 (0)
                       u                        : union EcDoRpc_MAPI_REQ_UNION(case 7)
                       mapi_GetProps: struct GetProps_req
                           unknown                  : 0x00 (0)
                           unknown2                 : 0x00000000 (0)
                           prop_count               : 0x0004 (4)
                           properties: ARRAY(4)
                               properties               : PR_SUBJECT (0x37001E)
                               properties               : PR_BODY (0x1000001E)
                               properties               : PR_SENDER_NAME (0xC1A001E)
                               properties               : PR_SENDER_EMAIL_ADDRESS (0xC1F001E)
                   mapi_request             : (handles) number=1
                       handle id                : 0x00000108 (264)
               length                   : *
                   length                   : 0x001f (31)
               max_data                 : 0x0200 (512)
   EcDoRpc: struct EcDoRpc
       out: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_response            : *
               mapi_response            : length=318
               mapi_response: ARRAY(316)
                   mapi_repl: struct EcDoRpc_MAPI_REPL
                       opnum                    : 0x07 (7)
                       mapi_flags               : 0x00 (0)
                       error_code               : MAPI_E_SUCCESS (0x0)
                       u                        : union EcDoRpc_MAPI_REPL_UNION(case 7)
                       mapi_GetProps: struct GetProps_repl
                           unknown                  : 0x00 (0)
                           prop_data                : DATA_BLOB length=309
               mapi_response            : (handles) number=1
                   handle id                : 0x00000108 (264)
           length                   : *
               length                   : 0x0142 (322)
           result                   : MAPI_E_SUCCESS (0x0)


[STEP 07-1] mapi call: OpenMessage

   EcDoRpc: struct EcDoRpc
       in: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_request             : *
               mapi_len                 : 0x00000021 (33)
               length                   : 0x0019 (25)
                   mapi_request: struct EcDoRpc_MAPI_REQ
                       opnum                    : 0x03 (3)
                       mapi_flags               : 0x00 (0)
                       u                        : union EcDoRpc_MAPI_REQ_UNION(case 3)
                       mapi_OpenMessage: struct OpenMessage_req
                           unknown                  : 0x0100 (256)
                           max_data                 : 0x0fff (4095)
                           folder_id                : 0x88b9000000000001 (-8594838413859880959)
                           padding                  : 0x00 (0)
                           message_id               : 0x87bc000000000001 (-8666051582967676927)
                   mapi_request             : (handles) number=2
                       handle id                : 0x0000010b (267)
                       handle id                : 0xffffffff (4294967295)
               length                   : *
                   length                   : 0x0021 (33)
               max_data                 : 0x0200 (512)
   EcDoRpc: struct EcDoRpc
       out: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_response            : *
               mapi_response            : length=350
               mapi_response: ARRAY(348)
                   mapi_repl: struct EcDoRpc_MAPI_REPL
                       opnum                    : 0x03 (3)
                       mapi_flags               : 0x01 (1)
                       error_code               : MAPI_E_SUCCESS (0x0)
                       u                        : union EcDoRpc_MAPI_REPL_UNION(case 3)
                       mapi_OpenMessage: struct OpenMessage_repl
                           unknown                  : 0x00 (0)
                           type_prefix              : 0x01 (1)
                           prefix                   : union OpenMessage_repl_UNION(case 1)
                           type_subject             : 0x03 (3)
                           subject                  : union OpenMessage_repl_UNION(case 3)
                           subject                  : 'OpenChange on the way'
                           subject_count            : 0x0003 (3)
                           prop_count               : 0x0005 (5)
                           properties: ARRAY(5)
                               properties               : PR_OBJECT_TYPE (0xFFE0003)
                               properties               : PR_DISPLAY_TYPE (0x39000003)
                               properties               : PR_7BIT_DISPLAY_NAME (0x39FF001E)
                               properties               : PR_SMTP_ADDRESS (0x39FE001E)
                               properties               : PR_SEND_INTERNET_ENCODING (0x3A710003)
                           unknown3                 : 0x0103 (259)
                           codepage                 : 0x000004e4 (1252)
                           unknown4: ARRAY(6)
                               [0]                      : 0x51 (81)
                               [1]                      : 0x00 (0)
                               [2]                      : 0xd1 (209)
                               [3]                      : 0x04 (4)
                               [4]                      : 0x4a (74)
                               [5]                      : 0x00 (0)
                           username                 : 'test2'
                           full_name                : 'test2'
                           username2                : 'test2 test2_last_name'
                           prop_number              : 0x0005 (5)
                           unknown5                 : 0x00 (0)
                           message                  : DATA_BLOB length=244
               mapi_response            : (handles) number=2
                   handle id                : 0x0000010b (267)
                   handle id                : 0x0000010d (269)
           length                   : *
               length                   : 0x0166 (358)
           result                   : MAPI_E_SUCCESS (0x0)


[STEP 08-1] mapi call: GetProps

   EcDoRpc: struct EcDoRpc
       in: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_request             : *
               mapi_len                 : 0x0000001f (31)
               length                   : 0x001b (27)
                   mapi_request: struct EcDoRpc_MAPI_REQ
                       opnum                    : 0x07 (7)
                       mapi_flags               : 0x00 (0)
                       u                        : union EcDoRpc_MAPI_REQ_UNION(case 7)
                       mapi_GetProps: struct GetProps_req
                           unknown                  : 0x00 (0)
                           unknown2                 : 0x00000000 (0)
                           prop_count               : 0x0004 (4)
                           properties: ARRAY(4)
                               properties               : PR_SUBJECT (0x37001E)
                               properties               : PR_BODY (0x1000001E)
                               properties               : PR_SENDER_NAME (0xC1A001E)
                               properties               : PR_SENDER_EMAIL_ADDRESS (0xC1F001E)
                   mapi_request             : (handles) number=1
                       handle id                : 0x0000010d (269)
               length                   : *
                   length                   : 0x001f (31)
               max_data                 : 0x0200 (512)
   EcDoRpc: struct EcDoRpc
       out: struct EcDoRpc
           handle                   : *
               handle: struct policy_handle
                   handle_type              : 0x00000000 (0)
                   uuid                     : 5bbbfad7-2458-4c92-9ce6-892d01d7164e
           size                     : 0x00000200 (512)
           offset                   : 0x00000000 (0)
           mapi_response            : *
               mapi_response            : length=221
               mapi_response: ARRAY(219)
                   mapi_repl: struct EcDoRpc_MAPI_REPL
                       opnum                    : 0x07 (7)
                       mapi_flags               : 0x00 (0)
                       error_code               : MAPI_E_SUCCESS (0x0)
                       u                        : union EcDoRpc_MAPI_REPL_UNION(case 7)
                       mapi_GetProps: struct GetProps_repl
                           unknown                  : 0x00 (0)
                           prop_data                : DATA_BLOB length=212
               mapi_response            : (handles) number=1
                   handle id                : 0x0000010d (269)
           length                   : *
               length                   : 0x00e1 (225)
           result                   : MAPI_E_SUCCESS (0x0)
Personal tools
Toolbox