Mercurial > libpst
annotate xml/libpst.in @ 78:535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 10 Jun 2008 14:28:55 -0700 |
parents | 87216aefc6df |
children | 56fa05fd5271 |
rev | line source |
---|---|
16 | 1 <reference> |
2 <title>@PACKAGE@ Utilities - Version @VERSION@</title> | |
3 <partintro> | |
4 <title>Packages</title> | |
31 | 5 |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
6 <para>This is a fork of the libpst project at SourceForge. Another fork |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
7 is located at <ulink |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
8 url="http://alioth.debian.org/projects/libpst/">http://alioth.debian.org/projects/libpst/</ulink> |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
9 </para> |
31 | 10 |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
11 <para>The various source and binary packages are available at <ulink |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
12 url="http://www.five-ten-sg.com/@PACKAGE@/packages/">http://www.five-ten-sg.com/@PACKAGE@/packages/</ulink>. |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
13 The most recent documentation is available at <ulink |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
14 url="http://www.five-ten-sg.com/@PACKAGE@/">http://www.five-ten-sg.com/@PACKAGE@/</ulink>. |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
15 </para> |
31 | 16 |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
17 <para>A <ulink |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
18 url="http://www.selenic.com/mercurial/wiki/">Mercurial</ulink> source |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
19 code repository for this project is available at <ulink |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
20 url="http://hg.five-ten-sg.com/@PACKAGE@/">http://hg.five-ten-sg.com/@PACKAGE@/</ulink>. |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
21 </para> |
54
e109391424b5
some misc. cleanup and convert to mercurial source control
carl@ns.five-ten-sg.com
parents:
52
diff
changeset
|
22 |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
23 <para>This version can now convert both 32 bit Outlook files (pre 2003), and the |
64
2c6040b6e8f8
packaging for Fedora (#434727)
Carl Byington <carl@five-ten-sg.com>
parents:
63
diff
changeset
|
24 64 bit Outlook 2003 pst files. Utilities are supplied to convert email messages |
2c6040b6e8f8
packaging for Fedora (#434727)
Carl Byington <carl@five-ten-sg.com>
parents:
63
diff
changeset
|
25 to both mbox and MH mailbox formats, and to DII load file format for use with |
2c6040b6e8f8
packaging for Fedora (#434727)
Carl Byington <carl@five-ten-sg.com>
parents:
63
diff
changeset
|
26 many of the <ulink url="http://www.ctsummation.com">CT Summation</ulink> products. |
2c6040b6e8f8
packaging for Fedora (#434727)
Carl Byington <carl@five-ten-sg.com>
parents:
63
diff
changeset
|
27 Contacts can be converted to a simple list, to vcard format, or to ldif format |
2c6040b6e8f8
packaging for Fedora (#434727)
Carl Byington <carl@five-ten-sg.com>
parents:
63
diff
changeset
|
28 for import to an LDAP server. |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
29 </para> |
51 | 30 |
24 | 31 </partintro> |
16 | 32 |
33 | |
34 <refentry id="readpst.1"> | |
35 <refentryinfo> | |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
36 <date>2008-06-03</date> |
16 | 37 </refentryinfo> |
38 | |
39 <refmeta> | |
40 <refentrytitle>readpst</refentrytitle> | |
41 <manvolnum>1</manvolnum> | |
42 <refmiscinfo>readpst @VERSION@</refmiscinfo> | |
43 </refmeta> | |
44 | |
20 | 45 <refnamediv id='readpst.name.1'> |
16 | 46 <refname>readpst</refname> |
51 | 47 <refpurpose>convert PST (MS Outlook Personal Folders) files to mbox and other formats</refpurpose> |
16 | 48 </refnamediv> |
49 | |
20 | 50 <refsynopsisdiv id='readpst.synopsis.1'> |
16 | 51 <title>Synopsis</title> |
52 <cmdsynopsis> | |
53 <command>readpst</command> | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
54 <arg><option>-C</option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
55 <arg><option>-M</option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
56 <arg><option>-S</option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
57 <arg><option>-V</option></arg> |
31 | 58 <arg><option>-b</option></arg> |
16 | 59 <arg><option>-c <replaceable class="parameter">format</replaceable></option></arg> |
60 <arg><option>-d <replaceable class="parameter">debug-file</replaceable></option></arg> | |
61 <arg><option>-h</option></arg> | |
62 <arg><option>-k</option></arg> | |
63 <arg><option>-o <replaceable class="parameter">output-directory</replaceable></option></arg> | |
64 <arg><option>-q</option></arg> | |
65 <arg><option>-r</option></arg> | |
66 <arg><option>-w</option></arg> | |
43 | 67 <arg choice='plain'>pstfile</arg> |
16 | 68 </cmdsynopsis> |
69 </refsynopsisdiv> | |
70 | |
20 | 71 <refsect1 id='readpst.description.1'> |
72 <title>Description</title> | |
28 | 73 <para><command>readpst</command> is a program that can read an Outlook |
74 PST (Personal Folders) file and convert it into an mbox file, a format | |
75 suitable for KMail, a recursive mbox structure, or separate emails. | |
20 | 76 </para> |
77 </refsect1> | |
78 | |
79 <refsect1 id='readpst.options.1'> | |
16 | 80 <title>Options</title> |
81 <variablelist> | |
82 <varlistentry> | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
83 <term>-C</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
84 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
85 Decrypt the entire pst file and dump it to stdout. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
86 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
87 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
88 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
89 <term>-M</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
90 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
91 Output messages in MH format as separate files. This will create |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
92 folders as named in the PST file, and will put each email together with |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
93 any attachments into its own file. These files will be numbered from 1 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
94 to n with no leading zeros. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
95 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
96 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
97 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
98 <term>-S</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
99 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
100 Output messages into separate files. This will create folders as named |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
101 in the PST file, and will put each email in its own file. These files |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
102 will be numbered from 1 increasing in intervals of 1 (ie 1, 2, 3, ...). |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
103 Any attachments are saved alongside each email as XXXXXXXXX-attach1, |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
104 XXXXXXXXX-attach2 and so on, or with the name of the attachment if one |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
105 is present. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
106 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
107 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
108 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
109 <term>-V</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
110 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
111 Show program version and exit. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
112 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
113 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
114 <varlistentry> |
31 | 115 <term>-b</term> |
116 <listitem><para> | |
117 Do not save the attachments for the RTF format of the email body. | |
118 </para></listitem> | |
119 </varlistentry> | |
120 <varlistentry> | |
16 | 121 <term>-c <replaceable class="parameter">format</replaceable></term> |
122 <listitem><para> | |
123 Set the Contact output mode. Use -cv for vcard format or -cl for an email list. | |
124 </para></listitem> | |
125 </varlistentry> | |
126 <varlistentry> | |
127 <term>-d <replaceable class="parameter">debug-file</replaceable></term> | |
128 <listitem><para> | |
33
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
129 Specify name of debug log file. The |
28 | 130 log file is not an ascii file, it is a binary file readable |
131 by <command>readpstlog</command>. | |
16 | 132 </para></listitem> |
133 </varlistentry> | |
134 <varlistentry> | |
135 <term>-h</term> | |
136 <listitem><para> | |
31 | 137 Show summary of options and exit. |
16 | 138 </para></listitem> |
139 </varlistentry> | |
140 <varlistentry> | |
141 <term>-k</term> | |
142 <listitem><para> | |
143 Changes the output format to KMail. | |
144 </para></listitem> | |
145 </varlistentry> | |
146 <varlistentry> | |
20 | 147 <term>-o <replaceable class="parameter">output-directory</replaceable></term> |
16 | 148 <listitem><para> |
149 Specifies the output directory. The directory must already exist, and | |
150 is entered after the PST file is opened, but before any processing of | |
151 files commences. | |
152 </para></listitem> | |
153 </varlistentry> | |
154 <varlistentry> | |
155 <term>-q</term> | |
156 <listitem><para> | |
157 Changes to silent mode. No feedback is printed to the screen, except | |
158 for error messages. | |
159 </para></listitem> | |
160 </varlistentry> | |
161 <varlistentry> | |
162 <term>-r</term> | |
163 <listitem><para> | |
164 Changes the output format to Recursive. This will create folders as | |
21 | 165 named in the PST file, and will put all emails in a file called "mbox" |
16 | 166 inside each folder. These files are then compatible with all |
167 mbox-compatible email clients. | |
168 </para></listitem> | |
169 </varlistentry> | |
170 <varlistentry> | |
171 <term>-w</term> | |
172 <listitem><para> | |
20 | 173 Overwrite any previous output files. Beware: When used with the -S |
16 | 174 switch, this will remove all files from the target folder before |
175 writing. This is to keep the count of emails and attachments correct. | |
176 </para></listitem> | |
177 </varlistentry> | |
178 </variablelist> | |
179 </refsect1> | |
180 | |
20 | 181 <refsect1 id='readpst.also.1'> |
16 | 182 <title>See Also</title> |
183 <para> | |
25 | 184 <citerefentry><refentrytitle>readpstlog</refentrytitle> <manvolnum>1</manvolnum> </citerefentry> |
16 | 185 </para> |
186 </refsect1> | |
187 | |
20 | 188 <refsect1 id='readpst.author.1'> |
16 | 189 <title>Author</title> |
190 <para> | |
191 This manual page was originally written by Dave Smith | |
192 <dave.s@earthcorp.com>, and updated by Joe Nahmias <joe@nahmias.net> | |
193 for the Debian GNU/Linux system (but may be used by others). It was | |
20 | 194 subsequently updated by Brad Hards <bradh@frogmouth.net>, and converted to |
16 | 195 xml format by Carl Byington <carl@five-ten-sg.com>. |
196 </para> | |
197 </refsect1> | |
198 | |
20 | 199 <refsect1 id='readpst.copyright.1'> |
16 | 200 <title>Copyright</title> |
201 <para> | |
202 Copyright (C) 2002 by David Smith <dave.s@earthcorp.com>. | |
28 | 203 XML version Copyright (C) 2006 by 510 Software Group <carl@five-ten-sg.com>. |
16 | 204 </para> |
205 <para> | |
206 This program is free software; you can redistribute it and/or modify it | |
207 under the terms of the GNU General Public License as published by the | |
208 Free Software Foundation; either version 2, or (at your option) any | |
209 later version. | |
210 </para> | |
211 <para> | |
212 You should have received a copy of the GNU General Public License along | |
213 with this program; see the file COPYING. If not, please write to the | |
214 Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
215 </para> | |
216 </refsect1> | |
217 | |
20 | 218 <refsect1 id='readpst.version.1'> |
52 | 219 <title>Version</title> |
16 | 220 <para> |
52 | 221 @VERSION@ |
16 | 222 </para> |
223 </refsect1> | |
224 </refentry> | |
225 | |
226 | |
43 | 227 <refentry id="lspst.1"> |
228 <refentryinfo> | |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
229 <date>2008-06-03</date> |
43 | 230 </refentryinfo> |
231 | |
232 <refmeta> | |
233 <refentrytitle>lspst</refentrytitle> | |
234 <manvolnum>1</manvolnum> | |
235 <refmiscinfo>lspst @VERSION@</refmiscinfo> | |
236 </refmeta> | |
237 | |
238 <refnamediv id='lspst.name.1'> | |
239 <refname>lspst</refname> | |
240 <refpurpose>list PST (MS Outlook Personal Folders) file data</refpurpose> | |
241 </refnamediv> | |
242 | |
243 <refsynopsisdiv id='lspst.synopsis.1'> | |
244 <title>Synopsis</title> | |
245 <cmdsynopsis> | |
246 <command>lspst</command> | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
247 <arg><option>-V</option></arg> |
50 | 248 <arg><option>-d <replaceable class="parameter">debug-file</replaceable></option></arg> |
249 <arg><option>-h</option></arg> | |
43 | 250 <arg choice='plain'>pstfile</arg> |
251 </cmdsynopsis> | |
252 </refsynopsisdiv> | |
253 | |
50 | 254 <refsect1 id='lspst.options.1'> |
255 <title>Options</title> | |
256 <variablelist> | |
257 <varlistentry> | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
258 <term>-V</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
259 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
260 Show program version and exit. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
261 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
262 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
263 <varlistentry> |
50 | 264 <term>-d <replaceable class="parameter">debug-file</replaceable></term> |
265 <listitem><para> | |
266 Specify name of debug log file. The | |
267 log file is not an ascii file, it is a binary file readable | |
268 by <command>readpstlog</command>. | |
269 </para></listitem> | |
270 </varlistentry> | |
271 <varlistentry> | |
272 <term>-h</term> | |
273 <listitem><para> | |
274 Show summary of options and exit. | |
275 </para></listitem> | |
276 </varlistentry> | |
277 </variablelist> | |
278 </refsect1> | |
279 | |
43 | 280 <refsect1 id='lspst.description.1'> |
281 <title>Description</title> | |
282 <para><command>lspst</command> is a program that can read an Outlook | |
283 PST (Personal Folders) file and produce a simple listing of the | |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
284 data (contacts, email subjects, etc). |
43 | 285 </para> |
286 </refsect1> | |
287 | |
288 <refsect1 id='lspst.also.1'> | |
289 <title>See Also</title> | |
290 <para> | |
291 <citerefentry><refentrytitle>readpstlog</refentrytitle> <manvolnum>1</manvolnum> </citerefentry> | |
292 </para> | |
293 </refsect1> | |
294 | |
295 <refsect1 id='lspst.author.1'> | |
296 <title>Author</title> | |
297 <para> | |
298 lspst was written by Joe Nahmias <joe@nahmias.net> based on readpst. | |
299 This man page was written by 510 Software Group <carl@five-ten-sg.com>. | |
300 </para> | |
301 </refsect1> | |
302 | |
303 <refsect1 id='lspst.copyright.1'> | |
304 <title>Copyright</title> | |
305 <para> | |
306 Copyright (C) 2004 by Joe Nahmias <joe@nahmias.net>. | |
307 </para> | |
308 <para> | |
309 This program is free software; you can redistribute it and/or modify it | |
310 under the terms of the GNU General Public License as published by the | |
311 Free Software Foundation; either version 2, or (at your option) any | |
312 later version. | |
313 </para> | |
314 <para> | |
315 You should have received a copy of the GNU General Public License along | |
316 with this program; see the file COPYING. If not, please write to the | |
317 Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
318 </para> | |
319 </refsect1> | |
320 | |
321 <refsect1 id='lspst.version.1'> | |
52 | 322 <title>Version</title> |
43 | 323 <para> |
52 | 324 @VERSION@ |
43 | 325 </para> |
326 </refsect1> | |
327 </refentry> | |
328 | |
329 | |
16 | 330 <refentry id="readpstlog.1"> |
331 <refentryinfo> | |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
332 <date>2008-06-03</date> |
16 | 333 </refentryinfo> |
334 | |
335 <refmeta> | |
336 <refentrytitle>readpstlog</refentrytitle> | |
337 <manvolnum>1</manvolnum> | |
338 <refmiscinfo>readpstlog @VERSION@</refmiscinfo> | |
339 </refmeta> | |
340 | |
20 | 341 <refnamediv id='readpstlog.name.1'> |
16 | 342 <refname>readpstlog</refname> |
24 | 343 <refpurpose>convert a <command>readpst</command> logfile to text format</refpurpose> |
16 | 344 </refnamediv> |
345 | |
20 | 346 <refsynopsisdiv id='readpstlog.synopsis.1'> |
16 | 347 <title>Synopsis</title> |
348 <cmdsynopsis> | |
24 | 349 <command>readpstlog</command> |
16 | 350 <arg><option>-f <replaceable class="parameter">format</replaceable></option></arg> |
351 <arg><option>-t <replaceable class="parameter">include-types</replaceable></option></arg> | |
352 <arg><option>-x <replaceable class="parameter">exclude-types</replaceable></option></arg> | |
24 | 353 <arg choice='plain'>logfile</arg> |
16 | 354 </cmdsynopsis> |
355 </refsynopsisdiv> | |
356 | |
20 | 357 <refsect1 id='readpstlog.description.1'> |
358 <title>Description</title> | |
21 | 359 <para><command>readpstlog</command> |
24 | 360 is a program that converts the binary logfile generated |
361 by <command>readpst</command> to a more desirable text format. | |
20 | 362 </para> |
363 </refsect1> | |
364 | |
365 <refsect1 id='readpstlog.options.1'> | |
16 | 366 <title>Options</title> |
367 <variablelist> | |
368 <varlistentry> | |
369 <term>-f <replaceable class="parameter">format</replaceable></term> | |
370 <listitem><para> | |
371 Sets the format of the text log output. Currently, the only valid output | |
36 | 372 formats are T, for single line text, D for the default default multi line |
373 format, and I for an indented style with single line text. | |
16 | 374 </para></listitem> |
375 </varlistentry> | |
376 <varlistentry> | |
377 <term>-t <replaceable class="parameter">include-types</replaceable></term> | |
378 <listitem><para> | |
379 Print only the specified types of log messages. | |
380 Types are specified in a comma-delimited list (e.g. 3,10,5,6). | |
381 </para></listitem> | |
382 </varlistentry> | |
383 <varlistentry> | |
384 <term>-x <replaceable class="parameter">exclude-types</replaceable></term> | |
385 <listitem><para> | |
386 Exclude the specified types of log messages. | |
387 Types are specified in a comma-delimited list (e.g. 3,10,5,6). | |
388 </para></listitem> | |
389 </varlistentry> | |
390 </variablelist> | |
391 </refsect1> | |
392 | |
20 | 393 <refsect1 id='readpstlog.message.types.1'> |
16 | 394 <title>Message Types</title> |
24 | 395 <para><command>readpstlog</command> understands the following types of log |
396 messages: | |
16 | 397 </para> |
398 <variablelist> | |
20 | 399 <varlistentry> |
400 <term>1</term> | |
401 <listitem><para> | |
402 File accesses | |
403 </para></listitem> | |
404 </varlistentry> | |
405 <varlistentry> | |
406 <term>2</term> | |
407 <listitem><para> | |
408 Index accesses | |
409 </para></listitem> | |
410 </varlistentry> | |
411 <varlistentry> | |
412 <term>3</term> | |
413 <listitem><para> | |
414 New email found | |
415 </para></listitem> | |
416 </varlistentry> | |
417 <varlistentry> | |
418 <term>4</term> | |
419 <listitem><para> | |
420 Warnings | |
421 </para></listitem> | |
422 </varlistentry> | |
423 <varlistentry> | |
424 <term>5</term> | |
425 <listitem><para> | |
426 Read accesses | |
427 </para></listitem> | |
428 </varlistentry> | |
429 <varlistentry> | |
430 <term>6</term> | |
431 <listitem><para> | |
432 Informational messages | |
433 </para></listitem> | |
434 </varlistentry> | |
435 <varlistentry> | |
436 <term>7</term> | |
437 <listitem><para> | |
438 Main function calls | |
439 </para></listitem> | |
440 </varlistentry> | |
441 <varlistentry> | |
442 <term>8</term> | |
443 <listitem><para> | |
444 Decrypting calls | |
445 </para></listitem> | |
446 </varlistentry> | |
447 <varlistentry> | |
36 | 448 <term>9</term> |
449 <listitem><para> | |
450 Function entries | |
451 </para></listitem> | |
452 </varlistentry> | |
453 <varlistentry> | |
20 | 454 <term>10</term> |
455 <listitem><para> | |
36 | 456 Function exits |
20 | 457 </para></listitem> |
458 </varlistentry> | |
459 <varlistentry> | |
460 <term>11</term> | |
461 <listitem><para> | |
462 HexDump calls | |
463 </para></listitem> | |
464 </varlistentry> | |
16 | 465 </variablelist> |
466 </refsect1> | |
467 | |
20 | 468 <refsect1 id='readpstlog.author.1'> |
16 | 469 <title>Author</title> |
470 <para> | |
471 This manual page was written by Joe Nahmias <joe@nahmias.net> | |
472 for the Debian GNU/Linux system (but may be used by others). It was | |
473 converted to xml format by Carl Byington <carl@five-ten-sg.com>. | |
474 </para> | |
475 </refsect1> | |
476 | |
20 | 477 <refsect1 id='readpstlog.copyright.1'> |
16 | 478 <title>Copyright</title> |
479 <para> | |
480 Copyright (C) 2002 by David Smith <dave.s@earthcorp.com>. | |
481 XML version Copyright (C) 2005 by 510 Software Group <carl@five-ten-sg.com>. | |
482 </para> | |
483 <para> | |
484 This program is free software; you can redistribute it and/or modify it | |
485 under the terms of the GNU General Public License as published by the | |
486 Free Software Foundation; either version 2, or (at your option) any | |
487 later version. | |
488 </para> | |
489 <para> | |
490 You should have received a copy of the GNU General Public License along | |
491 with this program; see the file COPYING. If not, please write to the | |
492 Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
493 </para> | |
494 </refsect1> | |
495 | |
20 | 496 <refsect1 id='readpstlog.version.1'> |
52 | 497 <title>Version</title> |
16 | 498 <para> |
52 | 499 @VERSION@ |
16 | 500 </para> |
501 </refsect1> | |
502 </refentry> | |
24 | 503 |
504 | |
505 <refentry id="pst2ldif.1"> | |
506 <refentryinfo> | |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
507 <date>2008-06-03</date> |
24 | 508 </refentryinfo> |
509 | |
510 <refmeta> | |
511 <refentrytitle>pst2ldif</refentrytitle> | |
512 <manvolnum>1</manvolnum> | |
513 <refmiscinfo>pst2ldif @VERSION@</refmiscinfo> | |
514 </refmeta> | |
515 | |
516 <refnamediv id='pst2ldif.name.1'> | |
517 <refname>pst2ldif</refname> | |
518 <refpurpose>extract contacts from a MS Outlook .pst file in .ldif format</refpurpose> | |
519 </refnamediv> | |
520 | |
521 <refsynopsisdiv id='pst2ldif.synopsis.1'> | |
522 <title>Synopsis</title> | |
523 <cmdsynopsis> | |
524 <command>pst2ldif</command> | |
525 <arg><option>-V</option></arg> | |
526 <arg><option>-b <replaceable class="parameter">ldap-base</replaceable></option></arg> | |
527 <arg><option>-c <replaceable class="parameter">class</replaceable></option></arg> | |
33
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
528 <arg><option>-d <replaceable class="parameter">debug-file</replaceable></option></arg> |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
529 <arg><option>-h</option></arg> |
24 | 530 <arg choice='plain'>pstfilename</arg> |
531 </cmdsynopsis> | |
532 </refsynopsisdiv> | |
533 | |
534 <refsect1 id='pst2ldif.options.1'> | |
535 <title>Options</title> | |
536 <variablelist> | |
537 <varlistentry> | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
538 <term>-V</term> |
24 | 539 <listitem><para> |
540 Show program version. Subsequent options are then ignored. | |
541 </para></listitem> | |
542 </varlistentry> | |
543 <varlistentry> | |
544 <term>-b <replaceable class="parameter">ldap-base</replaceable></term> | |
545 <listitem><para> | |
546 Sets the ldap base value used in the dn records. You probably want to | |
547 use something like "o=organization, c=US". | |
548 </para></listitem> | |
549 </varlistentry> | |
550 <varlistentry> | |
551 <term>-c <replaceable class="parameter">class</replaceable></term> | |
552 <listitem><para> | |
553 Sets the objectClass values for the contact items. This class needs to be | |
554 defined in the schema used by your LDAP server, and at a minimum it must | |
555 contain the ldap attributes given below. | |
556 </para></listitem> | |
557 </varlistentry> | |
33
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
558 <varlistentry> |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
559 <term>-d <replaceable class="parameter">debug-file</replaceable></term> |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
560 <listitem><para> |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
561 Specify name of debug log file. The |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
562 log file is not an ascii file, it is a binary file readable |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
563 by <command>readpstlog</command>. |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
564 </para></listitem> |
12cac756bc05
enable -d option, but if not specified, don't generate a debug file
carl
parents:
32
diff
changeset
|
565 </varlistentry> |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
566 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
567 <term>-h</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
568 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
569 Show summary of options. Subsequent options are then ignored. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
570 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
571 </varlistentry> |
24 | 572 </variablelist> |
573 </refsect1> | |
574 | |
575 <refsect1 id='pst2ldif.description.1'> | |
576 <title>Description</title> | |
577 <para><command>pst2ldif</command> | |
578 reads the contact information from a MS Outlook .pst file | |
579 and produces a .ldif file that may be used to import those contacts | |
580 into an LDAP database. The following ldap attributes are generated: | |
581 <simplelist> | |
582 <member>cn </member> | |
583 <member>givenName </member> | |
584 <member>sn </member> | |
585 <member>personalTitle </member> | |
586 <member>company </member> | |
587 <member>mail </member> | |
588 <member>postalAddress </member> | |
589 <member>l </member> | |
590 <member>st </member> | |
591 <member>postalCode </member> | |
592 <member>c </member> | |
593 <member>homePhone </member> | |
594 <member>telephoneNumber </member> | |
595 <member>facsimileTelephoneNumber </member> | |
596 <member>mobile </member> | |
597 <member>description </member> | |
598 </simplelist> | |
599 </para> | |
600 </refsect1> | |
601 | |
602 <refsect1 id='pst2ldif.copyright.1'> | |
603 <title>Copyright</title> | |
604 <para> | |
605 Copyright (C) 2006 by 510 Software Group <carl@five-ten-sg.com> | |
606 </para> | |
607 <para> | |
608 This program is free software; you can redistribute it and/or modify it | |
609 under the terms of the GNU General Public License as published by the | |
610 Free Software Foundation; either version 2, or (at your option) any | |
611 later version. | |
612 </para> | |
613 <para> | |
614 You should have received a copy of the GNU General Public License along | |
615 with this program; see the file COPYING. If not, please write to the | |
616 Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
617 </para> | |
618 </refsect1> | |
619 | |
620 <refsect1 id='pst2ldif.version.1'> | |
52 | 621 <title>Version</title> |
24 | 622 <para> |
52 | 623 @VERSION@ |
24 | 624 </para> |
625 </refsect1> | |
626 </refentry> | |
627 | |
628 | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
629 <refentry id="pst2dii.1"> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
630 <refentryinfo> |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
631 <date>2008-06-03</date> |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
632 </refentryinfo> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
633 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
634 <refmeta> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
635 <refentrytitle>pst2dii</refentrytitle> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
636 <manvolnum>1</manvolnum> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
637 <refmiscinfo>pst2dii @VERSION@</refmiscinfo> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
638 </refmeta> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
639 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
640 <refnamediv id='pst2dii.name.1'> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
641 <refname>pst2dii</refname> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
642 <refpurpose>extract email messages from a MS Outlook .pst file in DII load format</refpurpose> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
643 </refnamediv> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
644 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
645 <refsynopsisdiv id='pst2dii.synopsis.1'> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
646 <title>Synopsis</title> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
647 <cmdsynopsis> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
648 <command>pst2dii</command> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
649 <arg><option>-B <replaceable class="parameter">bates-prefix</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
650 <arg><option>-O <replaceable class="parameter">dii-output-file</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
651 <arg><option>-V</option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
652 <arg><option>-b <replaceable class="parameter">bates-number</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
653 <arg><option>-c <replaceable class="parameter">bates-color</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
654 <arg><option>-d <replaceable class="parameter">debug-file</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
655 <arg><option>-f <replaceable class="parameter">ttf-font-file</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
656 <arg><option>-h</option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
657 <arg><option>-o <replaceable class="parameter">output-directory</replaceable></option></arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
658 <arg choice='plain'>pstfilename</arg> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
659 </cmdsynopsis> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
660 </refsynopsisdiv> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
661 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
662 <refsect1 id='pst2dii.options.1'> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
663 <title>Options</title> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
664 <variablelist> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
665 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
666 <term>-B <replaceable class="parameter">bates-prefix</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
667 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
668 Sets the bates prefix string. The bates sequence number is appended to |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
669 this string, and printed on each page. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
670 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
671 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
672 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
673 <term>-O <replaceable class="parameter">dii-output-file</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
674 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
675 Name of the output DII load file. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
676 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
677 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
678 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
679 <term>-V</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
680 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
681 Show program version. Subsequent options are then ignored. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
682 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
683 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
684 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
685 <term>-b <replaceable class="parameter">bates-number</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
686 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
687 Starting bates sequence number. The default is zero. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
688 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
689 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
690 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
691 <term>-c <replaceable class="parameter">bates-color</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
692 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
693 Font color for the bates stamp on each page, specified as 6 hex digits |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
694 as rrggbb values. The default is ff0000 for bright red. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
695 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
696 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
697 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
698 <term>-d <replaceable class="parameter">debug-file</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
699 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
700 Specify name of debug log file. The |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
701 log file is not an ascii file, it is a binary file readable |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
702 by <command>readpstlog</command>. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
703 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
704 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
705 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
706 <term>-f <replaceable class="parameter">ttf-font-file</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
707 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
708 Specify name of a true type font file. This should be a fixed pitch font. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
709 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
710 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
711 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
712 <term>-h</term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
713 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
714 Show summary of options. Subsequent options are then ignored. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
715 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
716 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
717 <varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
718 <term>-o <replaceable class="parameter">output-directory</replaceable></term> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
719 <listitem><para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
720 Specifies the output directory. The directory must already exist. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
721 </para></listitem> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
722 </varlistentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
723 </variablelist> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
724 </refsect1> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
725 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
726 <refsect1 id='pst2dii.description.1'> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
727 <title>Description</title> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
728 <para><command>pst2dii</command> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
729 reads the email messages from a MS Outlook .pst file |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
730 and produces a DII load file that may be used to import message |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
731 summaries into a Summation DII system. The DII output file contains |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
732 references to the image and attachment files in the output directory. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
733 </para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
734 </refsect1> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
735 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
736 <refsect1 id='pst2dii.copyright.1'> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
737 <title>Copyright</title> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
738 <para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
739 Copyright (C) 2008 by 510 Software Group <carl@five-ten-sg.com> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
740 </para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
741 <para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
742 This program is free software; you can redistribute it and/or modify it |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
743 under the terms of the GNU General Public License as published by the |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
744 Free Software Foundation; either version 2, or (at your option) any |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
745 later version. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
746 </para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
747 <para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
748 You should have received a copy of the GNU General Public License along |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
749 with this program; see the file COPYING. If not, please write to the |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
750 Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
751 </para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
752 </refsect1> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
753 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
754 <refsect1 id='pst2dii.version.1'> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
755 <title>Version</title> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
756 <para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
757 @VERSION@ |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
758 </para> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
759 </refsect1> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
760 </refentry> |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
761 |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
762 |
24 | 763 <refentry id="pst.5"> |
764 <refentryinfo> | |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
765 <date>2008-06-03</date> |
24 | 766 </refentryinfo> |
767 | |
768 <refmeta> | |
769 <refentrytitle>outlook.pst</refentrytitle> | |
770 <manvolnum>5</manvolnum> | |
771 </refmeta> | |
772 | |
773 <refnamediv id='pst.name.1'> | |
774 <refname>outlook.pst</refname> | |
775 <refpurpose>format of MS Outlook .pst file</refpurpose> | |
776 </refnamediv> | |
777 | |
778 <refsynopsisdiv id='pst.synopsis.1'> | |
779 <title>Synopsis</title> | |
780 <cmdsynopsis> | |
781 <command>outlook.pst</command> | |
782 </cmdsynopsis> | |
783 </refsynopsisdiv> | |
784 | |
785 <refsect1 id='pst.file.overview.5'> | |
786 <title>Overview</title> | |
787 <para> | |
788 Each item in a .pst file is identified by two id values ID1 and ID2. | |
789 There are two separate b-trees indexed by these ID1 and ID2 values. | |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
790 Starting with Outlook 2003, the file format changed from one with 32 |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
791 bit pointers, to one with 64 bit pointers. We describe both formats |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
792 here. |
24 | 793 </para> |
794 </refsect1> | |
795 | |
44 | 796 <refsect1 id='pst.file.header.32.5'> |
797 <title>32 bit File Header</title> | |
24 | 798 <para> |
44 | 799 The 32 bit file header is located at offset 0 in the .pst file. |
24 | 800 </para> |
801 <literallayout class="monospaced"><![CDATA[ | |
802 0000 21 42 44 4e 49 f8 64 d9 53 4d 0e 00 13 00 01 01 | |
803 0010 00 00 00 00 00 00 00 00 50 d6 03 00 bd 1e 02 00 | |
804 0020 08 4c 00 00 00 04 00 00 00 04 00 00 0f 04 00 00 | |
805 0030 0d 40 00 00 99 0a 01 00 18 04 00 00 0d 40 00 00 | |
806 0040 0d 40 00 00 11 80 00 00 02 04 00 00 0a 04 00 00 | |
807 0050 00 04 00 00 00 04 00 00 0f 04 00 00 0f 04 00 00 | |
808 0060 0f 04 00 00 0d 40 00 00 00 04 00 00 00 04 00 00 | |
809 0070 04 40 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
810 0080 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
811 0090 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
812 00a0 0c 09 00 00 00 00 00 00 00 04 27 00 00 24 23 00 | |
813 00b0 c0 09 0a 00 00 c8 00 00 bc 1e 02 00 00 7e 0c 00 | |
814 00c0 b4 1e 02 00 00 54 00 00 01 00 00 00 23 55 44 d1 | |
815 00d0 5a 4f ce 6b 80 ff ff ff 00 00 00 00 00 00 00 00 | |
816 00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
817 00f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
818 0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
819 0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
820 0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
821 0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
822 0140 00 00 00 00 00 00 00 00 00 00 00 00 3f ff ff ff | |
823 0150 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
824 0160 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
825 0170 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
826 0180 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
827 0190 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
828 01a0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
829 01b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
830 01c0 ff ff ff ff ff ff ff ff ff ff ff ff 80 01 00 00 | |
831 01d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
832 01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
833 01f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
834 | |
835 0000 signature [4 bytes] 0x4e444221 constant | |
28 | 836 000a indexType [1 byte] 0x0e constant |
44 | 837 01cd encryptionType [1 byte] 0x01 in this case |
24 | 838 00a8 total file size [4 bytes] 0x270400 in this case |
28 | 839 00c0 backPointer1 [4 bytes] 0x021eb4 in this case |
840 00c4 offsetIndex1 [4 bytes] 0x005400 in this case | |
841 00b8 backPointer2 [4 bytes] 0x021ebc in this case | |
842 00bc offsetIndex2 [4 bytes] 0x0c7e00 in this case | |
24 | 843 ]]></literallayout> |
844 <para> | |
44 | 845 We only support index types 0x0e and 0x17, and encryption types |
846 0x00 and 0x01. Index type 0x0e is the older 32 bit Outlook format. | |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
847 Index type 0x17 is the newer 64 bit Outlook format. Encryption |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
848 type 0x00 is no encryption, and type 0x01 is the only other supported |
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
849 encryption type. |
24 | 850 </para> |
851 <para> | |
28 | 852 offsetIndex1 is the file offset of the root of the |
24 | 853 index1 b-tree, which contains (ID1, offset, size, unknown) tuples |
28 | 854 for each item in the file. backPointer1 is the value that should |
24 | 855 appear in the parent pointer of that root node. |
856 </para> | |
857 <para> | |
28 | 858 offsetIndex2 is the file offset of the root of the |
24 | 859 index2 b-tree, which contains (ID2, DESC-ID1, LIST-ID1, PARENT-ID2) |
28 | 860 tuples for each item in the file. backPointer2 is the value that should |
24 | 861 appear in the parent pointer of that root node. |
862 </para> | |
863 </refsect1> | |
864 | |
44 | 865 <refsect1 id='pst.file.header.64.5'> |
866 <title>64 bit File Header</title> | |
24 | 867 <para> |
44 | 868 The 64 bit file header is located at offset 0 in the .pst file. |
869 </para> | |
870 <literallayout class="monospaced"><![CDATA[ | |
871 0000 21 42 44 4e 03 02 23 b2 53 4d 17 00 13 00 01 01 | |
872 0010 00 00 00 00 00 00 00 00 04 00 00 00 01 00 00 00 | |
873 0020 8b 00 00 00 00 00 00 00 1d 00 00 00 00 04 00 00 | |
874 0030 00 04 00 00 04 04 00 00 00 40 00 00 02 00 01 00 | |
875 0040 00 04 00 00 00 04 00 00 00 04 00 00 00 80 00 00 | |
876 0050 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
877 0060 04 04 00 00 04 04 00 00 04 04 00 00 00 04 00 00 | |
878 0070 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
879 0080 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
880 0090 00 04 00 00 00 04 00 00 00 04 00 00 00 04 00 00 | |
881 00a0 00 04 00 00 00 04 00 00 02 04 00 00 00 00 00 00 | |
882 00b0 00 00 00 00 00 00 00 00 00 24 04 00 00 00 00 00 | |
883 00c0 00 44 00 00 00 00 00 00 00 71 03 00 00 00 00 00 | |
884 00d0 00 22 00 00 00 00 00 00 83 00 00 00 00 00 00 00 | |
885 00e0 00 6a 00 00 00 00 00 00 8a 00 00 00 00 00 00 00 | |
886 00f0 00 60 00 00 00 00 00 00 01 00 00 00 00 00 00 00 | |
887 0100 ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
888 0110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
889 0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
890 0130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
891 0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
892 0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
893 0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
894 0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
895 0180 7f ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
896 0190 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
897 01a0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
898 01b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
899 01c0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
900 01d0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
901 01e0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
902 01f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff | |
903 0200 80 00 00 00 e8 00 00 00 00 00 00 00 c4 68 cb 89 | |
904 | |
905 0000 signature [4 bytes] 0x4e444221 constant | |
906 000a indexType [1 byte] 0x17 constant | |
907 0201 encryptionType [1 byte] 0x00 in this case | |
908 00b8 total file size [8 bytes] 0x042400 in this case | |
909 00e8 backPointer1 [8 bytes] 0x00008a in this case | |
910 00f0 offsetIndex1 [8 bytes] 0x006000 in this case | |
911 00d8 backPointer2 [8 bytes] 0x000083 in this case | |
912 00e0 offsetIndex2 [8 bytes] 0x006a00 in this case | |
913 ]]></literallayout> | |
914 </refsect1> | |
915 | |
916 <refsect1 id='pst.file.node1.32.5'> | |
917 <title>32 bit Index 1 Node</title> | |
918 <para> | |
52 | 919 The 32 bit index1 b-tree nodes are 512 byte blocks with the |
44 | 920 following format. |
24 | 921 </para> |
922 <literallayout class="monospaced"><![CDATA[ | |
923 0000 04 00 00 00 8a 1e 02 00 00 1c 0b 00 | |
924 000c 58 27 03 00 b3 1e 02 00 00 52 00 00 | |
925 0018 00 00 00 00 00 00 00 00 00 00 00 00 | |
926 0024 00 00 00 00 00 00 00 00 00 00 00 00 | |
927 0030 00 00 00 00 00 00 00 00 00 00 00 00 | |
928 003c 00 00 00 00 00 00 00 00 00 00 00 00 | |
929 0048 00 00 00 00 00 00 00 00 00 00 00 00 | |
930 0054 00 00 00 00 00 00 00 00 00 00 00 00 | |
931 0060 00 00 00 00 00 00 00 00 00 00 00 00 | |
932 006c 00 00 00 00 00 00 00 00 00 00 00 00 | |
933 0078 00 00 00 00 00 00 00 00 00 00 00 00 | |
934 0084 00 00 00 00 00 00 00 00 00 00 00 00 | |
935 0090 00 00 00 00 00 00 00 00 00 00 00 00 | |
936 009c 00 00 00 00 00 00 00 00 00 00 00 00 | |
937 00a8 00 00 00 00 00 00 00 00 00 00 00 00 | |
938 00b4 00 00 00 00 00 00 00 00 00 00 00 00 | |
939 00c0 00 00 00 00 00 00 00 00 00 00 00 00 | |
940 00cc 00 00 00 00 00 00 00 00 00 00 00 00 | |
941 00d8 00 00 00 00 00 00 00 00 00 00 00 00 | |
942 00e4 00 00 00 00 00 00 00 00 00 00 00 00 | |
943 00f0 00 00 00 00 00 00 00 00 00 00 00 00 | |
944 00fc 00 00 00 00 00 00 00 00 00 00 00 00 | |
945 0108 00 00 00 00 00 00 00 00 00 00 00 00 | |
946 0114 00 00 00 00 00 00 00 00 00 00 00 00 | |
947 0120 00 00 00 00 00 00 00 00 00 00 00 00 | |
948 012c 00 00 00 00 00 00 00 00 00 00 00 00 | |
949 0138 00 00 00 00 00 00 00 00 00 00 00 00 | |
950 0144 00 00 00 00 00 00 00 00 00 00 00 00 | |
951 0150 00 00 00 00 00 00 00 00 00 00 00 00 | |
952 015c 00 00 00 00 00 00 00 00 00 00 00 00 | |
953 0168 00 00 00 00 00 00 00 00 00 00 00 00 | |
954 0174 00 00 00 00 00 00 00 00 00 00 00 00 | |
955 0180 00 00 00 00 00 00 00 00 00 00 00 00 | |
956 018c 00 00 00 00 00 00 00 00 00 00 00 00 | |
957 0198 00 00 00 00 00 00 00 00 00 00 00 00 | |
958 01a4 00 00 00 00 00 00 00 00 00 00 00 00 | |
959 01b0 00 00 00 00 00 00 00 00 00 00 00 00 | |
960 01bc 00 00 00 00 00 00 00 00 00 00 00 00 | |
961 01c8 00 00 00 00 00 00 00 00 00 00 00 00 | |
962 01d4 00 00 00 00 00 00 00 00 00 00 00 00 | |
963 01e0 00 00 00 00 00 00 00 00 00 00 00 00 | |
964 01ec 00 00 00 00 02 29 0c 02 80 80 b6 4a | |
52 | 965 01f8 b4 1e 02 00 27 9c cc 56 |
24 | 966 |
28 | 967 01f0 itemCount [1 byte] 0x02 in this case |
968 01f1 maxItemCount [1 byte] 0x29 constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
969 01f2 itemSize [1 byte] 0x0c constant |
28 | 970 01f3 nodeLevel [1 byte] 0x02 in this case |
971 01f8 backPointer [4 bytes] 0x021eb4 in this case | |
24 | 972 ]]></literallayout> |
973 <para> | |
28 | 974 The itemCount specifies the number of 12 byte records that |
975 are active. The nodeLevel is non-zero for this style of nodes. | |
976 The leaf nodes have a different format. The backPointer must | |
977 match the backPointer from the triple that pointed to this node. | |
24 | 978 </para> |
979 <para> | |
35 | 980 Each item in this node is a triple of (ID1, backPointer, offset) |
24 | 981 where the offset points to the next deeper node in the tree, the |
28 | 982 backPointer value must match the backPointer in that deeper node, |
35 | 983 and ID1 is the lowest ID1 value in the subtree. |
24 | 984 </para> |
985 </refsect1> | |
986 | |
44 | 987 <refsect1 id='pst.file.node1.64.5'> |
988 <title>64 bit Index 1 Node</title> | |
24 | 989 <para> |
44 | 990 The 64 bit index1 b-tree nodes are 512 byte blocks with the |
991 following format. | |
992 </para> | |
993 <literallayout class="monospaced"><![CDATA[ | |
994 0000 04 00 00 00 00 00 00 00 88 00 00 00 | |
995 000C 00 00 00 00 00 48 00 00 00 00 00 00 | |
996 0018 74 00 00 00 00 00 00 00 86 00 00 00 | |
997 0024 00 00 00 00 00 54 00 00 00 00 00 00 | |
998 0030 00 00 00 00 00 00 00 00 00 00 00 00 | |
999 003C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1000 0048 00 00 00 00 00 00 00 00 00 00 00 00 | |
1001 0054 00 00 00 00 00 00 00 00 00 00 00 00 | |
1002 0060 00 00 00 00 00 00 00 00 00 00 00 00 | |
1003 006C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1004 0078 00 00 00 00 00 00 00 00 00 00 00 00 | |
1005 0084 00 00 00 00 00 00 00 00 00 00 00 00 | |
1006 0090 00 00 00 00 00 00 00 00 00 00 00 00 | |
1007 009C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1008 00A8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1009 00B4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1010 00C0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1011 00CC 00 00 00 00 00 00 00 00 00 00 00 00 | |
1012 00D8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1013 00E4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1014 00F0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1015 00FC 00 00 00 00 00 00 00 00 00 00 00 00 | |
1016 0108 00 00 00 00 00 00 00 00 00 00 00 00 | |
1017 0114 00 00 00 00 00 00 00 00 00 00 00 00 | |
1018 0120 00 00 00 00 00 00 00 00 00 00 00 00 | |
1019 012C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1020 0138 00 00 00 00 00 00 00 00 00 00 00 00 | |
1021 0144 00 00 00 00 00 00 00 00 00 00 00 00 | |
1022 0150 00 00 00 00 00 00 00 00 00 00 00 00 | |
1023 015C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1024 0168 00 00 00 00 00 00 00 00 00 00 00 00 | |
1025 0174 00 00 00 00 00 00 00 00 00 00 00 00 | |
1026 0180 00 00 00 00 00 00 00 00 00 00 00 00 | |
1027 018C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1028 0198 00 00 00 00 00 00 00 00 00 00 00 00 | |
1029 01A4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1030 01B0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1031 01BC 00 00 00 00 00 00 00 00 00 00 00 00 | |
1032 01C8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1033 01D4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1034 01E0 00 00 00 00 00 00 00 00 02 14 18 01 | |
1035 01EC 00 00 00 00 80 80 8a 60 68 e5 b5 19 | |
1036 01F8 8a 00 00 00 00 00 00 00 | |
1037 | |
1038 01e8 itemCount [1 byte] 0x02 in this case | |
1039 01e9 maxItemCount [1 byte] 0x14 constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1040 01ea itemSize [1 byte] 0x18 constant |
44 | 1041 01eb nodeLevel [1 byte] 0x01 in this case |
1042 01f8 backPointer [8 bytes] 0x00008a in this case | |
1043 ]]></literallayout> | |
1044 <para> | |
1045 The itemCount specifies the number of 24 byte records that | |
1046 are active. The nodeLevel is non-zero for this style of nodes. | |
1047 The leaf nodes have a different format. The backPointer must | |
1048 match the backPointer from the triple that pointed to this node. | |
1049 </para> | |
1050 <para> | |
1051 Each item in this node is a triple of (ID1, backPointer, offset) | |
1052 where the offset points to the next deeper node in the tree, the | |
1053 backPointer value must match the backPointer in that deeper node, | |
1054 and ID1 is the lowest ID1 value in the subtree. | |
1055 </para> | |
1056 </refsect1> | |
1057 | |
1058 <refsect1 id='pst.file.leaf1.32.5'> | |
1059 <title>32 bit Index 1 Leaf Node</title> | |
1060 <para> | |
52 | 1061 The 32 bit index1 b-tree leaf nodes are 512 byte blocks with the |
44 | 1062 following format. |
24 | 1063 </para> |
1064 <literallayout class="monospaced"><![CDATA[ | |
1065 0000 04 00 00 00 00 58 00 00 64 00 0f 00 | |
1066 000c 08 00 00 00 80 58 00 00 ac 00 06 00 | |
1067 0018 0c 00 00 00 40 59 00 00 ac 00 06 00 | |
1068 0024 10 00 00 00 00 5a 00 00 bc 00 03 00 | |
1069 0030 14 00 00 00 00 5b 00 00 a4 00 02 00 | |
1070 003c 18 00 00 00 c0 5b 00 00 64 00 02 00 | |
1071 0048 1c 00 00 00 40 5c 00 00 5c 00 02 00 | |
1072 0054 50 00 00 00 80 62 00 00 60 00 02 00 | |
1073 0060 74 00 00 00 00 77 00 00 5e 00 02 00 | |
1074 006c 7c 00 00 00 80 77 00 00 66 00 02 00 | |
1075 0078 84 00 00 00 00 76 00 00 ca 00 02 00 | |
1076 0084 88 00 00 00 00 63 00 00 52 00 02 00 | |
1077 0090 90 00 00 00 00 79 00 00 58 00 02 00 | |
1078 009c cc 00 00 00 c0 61 00 00 76 00 02 00 | |
1079 00a8 e0 00 00 00 00 61 00 00 74 00 02 00 | |
1080 00b4 f4 00 00 00 80 65 00 00 6e 00 02 00 | |
1081 00c0 8c 01 00 00 40 60 00 00 70 00 02 00 | |
1082 00cc ea 01 00 00 80 61 00 00 10 00 02 00 | |
1083 00d8 ec 01 00 00 40 8a 00 00 f3 01 02 00 | |
1084 00e4 f0 01 00 00 80 93 00 00 f4 1f 02 00 | |
1085 00f0 fa 01 00 00 c0 7f 00 00 10 00 02 00 | |
1086 00fc 00 02 00 00 00 89 00 00 34 01 02 00 | |
1087 0108 1c 02 00 00 40 ec 00 00 12 06 02 00 | |
1088 0114 22 02 00 00 00 84 00 00 10 00 02 00 | |
1089 0120 24 02 00 00 c0 ea 00 00 3c 01 02 00 | |
1090 012c 40 02 00 00 00 f4 00 00 0a 06 02 00 | |
1091 0138 46 02 00 00 40 8c 00 00 10 00 02 00 | |
1092 0144 48 02 00 00 80 f2 00 00 36 01 02 00 | |
1093 0150 64 02 00 00 80 fb 00 00 bf 07 02 00 | |
1094 015c 6a 02 00 00 80 63 00 00 10 00 02 00 | |
1095 0168 6c 02 00 00 40 fa 00 00 2a 01 02 00 | |
1096 0174 6c 02 00 00 40 fa 00 00 2a 01 02 00 | |
1097 0180 6c 02 00 00 40 fa 00 00 2a 01 02 00 | |
1098 018c 6c 02 00 00 40 fa 00 00 2a 01 02 00 | |
1099 0198 6c 02 00 00 40 fa 00 00 2a 01 02 00 | |
1100 01a4 6c 02 00 00 40 fa 00 00 2a 01 02 00 | |
1101 01b0 64 02 00 00 80 fb 00 00 bf 07 02 00 | |
1102 01bc 64 02 00 00 80 fb 00 00 bf 07 02 00 | |
1103 01c8 64 02 00 00 80 fb 00 00 bf 07 02 00 | |
1104 01d4 64 02 00 00 80 fb 00 00 bf 07 02 00 | |
1105 01e0 64 02 00 00 80 fb 00 00 bf 07 02 00 | |
1106 01ec 00 00 00 00 1f 29 0c 00 80 80 5b b3 | |
52 | 1107 01f8 5a 67 01 00 4f ae 70 a7 |
24 | 1108 |
28 | 1109 01f0 itemCount [1 byte] 0x1f in this case |
1110 01f1 maxItemCount [1 byte] 0x29 constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1111 01f2 itemSize [1 byte] 0x0c constant |
44 | 1112 01f3 nodeLevel [1 byte] 0x00 defines a leaf node |
28 | 1113 01f8 backPointer [4 bytes] 0x01675a in this case |
24 | 1114 ]]></literallayout> |
1115 <para> | |
28 | 1116 The itemCount specifies the number of 12 byte records that |
1117 are active. The nodeLevel is zero for these leaf nodes. | |
1118 The backPointer must match the backPointer from the triple | |
24 | 1119 that pointed to this node. |
1120 </para> | |
1121 <para> | |
1122 Each item in this node is a tuple of (ID1, offset, size, unknown) | |
35 | 1123 The two low order bits of the ID1 value seem to be flags. I have |
1124 never seen a case with bit zero set. Bit one indicates that the | |
1125 item is <emphasis>not</emphasis> encrypted. Note that references | |
1126 to these ID1 values elsewhere may have the low order bit set (and | |
1127 I don't know what that means), but when we do the search in this | |
1128 tree we need to clear that bit so that we can find the correct item. | |
24 | 1129 </para> |
1130 </refsect1> | |
1131 | |
44 | 1132 <refsect1 id='pst.file.leaf1.64.5'> |
1133 <title>64 bit Index 1 Leaf Node</title> | |
24 | 1134 <para> |
44 | 1135 The 64 bit index1 b-tree leaf nodes are 512 byte blocks with the |
1136 following format. | |
1137 </para> | |
1138 <literallayout class="monospaced"><![CDATA[ | |
1139 0000 04 00 00 00 00 00 00 00 00 58 00 00 | |
1140 000C 00 00 00 00 6c 00 05 00 00 00 00 00 | |
1141 0018 08 00 00 00 00 00 00 00 80 58 00 00 | |
1142 0024 00 00 00 00 b4 00 06 00 d8 22 37 08 | |
1143 0030 0c 00 00 00 00 00 00 00 80 59 00 00 | |
1144 003C 00 00 00 00 ac 00 07 00 d8 22 37 08 | |
1145 0048 10 00 00 00 00 00 00 00 40 5a 00 00 | |
1146 0054 00 00 00 00 bc 00 03 00 d8 22 37 08 | |
1147 0060 14 00 00 00 00 00 00 00 40 5b 00 00 | |
1148 006C 00 00 00 00 a4 00 02 00 d8 22 37 08 | |
1149 0078 18 00 00 00 00 00 00 00 00 5c 00 00 | |
1150 0084 00 00 00 00 64 00 02 00 d8 22 37 08 | |
1151 0090 1c 00 00 00 00 00 00 00 80 5c 00 00 | |
1152 009C 00 00 00 00 5c 00 02 00 d8 22 37 08 | |
1153 00A8 24 00 00 00 00 00 00 00 80 5d 00 00 | |
1154 00B4 00 00 00 00 72 00 02 00 d8 22 37 08 | |
1155 00C0 34 00 00 00 00 00 00 00 00 70 00 00 | |
1156 00CC 00 00 00 00 8c 00 02 00 00 0d 00 00 | |
1157 00D8 38 00 00 00 00 00 00 00 c0 71 00 00 | |
1158 00E4 00 00 00 00 5c 00 02 00 d8 22 9c 00 | |
1159 00F0 40 00 00 00 00 00 00 00 40 72 00 00 | |
1160 00FC 00 00 00 00 26 00 02 00 d8 22 9c 00 | |
1161 0108 4c 00 00 00 00 00 00 00 80 5f 00 00 | |
1162 0114 00 00 00 00 3e 00 02 00 d8 22 9c 00 | |
1163 0120 5c 00 00 00 00 00 00 00 c0 76 00 00 | |
1164 012C 00 00 00 00 8c 00 02 00 d8 22 9c 00 | |
1165 0138 64 00 00 00 00 00 00 00 40 75 00 00 | |
1166 0144 00 00 00 00 76 00 02 00 d8 22 9c 00 | |
1167 0150 6c 00 00 00 00 00 00 00 c0 73 00 00 | |
1168 015C 00 00 00 00 5e 00 02 00 d8 22 9c 00 | |
1169 0168 70 00 00 00 00 00 00 00 80 72 00 00 | |
1170 0174 00 00 00 00 1e 01 02 00 d8 22 9c 00 | |
1171 0180 70 00 00 00 00 00 00 00 80 72 00 00 | |
1172 018C 00 00 00 00 1e 01 02 00 d8 22 9c 00 | |
1173 0198 70 00 00 00 00 00 00 00 80 72 00 00 | |
1174 01A4 00 00 00 00 1e 01 02 00 d8 22 9c 00 | |
1175 01B0 74 00 00 00 00 00 00 00 40 74 00 00 | |
1176 01BC 00 00 00 00 e0 00 02 00 d8 22 9c 00 | |
1177 01C8 7c 00 00 00 00 00 00 00 80 77 00 00 | |
1178 01D4 00 00 00 00 dc 00 02 00 d8 22 9c 00 | |
1179 01E0 00 00 00 00 00 00 00 00 10 14 18 00 | |
1180 01EC 00 00 00 00 80 80 88 48 3f 50 0b 04 | |
1181 01F8 88 00 00 00 00 00 00 00 | |
1182 | |
1183 01e8 itemCount [1 byte] 0x10 in this case | |
1184 01e9 maxItemCount [1 byte] 0x14 constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1185 01ea itemSize [1 byte] 0x18 constant |
44 | 1186 01eb nodeLevel [1 byte] 0x00 defines a leaf node |
1187 01f8 backPointer [8 bytes] 0x000088 in this case | |
1188 ]]></literallayout> | |
1189 <para> | |
1190 The itemCount specifies the number of 24 byte records that | |
1191 are active. The nodeLevel is zero for these leaf nodes. | |
1192 The backPointer must match the backPointer from the triple | |
1193 that pointed to this node. | |
1194 </para> | |
1195 <para> | |
1196 Each item in this node is a tuple of (ID1, offset, size, unknown) | |
1197 The two low order bits of the ID1 value seem to be flags. I have | |
1198 never seen a case with bit zero set. Bit one indicates that the | |
1199 item is <emphasis>not</emphasis> encrypted. Note that references | |
1200 to these ID1 values elsewhere may have the low order bit set (and | |
1201 I don't know what that means), but when we do the search in this | |
1202 tree we need to clear that bit so that we can find the correct item. | |
1203 </para> | |
1204 </refsect1> | |
1205 | |
1206 <refsect1 id='pst.file.node2.32.5'> | |
1207 <title>32 bit Index 2 Node</title> | |
1208 <para> | |
52 | 1209 The 32 bit index2 b-tree nodes are 512 byte blocks with the |
44 | 1210 following format. |
24 | 1211 </para> |
1212 <literallayout class="monospaced"><![CDATA[ | |
1213 0000 21 00 00 00 bb 1e 02 00 00 e2 0b 00 | |
1214 000c 64 78 20 00 8c 1e 02 00 00 dc 0b 00 | |
1215 0018 00 00 00 00 00 00 00 00 00 00 00 00 | |
1216 0024 00 00 00 00 00 00 00 00 00 00 00 00 | |
1217 0030 00 00 00 00 00 00 00 00 00 00 00 00 | |
1218 003c 00 00 00 00 00 00 00 00 00 00 00 00 | |
1219 0048 00 00 00 00 00 00 00 00 00 00 00 00 | |
1220 0054 00 00 00 00 00 00 00 00 00 00 00 00 | |
1221 0060 00 00 00 00 00 00 00 00 00 00 00 00 | |
1222 006c 00 00 00 00 00 00 00 00 00 00 00 00 | |
1223 0078 00 00 00 00 00 00 00 00 00 00 00 00 | |
1224 0084 00 00 00 00 00 00 00 00 00 00 00 00 | |
1225 0090 00 00 00 00 00 00 00 00 00 00 00 00 | |
1226 009c 00 00 00 00 00 00 00 00 00 00 00 00 | |
1227 00a8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1228 00b4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1229 00c0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1230 00cc 00 00 00 00 00 00 00 00 00 00 00 00 | |
1231 00d8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1232 00e4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1233 00f0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1234 00fc 00 00 00 00 00 00 00 00 00 00 00 00 | |
1235 0108 00 00 00 00 00 00 00 00 00 00 00 00 | |
1236 0114 00 00 00 00 00 00 00 00 00 00 00 00 | |
1237 0120 00 00 00 00 00 00 00 00 00 00 00 00 | |
1238 012c 00 00 00 00 00 00 00 00 00 00 00 00 | |
1239 0138 00 00 00 00 00 00 00 00 00 00 00 00 | |
1240 0144 00 00 00 00 00 00 00 00 00 00 00 00 | |
1241 0150 00 00 00 00 00 00 00 00 00 00 00 00 | |
1242 015c 00 00 00 00 00 00 00 00 00 00 00 00 | |
1243 0168 00 00 00 00 00 00 00 00 00 00 00 00 | |
1244 0174 00 00 00 00 00 00 00 00 00 00 00 00 | |
1245 0180 00 00 00 00 00 00 00 00 00 00 00 00 | |
1246 018c 00 00 00 00 00 00 00 00 00 00 00 00 | |
1247 0198 00 00 00 00 00 00 00 00 00 00 00 00 | |
1248 01a4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1249 01b0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1250 01bc 00 00 00 00 00 00 00 00 00 00 00 00 | |
1251 01c8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1252 01d4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1253 01e0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1254 01ec 00 00 00 00 02 29 0c 02 81 81 b2 60 | |
52 | 1255 01f8 bc 1e 02 00 7e 70 dc e3 |
24 | 1256 |
28 | 1257 01f0 itemCount [1 byte] 0x02 in this case |
1258 01f1 maxItemCount [1 byte] 0x29 constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1259 01f2 itemSize [1 byte] 0x0c constant |
28 | 1260 01f3 nodeLevel [1 byte] 0x02 in this case |
1261 01f8 backPointer [4 bytes] 0x021ebc in this case | |
24 | 1262 ]]></literallayout> |
1263 <para> | |
28 | 1264 The itemCount specifies the number of 12 byte records that |
1265 are active. The nodeLevel is non-zero for this style of nodes. | |
1266 The leaf nodes have a different format. The backPointer must | |
1267 match the backPointer from the triple that pointed to this node. | |
24 | 1268 </para> |
1269 <para> | |
28 | 1270 Each item in this node is a triple of (ID2, backPointer, offset) |
24 | 1271 where the offset points to the next deeper node in the tree, the |
28 | 1272 backPointer value must match the backPointer in that deeper node, |
24 | 1273 and ID2 is the lowest ID2 value in the subtree. |
1274 </para> | |
1275 </refsect1> | |
1276 | |
44 | 1277 <refsect1 id='pst.file.node2.64.5'> |
1278 <title>64 bit Index 2 Node</title> | |
24 | 1279 <para> |
44 | 1280 The 64 bit index2 b-tree nodes are 512 byte blocks with the |
1281 following format. | |
1282 </para> | |
1283 <literallayout class="monospaced"><![CDATA[ | |
1284 0000 21 00 00 00 00 00 00 00 77 00 00 00 | |
1285 000C 00 00 00 00 00 56 00 00 00 00 00 00 | |
1286 0018 4c 06 00 00 00 00 00 00 82 00 00 00 | |
1287 0024 00 00 00 00 00 68 00 00 00 00 00 00 | |
1288 0030 4f 80 00 00 00 00 00 00 84 00 00 00 | |
1289 003C 00 00 00 00 00 6e 00 00 00 00 00 00 | |
1290 0048 00 00 00 00 00 00 00 00 00 00 00 00 | |
1291 0054 00 00 00 00 00 00 00 00 00 00 00 00 | |
1292 0060 00 00 00 00 00 00 00 00 00 00 00 00 | |
1293 006C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1294 0078 00 00 00 00 00 00 00 00 00 00 00 00 | |
1295 0084 00 00 00 00 00 00 00 00 00 00 00 00 | |
1296 0090 00 00 00 00 00 00 00 00 00 00 00 00 | |
1297 009C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1298 00A8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1299 00B4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1300 00C0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1301 00CC 00 00 00 00 00 00 00 00 00 00 00 00 | |
1302 00D8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1303 00E4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1304 00F0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1305 00FC 00 00 00 00 00 00 00 00 00 00 00 00 | |
1306 0108 00 00 00 00 00 00 00 00 00 00 00 00 | |
1307 0114 00 00 00 00 00 00 00 00 00 00 00 00 | |
1308 0120 00 00 00 00 00 00 00 00 00 00 00 00 | |
1309 012C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1310 0138 00 00 00 00 00 00 00 00 00 00 00 00 | |
1311 0144 00 00 00 00 00 00 00 00 00 00 00 00 | |
1312 0150 00 00 00 00 00 00 00 00 00 00 00 00 | |
1313 015C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1314 0168 00 00 00 00 00 00 00 00 00 00 00 00 | |
1315 0174 00 00 00 00 00 00 00 00 00 00 00 00 | |
1316 0180 00 00 00 00 00 00 00 00 00 00 00 00 | |
1317 018C 00 00 00 00 00 00 00 00 00 00 00 00 | |
1318 0198 00 00 00 00 00 00 00 00 00 00 00 00 | |
1319 01A4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1320 01B0 00 00 00 00 00 00 00 00 00 00 00 00 | |
1321 01BC 00 00 00 00 00 00 00 00 00 00 00 00 | |
1322 01C8 00 00 00 00 00 00 00 00 00 00 00 00 | |
1323 01D4 00 00 00 00 00 00 00 00 00 00 00 00 | |
1324 01E0 00 00 00 00 00 00 00 00 03 14 18 01 | |
1325 01EC 00 00 00 00 81 81 83 6a 49 da f3 d3 | |
1326 01F8 83 00 00 00 00 00 00 00 | |
1327 | |
1328 01e8 itemCount [1 byte] 0x03 in this case | |
1329 01e9 maxItemCount [1 byte] 0x14 constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1330 01ea itemSize [1 byte] 0x18 constant |
44 | 1331 01eb nodeLevel [1 byte] 0x01 in this case |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1332 01f8 backPointer [8 bytes] 0x000083 in this case |
44 | 1333 ]]></literallayout> |
1334 <para> | |
1335 The itemCount specifies the number of 24 byte records that | |
1336 are active. The nodeLevel is non-zero for this style of nodes. | |
1337 The leaf nodes have a different format. The backPointer must | |
1338 match the backPointer from the triple that pointed to this node. | |
1339 </para> | |
1340 <para> | |
1341 Each item in this node is a triple of (ID2, backPointer, offset) | |
1342 where the offset points to the next deeper node in the tree, the | |
1343 backPointer value must match the backPointer in that deeper node, | |
1344 and ID2 is the lowest ID2 value in the subtree. | |
1345 </para> | |
1346 </refsect1> | |
1347 | |
1348 <refsect1 id='pst.file.leaf2.32.5'> | |
1349 <title>32 bit Index 2 Leaf Node</title> | |
1350 <para> | |
52 | 1351 The 32 bit index2 b-tree leaf nodes are 512 byte blocks with the |
44 | 1352 following format. |
24 | 1353 </para> |
1354 <literallayout class="monospaced"><![CDATA[ | |
1355 0000 21 00 00 00 38 e6 00 00 00 00 00 00 00 00 00 00 | |
1356 0010 61 00 00 00 2c a8 02 00 36 a8 02 00 00 00 00 00 | |
1357 0020 22 01 00 00 20 a2 02 00 00 00 00 00 22 01 00 00 | |
1358 0030 2d 01 00 00 88 7b 03 00 00 00 00 00 00 00 00 00 | |
1359 0040 2e 01 00 00 08 00 00 00 00 00 00 00 00 00 00 00 | |
1360 0050 2f 01 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 | |
1361 0060 e1 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
1362 0070 01 02 00 00 b4 e4 02 00 00 00 00 00 00 00 00 00 | |
1363 0080 61 02 00 00 a0 e4 02 00 00 00 00 00 00 00 00 00 | |
1364 0090 0d 06 00 00 04 00 00 00 00 00 00 00 00 00 00 00 | |
1365 00A0 0e 06 00 00 08 00 00 00 00 00 00 00 00 00 00 00 | |
1366 00B0 0f 06 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 | |
1367 00C0 10 06 00 00 10 00 00 00 00 00 00 00 00 00 00 00 | |
1368 00D0 2b 06 00 00 84 00 00 00 00 00 00 00 00 00 00 00 | |
1369 00E0 4c 06 00 00 1c 00 00 00 00 00 00 00 00 00 00 00 | |
1370 00F0 71 06 00 00 18 00 00 00 00 00 00 00 00 00 00 00 | |
1371 0100 92 06 00 00 14 00 00 00 00 00 00 00 00 00 00 00 | |
1372 0110 23 22 00 00 14 a0 02 00 00 00 00 00 22 01 00 00 | |
1373 0120 26 22 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
1374 0130 27 22 00 00 1c a0 02 00 00 00 00 00 00 00 00 00 | |
1375 0140 22 80 00 00 50 00 00 00 00 00 00 00 22 01 00 00 | |
1376 0150 2d 80 00 00 f8 9f 02 00 00 00 00 00 00 00 00 00 | |
1377 0160 2e 80 00 00 08 00 00 00 00 00 00 00 00 00 00 00 | |
1378 0170 2f 80 00 00 34 e6 00 00 00 00 00 00 00 00 00 00 | |
1379 0180 42 80 00 00 3c 6d 02 00 00 00 00 00 22 80 00 00 | |
1380 0190 4d 80 00 00 04 00 00 00 00 00 00 00 00 00 00 00 | |
1381 01A0 4e 80 00 00 10 6d 02 00 00 00 00 00 00 00 00 00 | |
1382 01B0 4f 80 00 00 ec 23 00 00 00 00 00 00 00 00 00 00 | |
1383 01C0 62 80 00 00 38 78 02 00 00 00 00 00 22 01 00 00 | |
1384 01D0 6d 80 00 00 34 78 02 00 00 00 00 00 00 00 00 00 | |
1385 01E0 6e 80 00 00 08 00 00 00 00 00 00 00 00 00 00 00 | |
1386 01F0 10 1f 10 00 81 81 a0 9a ae 1e 02 00 89 44 6a 0f | |
1387 | |
28 | 1388 01f0 itemCount [1 byte] 0x10 in this case |
1389 01f1 maxItemCount [1 byte] 0x1f constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1390 01f2 itemSize [1 byte] 0x10 constant |
28 | 1391 01f3 nodeLevel [1 byte] 0x00 in this case |
1392 01f8 backPointer [4 bytes] 0x021eae in this case | |
24 | 1393 ]]></literallayout> |
1394 <para> | |
28 | 1395 The itemCount specifies the number of 16 byte records that |
1396 are active. The nodeLevel is zero for these leaf nodes. | |
1397 The backPointer must match the backPointer from the triple | |
24 | 1398 that pointed to this node. |
1399 </para> | |
1400 <para> | |
1401 Each item in this node is a tuple of (ID2, DESC-ID1, LIST-ID1, PARENT-ID2) | |
1402 </para> | |
1403 </refsect1> | |
1404 | |
44 | 1405 <refsect1 id='pst.file.leaf2.64.5'> |
1406 <title>64 bit Index 2 Leaf Node</title> | |
1407 <para> | |
1408 The 64 bit index2 b-tree leaf nodes are 512 byte blocks with the | |
1409 following format. | |
1410 </para> | |
1411 <literallayout class="monospaced"><![CDATA[ | |
1412 0000 21 00 00 00 00 00 00 00 74 00 00 00 00 00 00 00 | |
1413 0010 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1414 0020 61 00 00 00 00 00 00 00 34 00 00 00 00 00 00 00 | |
1415 0030 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1416 0040 22 01 00 00 00 00 00 00 4c 00 00 00 00 00 00 00 | |
1417 0050 00 00 00 00 00 00 00 00 22 01 00 00 02 00 00 00 | |
1418 0060 2d 01 00 00 00 00 00 00 70 00 00 00 00 00 00 00 | |
1419 0070 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1420 0080 2e 01 00 00 00 00 00 00 08 00 00 00 00 00 00 00 | |
1421 0090 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1422 00A0 2f 01 00 00 00 00 00 00 0c 00 00 00 00 00 00 00 | |
1423 00B0 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1424 00C0 e1 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
1425 00D0 00 00 00 00 00 00 00 00 00 00 00 00 d8 e3 13 00 | |
1426 00E0 01 02 00 00 00 00 00 00 8c 00 00 00 00 00 00 00 | |
1427 00F0 00 00 00 00 00 00 00 00 00 00 00 00 b0 e3 13 00 | |
1428 0100 61 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
1429 0110 00 00 00 00 00 00 00 00 00 00 00 00 d8 e3 13 00 | |
1430 0120 0d 06 00 00 00 00 00 00 04 00 00 00 00 00 00 00 | |
1431 0130 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1432 0140 0e 06 00 00 00 00 00 00 08 00 00 00 00 00 00 00 | |
1433 0150 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1434 0160 0f 06 00 00 00 00 00 00 0c 00 00 00 00 00 00 00 | |
1435 0170 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1436 0180 10 06 00 00 00 00 00 00 10 00 00 00 00 00 00 00 | |
1437 0190 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1438 01A0 2b 06 00 00 00 00 00 00 24 00 00 00 00 00 00 00 | |
1439 01B0 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1440 01C0 71 06 00 00 00 00 00 00 18 00 00 00 00 00 00 00 | |
1441 01D0 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 | |
1442 01E0 00 00 00 00 00 00 00 00 0e 0f 20 00 00 00 00 00 | |
1443 01F0 81 81 77 56 f8 32 43 49 77 00 00 00 00 00 00 00 | |
1444 | |
1445 01e8 itemCount [1 byte] 0x0e in this case | |
1446 01e9 maxItemCount [1 byte] 0x0f constant | |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1447 01ea itemSize [1 byte] 0x20 constant |
44 | 1448 01eb nodeLevel [1 byte] 0x00 defines a leaf node |
71
1bd4491cf8ff
fix documentation of 8 byte backpointers
Carl Byington <carl@five-ten-sg.com>
parents:
64
diff
changeset
|
1449 01f8 backPointer [8 bytes] 0x000077 in this case |
44 | 1450 ]]></literallayout> |
1451 <para> | |
1452 The itemCount specifies the number of 32 byte records that | |
1453 are active. The nodeLevel is zero for these leaf nodes. | |
1454 The backPointer must match the backPointer from the triple | |
1455 that pointed to this node. | |
1456 </para> | |
1457 <para> | |
1458 Each item in this node is a tuple of (ID2, DESC-ID1, LIST-ID1, PARENT-ID2) | |
1459 </para> | |
1460 </refsect1> | |
1461 | |
46 | 1462 <refsect1 id='pst.file.list.32.5'> |
48 | 1463 <title>32 bit Associated List Item 0x0002</title> |
24 | 1464 <para> |
1465 Contains associations between id1 and id2 for the items controlled by the record. | |
44 | 1466 In the above 32 bit leaf node, we have a tuple of (0x61, 0x02a82c, 0x02a836, 0) |
24 | 1467 0x02a836 is the ID1 of the associated list, and we can lookup that ID1 value |
1468 in the index1 b-tree to find the (offset,size) of the data in the .pst file. | |
1469 </para> | |
1470 <literallayout class="monospaced"><![CDATA[ | |
1471 0000 02 00 01 00 9f 81 00 00 30 a8 02 00 00 00 00 00 | |
1472 | |
48 | 1473 0000 signature [2 bytes] 0x0002 constant |
24 | 1474 0002 count [2 bytes] 0x0001 in this case |
1475 repeating | |
1476 0004 id2 [4 bytes] 0x00819f in this case | |
1477 0008 id [4 bytes] 0x02a830 in this case | |
46 | 1478 000c table2 [4 bytes] 0 in this case |
1479 ]]></literallayout> | |
1480 </refsect1> | |
1481 | |
1482 <refsect1 id='pst.file.list.64.5'> | |
48 | 1483 <title>64 bit Associated List Item 0x0002</title> |
46 | 1484 <para> |
1485 Contains associations between id1 and id2 for the items controlled by the record. | |
1486 </para> | |
1487 <literallayout class="monospaced"><![CDATA[ | |
1488 0000 02 00 02 00 00 00 00 00 92 06 00 00 00 00 00 00 | |
1489 0010 a8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
1490 0020 3f 80 00 00 00 00 00 00 98 00 00 00 00 00 00 00 | |
1491 0030 00 00 00 00 00 00 00 00 | |
1492 | |
48 | 1493 0000 signature [2 bytes] 0x0002 constant |
46 | 1494 0002 count [2 bytes] 0x0002 in this case |
57
de3753c3160a
add archive directory with history of alioth versions that have been merged here
Carl Byington <carl@five-ten-sg.com>
parents:
55
diff
changeset
|
1495 0004 unknown [4 bytes] 0 possibly constant |
46 | 1496 repeating |
48 | 1497 0008 id2 [4 bytes] 0x000692 in this case |
1498 000c unknown1 [2 bytes] 0 may be a count or size | |
1499 000e unknown2 [2 bytes] 0 may be a count or size | |
1500 0010 id [8 bytes] 0x0000a8 in this case | |
1501 0018 table2 [8 bytes] 0 in this case | |
24 | 1502 ]]></literallayout> |
1503 </refsect1> | |
1504 | |
1505 <refsect1 id='pst.file.desc.5'> | |
28 | 1506 <title>Associated Descriptor Item 0xbcec</title> |
24 | 1507 <para> |
28 | 1508 Contains information about the item, which may be email, contact, or |
1509 other outlook types. In the above leaf node, we have a tuple of (0x21, | |
1510 0x00e638, 0, 0) 0x00e638 is the ID1 of the associated descriptor, and we | |
1511 can lookup that ID1 value in the index1 b-tree to find the (offset,size) | |
1512 of the data in the .pst file. | |
24 | 1513 </para> |
1514 <literallayout class="monospaced"><![CDATA[ | |
1515 0000 3c 01 ec bc 20 00 00 00 00 00 00 00 b5 02 06 00 | |
1516 0010 40 00 00 00 f9 0f 02 01 60 00 00 00 01 30 1e 00 | |
1517 0020 80 00 00 00 04 30 1e 00 00 00 00 00 df 35 03 00 | |
1518 0030 ff 00 00 00 e0 35 02 01 a0 00 00 00 e2 35 02 01 | |
1519 0040 e0 00 00 00 e3 35 02 01 c0 00 00 00 e4 35 02 01 | |
1520 0050 00 01 00 00 e5 35 02 01 20 01 00 00 e6 35 02 01 | |
1521 0060 40 01 00 00 e7 35 02 01 60 01 00 00 1e 66 0b 00 | |
1522 0070 00 00 00 00 ff 67 03 00 00 00 00 00 d2 7f 17 d8 | |
1523 0080 64 8c d5 11 83 24 00 50 04 86 95 45 53 74 61 6e | |
1524 0090 6c 65 79 00 00 00 00 d2 7f 17 d8 64 8c d5 11 83 | |
1525 00A0 24 00 50 04 86 95 45 22 80 00 00 00 00 00 00 d2 | |
1526 00B0 7f 17 d8 64 8c d5 11 83 24 00 50 04 86 95 45 42 | |
1527 00C0 80 00 00 00 00 00 00 d2 7f 17 d8 64 8c d5 11 83 | |
1528 00D0 24 00 50 04 86 95 45 a2 80 00 00 00 00 00 00 d2 | |
1529 00E0 7f 17 d8 64 8c d5 11 83 24 00 50 04 86 95 45 c2 | |
1530 00F0 80 00 00 00 00 00 00 d2 7f 17 d8 64 8c d5 11 83 | |
1531 0100 24 00 50 04 86 95 45 e2 80 00 00 00 00 00 00 d2 | |
1532 0110 7f 17 d8 64 8c d5 11 83 24 00 50 04 86 95 45 02 | |
1533 0120 81 00 00 00 00 00 00 d2 7f 17 d8 64 8c d5 11 83 | |
1534 0130 24 00 50 04 86 95 45 62 80 00 00 00 0b 00 00 00 | |
1535 0140 0c 00 14 00 7c 00 8c 00 93 00 ab 00 c3 00 db 00 | |
1536 0150 f3 00 0b 01 23 01 3b 01 | |
1537 | |
28 | 1538 0000 indexOffset [2 bytes] 0x013c in this case |
24 | 1539 0002 signature [2 bytes] 0xbcec constant |
35 | 1540 0004 b5offset [4 bytes] 0x0020 index reference |
24 | 1541 ]]></literallayout> |
1542 <para> | |
35 | 1543 Note the signature of 0xbcec. There are other descriptor block formats |
1544 with other signatures. Note the indexOffset of 0x013c - starting at | |
1545 that position in the descriptor block, we have an array of two byte | |
1546 integers. The first integer (0x000b) is a (count-1) of the number of | |
1547 overlapping pairs following the count. The first pair is (0, 0xc), the | |
1548 next pair is (0xc, 0x14) and the last (12th) pair is (0x123, 0x13b). | |
1549 These pairs are (start,end+1) offsets of items in this block. So we | |
1550 have count+2 integers following the count value. | |
24 | 1551 </para> |
1552 <para> | |
35 | 1553 Note the b5offset of 0x0020, which is a type that I will call an index |
49 | 1554 reference. Such index references have at least two different forms, |
1555 and may point to data either in this block, or in some other block. | |
35 | 1556 External pointer references have the low order 4 bits all set, and are |
1557 ID2 values that can be used to fetch data. This value of 0x0020 is an | |
49 | 1558 internal pointer reference, which needs to be right shifted by 4 bits |
1559 to become 0x0002, which is then a byte offset to be added to the above | |
35 | 1560 indexOffset plus two (to skip the count), so it points to the (0xc, |
1561 0x14) pair. | |
1562 </para> | |
1563 <para> | |
49 | 1564 So far we have only described internal index references where the high |
1565 order 16 bits are zero. That suffices for single descriptor | |
1566 blocks. But in the case of the type 0x0101 descriptor block, we have | |
1567 an array of subblocks. In this case, the high order 16 bits of an | |
1568 internal index reference are used to select the subblock. Each | |
1569 subblock starts with a 16 bit indexOffset which points to the count | |
1570 and array of 16 bit integer pairs which are offsets in the current | |
1571 subblock. | |
1572 </para> | |
1573 <para> | |
35 | 1574 Finally, we have the offset and size of the "b5" block located at offset 0xc |
24 | 1575 with a size of 8 bytes in this descriptor block. The "b5" block has the |
1576 following format: | |
1577 </para> | |
1578 <literallayout class="monospaced"><![CDATA[ | |
1579 0000 signature [2 bytes] 0x02b5 constant | |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1580 0002 datasize [2 bytes] 0x0006 constant +2 for 8 byte entries |
35 | 1581 0004 descoffset [4 bytes] 0x0040 index reference |
24 | 1582 ]]></literallayout> |
1583 <para> | |
35 | 1584 Note the descoffset of 0x0040, which again is an index reference. In this |
1585 case, it is an internal pointer reference, which needs to be right shifted by 4 bits | |
24 | 1586 to become 0x0004, which is then a byte offset to be added to the above |
28 | 1587 indexOffset plus two (to skip the count), so it points to the (0x14, 0x7c) |
77 | 1588 pair. The datasize (6) plus the b5 code (02) gives the size of the entries, |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1589 in this case 8 bytes. We now have the offset 0x14 of the descriptor array, |
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1590 composed of 8 byte entries. Each descriptor entry has the following format: |
24 | 1591 </para> |
1592 <literallayout class="monospaced"><![CDATA[ | |
28 | 1593 0000 itemType [2 bytes] |
1594 0002 referenceType [2 bytes] | |
24 | 1595 0004 value [4 bytes] |
1596 ]]></literallayout> | |
1597 <para> | |
1598 For some reference types (2, 3, 0xb) the value is used directly. Otherwise, | |
35 | 1599 the value is an index reference, which is either an ID2 value, or an |
1600 offset, to be right shifted by 4 bits and used to fetch a pair from the | |
1601 index table to find the offset and size of the item in this descriptor block. | |
24 | 1602 </para> |
1603 <para> | |
1604 The following reference types are known, but not all of these | |
1605 are implemented in the code yet. | |
1606 </para> | |
1607 <literallayout class="monospaced"><![CDATA[ | |
1608 0x0002 - Signed 16bit value | |
1609 0x0003 - Signed 32bit value | |
1610 0x0004 - 4-byte floating point | |
1611 0x0005 - Floating point double | |
1612 0x0006 - Signed 64-bit int | |
1613 0x0007 - Application Time | |
1614 0x000A - 32-bit error value | |
1615 0x000B - Boolean (non-zero = true) | |
1616 0x000D - Embedded Object | |
1617 0x0014 - 8-byte signed integer (64-bit) | |
1618 0x001E - Null terminated String | |
1619 0x001F - Unicode string | |
1620 0x0040 - Systime - Filetime structure | |
1621 0x0048 - OLE Guid | |
1622 0x0102 - Binary data | |
1623 0x1003 - Array of 32bit values | |
1624 0x1014 - Array of 64bit values | |
1625 0x101E - Array of Strings | |
1626 0x1102 - Array of Binary data | |
1627 ]]></literallayout> | |
1628 <para> | |
1629 The following item types are known, but not all of these | |
1630 are implemented in the code yet. | |
1631 </para> | |
1632 <literallayout class="monospaced"><![CDATA[ | |
51 | 1633 0002 Alternate recipient allowed |
24 | 1634 0003 Extended Attributes Table |
1635 0017 Importance Level | |
51 | 1636 001a IPM Context, message class |
1637 0023 Global delivery report requested | |
24 | 1638 0026 Priority |
1639 0029 Read Receipt | |
1640 002b Reassignment Prohibited | |
1641 002e Original Sensitivity | |
1642 0036 Sensitivity | |
51 | 1643 0037 Email Subject |
60
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1644 0039 Client submit time / date sent |
24 | 1645 003b Outlook Address of Sender |
1646 003f Outlook structure describing the recipient | |
1647 0040 Name of the Outlook recipient structure | |
1648 0041 Outlook structure describing the sender | |
1649 0042 Name of the Outlook sender structure | |
1650 0043 Another structure describing the recipient | |
1651 0044 Name of the second recipient structure | |
1652 004f Reply-To Outlook Structure | |
1653 0050 Name of the Reply-To structure | |
1654 0051 Outlook Name of recipient | |
1655 0052 Second Outlook name of recipient | |
1656 0057 My address in TO field | |
1657 0058 My address in CC field | |
1658 0059 Message addressed to me | |
1659 0063 Response requested | |
1660 0064 Sender's Address access method (SMTP, EX) | |
1661 0065 Sender's Address | |
63
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
1662 0070 Conversation topic, processed subject (with Fwd:, Re, ... removed) |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
1663 0071 Conversation index |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
1664 0072 Original display BCC |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
1665 0073 Original display CC |
cfd6175f9334
Start work on pst2dii to convert to Summation dii load file format.
Carl Byington <carl@five-ten-sg.com>
parents:
60
diff
changeset
|
1666 0074 Original display TO |
24 | 1667 0075 Recipient Address Access Method (SMTP, EX) |
1668 0076 Recipient's Address | |
1669 0077 Second Recipient Access Method (SMTP, EX) | |
1670 0078 Second Recipient Address | |
1671 007d Email Header. This is the header that was attached to the email | |
1672 0c17 Reply Requested | |
52 | 1673 0c19 Second sender structure |
1674 0c1a Name of second sender structure | |
24 | 1675 0c1d Second outlook name of sender |
1676 0c1e Second sender access method (SMTP, EX) | |
1677 0c1f Second Sender Address | |
1678 0e01 Delete after submit | |
60
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1679 0e02 BCC Addresses |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1680 0e03 CC Addresses |
24 | 1681 0e04 SentTo Address |
1682 0e06 Date. | |
60
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1683 0e07 Flag bits |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1684 0x01 - Read |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1685 0x02 - Unmodified |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1686 0x04 - Submit |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1687 0x08 - Unsent |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1688 0x10 - Has Attachments |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1689 0x20 - From Me |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1690 0x40 - Associated |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1691 0x80 - Resend |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1692 0x100 - RN Pending |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1693 0x200 - NRN Pending |
24 | 1694 0e08 Message Size |
1695 0e0a Sentmail EntryID | |
1696 0e1f Compressed RTF in Sync | |
1697 0e20 Attachment Size | |
1698 0ff9 binary record header | |
1699 1000 Plain Text Email Body. Does not exist if the email doesn't have a plain text version | |
1700 1006 RTF Sync Body CRC | |
1701 1007 RTF Sync Body character count | |
1702 1008 RTF Sync body tag | |
1703 1009 RTF Compressed body | |
1704 1010 RTF whitespace prefix count | |
1705 1011 RTF whitespace tailing count | |
36 | 1706 1013 HTML Email Body. Does not exist if the email doesn't have an HTML version |
24 | 1707 1035 Message ID |
1708 1042 In-Reply-To or Parent's Message ID | |
1709 1046 Return Path | |
1710 3001 Folder Name? I have seen this value used for the contacts record aswell | |
1711 3002 Address Type | |
1712 3003 Contact Address | |
1713 3004 Comment | |
1714 3007 Date item creation | |
1715 3008 Date item modification | |
1716 300b binary record header | |
1717 35df Valid Folder Mask | |
51 | 1718 35e0 binary record contains a reference to "Top of Personal Folder" item |
1719 35e2 binary record contains a reference to default outbox item | |
1720 35e3 binary record contains a reference to "Deleted Items" item | |
1721 35e4 binary record contains a reference to sent items folder item | |
1722 35e5 binary record contains a reference to user views folder item | |
1723 35e6 binary record contains a reference to common views folder item | |
1724 35e7 binary record contains a reference to "Search Root" item | |
24 | 1725 3602 the number of emails stored in a folder |
1726 3603 the number of unread emails in a folder | |
1727 360a Has Subfolders | |
1728 3613 the folder content description | |
1729 3617 Associate Content count | |
1730 3701 Binary Data attachment | |
1731 3704 Attachment Filename | |
1732 3705 Attachement method | |
1733 3707 Attachment Filename long | |
1734 370b Attachment Position | |
1735 370e Attachment mime encoding | |
51 | 1736 3710 Attachment mime Sequence |
24 | 1737 3a00 Contact's Account name |
1738 3a01 Contact Alternate Recipient | |
1739 3a02 Callback telephone number | |
1740 3a03 Message Conversion Prohibited | |
1741 3a05 Contacts Suffix | |
1742 3a06 Contacts First Name | |
1743 3a07 Contacts Government ID Number | |
1744 3a08 Business Telephone Number | |
1745 3a09 Home Telephone Number | |
1746 3a0a Contacts Initials | |
1747 3a0b Keyword | |
1748 3a0c Contact's Language | |
1749 3a0d Contact's Location | |
1750 3a0e Mail Permission | |
1751 3a0f MHS Common Name | |
1752 3a10 Organizational ID # | |
1753 3a11 Contacts Surname | |
1754 3a12 original entry id | |
1755 3a13 original display name | |
1756 3a14 original search key | |
1757 3a15 Default Postal Address | |
1758 3a16 Company Name | |
1759 3a17 Job Title | |
1760 3a18 Department Name | |
1761 3a19 Office Location | |
1762 3a1a Primary Telephone | |
1763 3a1b Business Phone Number 2 | |
1764 3a1c Mobile Phone Number | |
1765 3a1d Radio Phone Number | |
1766 3a1e Car Phone Number | |
1767 3a1f Other Phone Number | |
1768 3a20 Transmittable Display Name | |
1769 3a21 Pager Phone Number | |
1770 3a22 user certificate | |
1771 3a23 Primary Fax Number | |
1772 3a24 Business Fax Number | |
1773 3a25 Home Fax Number | |
1774 3a26 Business Address Country | |
1775 3a27 Business Address City | |
1776 3a28 Business Address State | |
1777 3a29 Business Address Street | |
1778 3a2a Business Postal Code | |
1779 3a2b Business PO Box | |
1780 3a2c Telex Number | |
1781 3a2d ISDN Number | |
1782 3a2e Assistant Phone Number | |
1783 3a2f Home Phone 2 | |
1784 3a30 Assistant's Name | |
1785 3a40 Can receive Rich Text | |
1786 3a41 Wedding Anniversary | |
1787 3a42 Birthday | |
1788 3a43 Hobbies | |
1789 3a44 Middle Name | |
1790 3a45 Display Name Prefix (Title) | |
1791 3a46 Profession | |
1792 3a47 Preferred By Name | |
1793 3a48 Spouse's Name | |
1794 3a49 Computer Network Name | |
1795 3a4a Customer ID | |
1796 3a4b TTY/TDD Phone | |
1797 3a4c Ftp Site | |
1798 3a4d Gender | |
1799 3a4e Manager's Name | |
1800 3a4f Nickname | |
1801 3a50 Personal Home Page | |
1802 3a51 Business Home Page | |
1803 3a57 Company Main Phone | |
1804 3a58 childrens names | |
1805 3a59 Home Address City | |
1806 3a5a Home Address Country | |
1807 3a5b Home Address Postal Code | |
1808 3a5c Home Address State or Province | |
1809 3a5d Home Address Street | |
1810 3a5e Home Address Post Office Box | |
1811 3a5f Other Address City | |
1812 3a60 Other Address Country | |
1813 3a61 Other Address Postal Code | |
1814 3a62 Other Address State | |
1815 3a63 Other Address Street | |
1816 3a64 Other Address Post Office box | |
1817 65e3 Entry ID | |
1818 67f2 Attachment ID2 value | |
36 | 1819 67ff Password checksum |
24 | 1820 6f02 Secure HTML Body |
1821 6f04 Secure Text Body | |
36 | 1822 7c07 Top of folders RecID |
24 | 1823 8005 Contact Fullname |
1824 801a Home Address | |
1825 801b Business Address | |
1826 801c Other Address | |
51 | 1827 8045 Work Address Street |
1828 8046 Work Address City | |
1829 8047 Work Address State | |
1830 8048 Work Address Postal Code | |
1831 8049 Work Address Country | |
1832 804a Work Address Post Office Box | |
24 | 1833 8082 Email Address 1 Transport |
1834 8083 Email Address 1 Address | |
1835 8084 Email Address 1 Description | |
1836 8085 Email Address 1 Record | |
1837 8092 Email Address 2 Transport | |
1838 8093 Email Address 2 Address | |
36 | 1839 8094 Email Address 2 Description |
24 | 1840 8095 Email Address 2 Record |
36 | 1841 80a2 Email Address 3 Transport |
24 | 1842 80a3 Email Address 3 Address |
1843 80a4 Email Address 3 Description | |
1844 80a5 Email Address 3 Record | |
1845 80d8 Internet Free/Busy | |
1846 8205 Appointment shows as | |
1847 8208 Appointment Location | |
51 | 1848 820d Appointment start |
1849 820e Appointment end | |
24 | 1850 8214 Label for appointment |
32 | 1851 8215 All day appointment flag |
51 | 1852 8231 Recurrence type |
1853 8232 Recurrence description | |
24 | 1854 8234 TimeZone of times |
51 | 1855 8235 Recurrence Start Time |
1856 8236 Recurrence End Time | |
1857 8501 Reminder minutes before appointment start | |
1858 8503 Reminder alarm | |
1859 8516 Common Time Start | |
1860 8517 Common Time End | |
1861 851f Play reminder sound filename | |
24 | 1862 8530 Followup String |
1863 8534 Mileage | |
1864 8535 Billing Information | |
1865 8554 Outlook Version | |
1866 8560 Appointment Reminder Time | |
1867 8700 Journal Entry Type | |
1868 8706 Start Timestamp | |
1869 8708 End Timestamp | |
51 | 1870 8712 Journal Entry Type - duplicate? |
24 | 1871 ]]></literallayout> |
1872 </refsect1> | |
1873 | |
28 | 1874 <refsect1 id='pst.file.desc2.5'> |
1875 <title>Associated Descriptor Item 0x7cec</title> | |
1876 <para> | |
35 | 1877 This style of descriptor block is similar to the 0xbcec format. |
28 | 1878 </para> |
1879 <literallayout class="monospaced"><![CDATA[ | |
1880 0000 7a 01 ec 7c 40 00 00 00 00 00 00 00 b5 04 02 00 | |
1881 0010 60 00 00 00 7c 18 60 00 60 00 62 00 65 00 20 00 | |
1882 0020 00 00 80 00 00 00 00 00 00 00 03 00 20 0e 0c 00 | |
1883 0030 04 03 1e 00 01 30 2c 00 04 0b 1e 00 03 37 28 00 | |
1884 0040 04 0a 1e 00 04 37 14 00 04 05 03 00 05 37 10 00 | |
1885 0050 04 04 1e 00 07 37 24 00 04 09 1e 00 08 37 20 00 | |
1886 0060 04 08 02 01 0a 37 18 00 04 06 03 00 0b 37 08 00 | |
1887 0070 04 02 1e 00 0d 37 1c 00 04 07 1e 00 0e 37 40 00 | |
1888 0080 04 10 02 01 0f 37 30 00 04 0c 1e 00 11 37 34 00 | |
1889 0090 04 0d 1e 00 12 37 3c 00 04 0f 1e 00 13 37 38 00 | |
1890 00A0 04 0e 03 00 f2 67 00 00 04 00 03 00 f3 67 04 00 | |
1891 00B0 04 01 03 00 09 69 44 00 04 11 03 00 fa 7f 5c 00 | |
1892 00C0 04 15 40 00 fb 7f 4c 00 08 13 40 00 fc 7f 54 00 | |
1893 00D0 08 14 03 00 fd 7f 48 00 04 12 0b 00 fe 7f 60 00 | |
1894 00E0 01 16 0b 00 ff 7f 61 00 01 17 45 82 00 00 00 00 | |
1895 00F0 45 82 00 00 78 3c 00 00 ff ff ff ff 49 1e 00 00 | |
1896 0100 06 00 00 00 00 00 00 00 a0 00 00 00 00 00 00 00 | |
1897 0110 00 00 00 00 00 00 00 00 00 00 00 00 c0 00 00 00 | |
1898 0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | |
1899 0130 00 00 00 00 00 00 00 00 00 00 00 00 00 40 dd a3 | |
1900 0140 57 45 b3 0c 00 40 dd a3 57 45 b3 0c 02 00 00 00 | |
1901 0150 00 00 fa 10 3e 2a 86 48 86 f7 14 03 0a 03 02 01 | |
1902 0160 4a 2e 20 44 61 76 69 64 20 4b 61 72 61 6d 27 73 | |
1903 0170 20 42 69 72 74 68 64 61 79 00 06 00 00 00 0c 00 | |
1904 0180 14 00 ea 00 f0 00 55 01 60 01 79 01 | |
1905 | |
1906 0000 indexOffset [2 bytes] 0x017a in this case | |
1907 0002 signature [2 bytes] 0x7cec constant | |
35 | 1908 0004 7coffset [4 bytes] 0x0040 index reference |
28 | 1909 ]]></literallayout> |
1910 <para> | |
1911 Note the signature of 0x7cec. There are other descriptor block | |
1912 formats with other signatures. | |
1913 Note the indexOffset of 0x017a - starting at that position in the | |
1914 descriptor block, we have an array of two byte integers. The first | |
1915 integer (0x0006) is a (count-1) of the number of overlapping pairs | |
1916 following the count. The first pair is (0, 0xc), the next pair is (0xc, 0x14) | |
1917 and the last (7th) pair is (0x160, 0x179). These pairs are (start,end+1) | |
1918 offsets of items in this block. So we have count+2 integers following | |
1919 the count value. | |
1920 </para> | |
1921 <para> | |
35 | 1922 Note the 7coffset of 0x0040, which is an index reference. In this case, |
1923 it is an internal reference pointer, which needs to be right shifted by 4 bits | |
28 | 1924 to become 0x0004, which is then a byte offset to be added to the above |
1925 indexOffset plus two (to skip the count), so it points to the (0x14, 0xea) | |
1926 pair. We have the offset and size of the "7c" block located at offset 0x14 | |
1927 with a size of 214 bytes in this case. The "7c" block starts with | |
1928 a header with the following format: | |
1929 </para> | |
1930 <literallayout class="monospaced"><![CDATA[ | |
1931 0000 signature [1 bytes] 0x7c constant | |
1932 0001 itemCount [1 bytes] 0x18 in this case | |
1933 0002 unknown [2 bytes] 0x0060 in this case | |
1934 0004 unknown [2 bytes] 0x0060 in this case | |
1935 0006 unknown [2 bytes] 0x0062 in this case | |
1936 0008 recordSize [2 bytes] 0x0065 in this case | |
35 | 1937 000a b5Offset [4 bytes] 0x0020 index reference |
1938 000e index2Offset [4 bytes] 0x0080 index reference | |
28 | 1939 0012 unknown [2 bytes] 0x0000 in this case |
1940 0014 unknown [2 bytes] 0x0000 in this case | |
1941 ]]></literallayout> | |
1942 <para> | |
35 | 1943 Note the b5Offset of 0x0020, which is an index reference. In this case, |
1944 it is an internal reference pointer, which needs to be right shifted by 4 bits | |
28 | 1945 to become 0x0002, which is then a byte offset to be added to the above |
1946 indexOffset plus two (to skip the count), so it points to the (0xc, | |
1947 0x14) pair. Finally, we have the offset and size of the "b5" block | |
1948 located at offset 0xc with a size of 8 bytes in this descriptor block. | |
1949 The "b5" block has the following format: | |
1950 </para> | |
1951 <literallayout class="monospaced"><![CDATA[ | |
1952 0000 signature [2 bytes] 0x04b5 constant | |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1953 0002 datasize [2 bytes] 0x0002 +4 for 6 byte entries in this case |
35 | 1954 0004 descoffset [4 bytes] 0x0060 index reference |
28 | 1955 ]]></literallayout> |
1956 <para> | |
35 | 1957 Note the descoffset of 0x0060, which again is an index reference. In this |
1958 case, it is an internal pointer reference, which needs to be right shifted by 4 | |
28 | 1959 bits to become 0x0006, which is then a byte offset to be added to the |
1960 above indexOffset plus two (to skip the count), so it points to the | |
75
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1961 (0xea, 0xf0) pair. The datasize (2) plus the b5 code (04) gives the size |
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1962 of the entries, in this case 6 bytes. We now have the offset 0xea of an |
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1963 unused block of data in an unknown format, composed of 6 byte entries. |
987aa872294e
Use ftello/fseeko to properly handle large files.
Carl Byington <carl@five-ten-sg.com>
parents:
71
diff
changeset
|
1964 That gives us (0xf0 - 0xea)/6 = 1, so we have a recordCount of one. |
28 | 1965 </para> |
1966 <para> | |
60
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1967 We have seen cases where the descoffset in the b5 block is zero, and |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1968 the index2Offset in the 7c block is zero. This has been seen for |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1969 objects that seem to be attachments on messages that have been |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1970 read. Before the message was read, it did not have any attachments. |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1971 </para> |
97b7706bdda2
Work around bogus 7c.b5 blocks in some messages that have been read.
Carl Byington <carl@five-ten-sg.com>
parents:
58
diff
changeset
|
1972 <para> |
35 | 1973 Note the index2Offset above of 0x0080, which again is an index reference. In this |
1974 case, it is an internal pointer reference, which needs to be right shifted | |
28 | 1975 by 4 bits to become 0x0008, which is then a byte offset to be added to |
1976 the above indexOffset plus two (to skip the count), so it points to the | |
1977 (0xf0, 0x155) pair. This is an array of tables of four byte integers. | |
1978 We will call these the IND2 tables. The size of each of these tables is | |
1979 specified by the recordSize field of the "7c" header. The number of | |
1980 these tables is the above recordCount value derived from the "b5" block. | |
1981 </para> | |
1982 <para> | |
1983 Now the remaining data in the "7c" block after the header starts at | |
1984 offset 0x2a. There should be itemCount 8 byte items here, with the | |
1985 following format: | |
1986 </para> | |
1987 <literallayout class="monospaced"><![CDATA[ | |
1988 0000 referenceType [2 bytes] | |
1989 0002 itemType [2 bytes] | |
1990 0004 ind2Offset [2 bytes] | |
35 | 1991 0006 size [1 byte] |
1992 0007 unknown [1 byte] | |
28 | 1993 ]]></literallayout> |
1994 <para> | |
35 | 1995 The ind2Offset is a byte offset into the current IND2 table of some value. |
1996 If that is a four byte integer value, then once we fetch that, we have | |
1997 the same triple (item type, reference type, value) as we find in the | |
1998 0xbcec style descriptor blocks. If not, then this value is used directly. | |
1999 These 8 byte descriptors are processed recordCount times, each | |
28 | 2000 time using the next IND2 table. The item and reference types are as |
2001 described above for the 0xbcec format descriptor block. | |
2002 </para> | |
2003 </refsect1> | |
2004 | |
48 | 2005 <refsect1 id='pst.file.desc3.32.5'> |
2006 <title>32 bit Associated Descriptor Item 0x0101</title> | |
35 | 2007 <para> |
49 | 2008 This descriptor block contains a list of ID1 values. It is used when |
2009 an ID1 (that would normally point to a type 0x7cec or 0xbcec | |
2010 descriptor block) contains more data than can fit in any single | |
2011 descriptor of those types. In this case, it points to a type 0x0101 | |
2012 block, which contains a list of ID1 values that themselves point to | |
2013 the actual descriptor blocks. The total length value in the 0x0101 | |
2014 header is the sum of the lengths of the blocks pointed to by the list | |
2015 of ID1 values. The result is an array of subblocks, that may contain | |
2016 index references where the high order 16 bits specify which descriptor | |
2017 subblock to use. Only the first descriptor subblock contains the | |
2018 signature (0xbcec or 0x7cec). | |
35 | 2019 </para> |
2020 <literallayout class="monospaced"><![CDATA[ | |
2021 0000 01 01 02 00 26 28 00 00 18 77 0c 00 b8 04 00 00 | |
2022 | |
2023 0000 signature [2 bytes] 0x0101 constant | |
2024 0002 count [2 bytes] 0x0002 in this case | |
49 | 2025 0004 total length [4 bytes] 0x002826 in this case |
35 | 2026 repeating |
49 | 2027 0008 id1 [4 bytes] 0x0c7718 in this case |
2028 000c id1 [4 bytes] 0x0004b8 in this case | |
35 | 2029 ]]></literallayout> |
2030 </refsect1> | |
2031 | |
48 | 2032 <refsect1 id='pst.file.desc3.64.5'> |
2033 <title>64 bit Associated Descriptor Item 0x0101</title> | |
2034 <para> | |
2035 This descriptor block contains a list of ID1 values. | |
2036 </para> | |
2037 <literallayout class="monospaced"><![CDATA[ | |
2038 0000 01 01 02 00 ea 29 00 00 10 83 00 00 00 00 00 00 | |
2039 0010 1c 83 00 00 00 00 00 00 | |
2040 | |
2041 0000 signature [2 bytes] 0x0101 constant | |
2042 0002 count [2 bytes] 0x0002 in this case | |
49 | 2043 0004 total length [4 bytes] 0x0029ea in this case |
48 | 2044 repeating |
49 | 2045 0008 id1 [8 bytes] 0x008310 in this case |
2046 0010 id1 [8 bytes] 0x00831c in this case | |
48 | 2047 ]]></literallayout> |
2048 </refsect1> | |
2049 | |
24 | 2050 </refentry> |
16 | 2051 </reference> |