.ost
   HOME

TheInfoList



OR:

In
computing Computing is any goal-oriented activity requiring, benefiting from, or creating computing machinery. It includes the study and experimentation of algorithmic processes, and development of both hardware and software. Computing has scientific, e ...
, a Personal Storage Table (.pst) is an open proprietary file format used to store copies of messages, calendar events, and other items within
Microsoft Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washing ...
software such as
Microsoft Exchange Client Microsoft Exchange Server is a mail server and calendaring server developed by Microsoft. It runs exclusively on Windows Server operating systems. The first version was called Exchange Server 4.0, to position it as the successor to the related ...
,
Windows Messaging Windows Messaging, initially called ''Microsoft Exchange Client'', is an email client that was included with Windows 95 (beginning with OSR2)- 98 and Windows NT 4.0. In Windows 98, it was not installed by default, but was available as a separate ...
, and
Microsoft Outlook Microsoft Outlook is a personal information manager software system from Microsoft, available as a part of the Microsoft Office and Microsoft 365 software suites. Though primarily an email client, Outlook also includes such functions as Calen ...
. The open format is controlled by Microsoft who provide free specifications and free irrevocable technology licensing. The file format may also be known as a Personal Folders (File) or Post Office File. When functioning in its capacity as a cache for Outlook's Cached Exchange Mode feature, it may be called an Off-line Storage Table (.ost) or an Off-line Folders (File).


Overview

In
Microsoft Exchange Server Microsoft Exchange Server is a mail server and calendaring server developed by Microsoft. It runs exclusively on Windows Server operating systems. The first version was called Exchange Server 4.0, to position it as the successor to the related ...
, the messages, the calendar, and other data items are delivered to and stored on the
server Server may refer to: Computing *Server (computing), a computer program or a device that provides functionality for other programs or devices, called clients Role * Waiting staff, those who work at a restaurant or a bar attending customers and su ...
.
Microsoft Outlook Microsoft Outlook is a personal information manager software system from Microsoft, available as a part of the Microsoft Office and Microsoft 365 software suites. Though primarily an email client, Outlook also includes such functions as Calen ...
stores these items in a personal-storage-table (.pst) or off-line-storage-table (.ost) files that are located on the local computer. Most commonly, the .pst files are used to store archived items and the .ost files to maintain off-line availability of the items. This is an essential feature of Microsoft Outlook. The size of these files no longer counts against the size of the mailbox used; by moving files from a server mailbox to .pst files, users can free storage space on their mailservers. To use the .pst files from another location the user needs to be able to access the files directly over a network from their mail client. While it is possible to open and use a .pst file from over a network, this is unsupported, and Microsoft advises against it, as .pst files are prone to corruption when used in this manner. Both the .pst and .ost files use a fixed-block-based allocation scheme; the file is enlarged by a fixed amount of bytes, and the file internally maintains information about the allocated and non-allocated blocks. So, when data files like email messages are added to a .pst file, its file size is automatically adjusted by the mail client (if necessary). When mail is deleted from a .pst file, the size of the .pst file will stay the same, marking the space as unallocated so that it will hold future data items. Recently removed data items can actually be recovered from .pst and .ost files. To reduce the size of .pst files, the user needs to compact them.


Data access

Password A password, sometimes called a passcode (for example in Apple devices), is secret data, typically a string of characters, usually used to confirm a user's identity. Traditionally, passwords were expected to be memorized, but the large number of ...
protection can be used to protect the content of the .pst files. However, Microsoft admits that the password adds very little protection, due to the existence of commonly available tools which can remove or simply bypass the password protection. The password to access the table is stored without the first and last XOR
CRC-32 A cyclic redundancy check (CRC) is an error-detecting code commonly used in digital networks and storage devices to detect accidental changes to digital data. Blocks of data entering these systems get a short ''check value'' attached, based on t ...
integer representation of itself in the .pst file. Outlook checks to make sure that it matches the user-specified password and refuses to operate if there is no match. The data is readable by the libpst project code. Microsoft (MS) offers three values for the encryption setting: ''none'', ''compressible'', and ''high''. *''None'' the .pst data is stored as plain text. *''Compressible'' the .pst data is encrypted with a byte-substitution
cipher In cryptography, a cipher (or cypher) is an algorithm for performing encryption or decryption—a series of well-defined steps that can be followed as a procedure. An alternative, less common term is ''encipherment''. To encipher or encode i ...
with a fixed substitution table. *''High'' (sometimes called "better") encryption is similar to a WWII German Enigma cipher with three fixed rotors. Note that neither of the two encryption modes uses the user-specified password as any part of the key for the encryption.


Support

The .pst file format is supported by several Microsoft client applications, including
Microsoft Exchange Client Microsoft Exchange Server is a mail server and calendaring server developed by Microsoft. It runs exclusively on Windows Server operating systems. The first version was called Exchange Server 4.0, to position it as the successor to the related ...
,
Windows Messaging Windows Messaging, initially called ''Microsoft Exchange Client'', is an email client that was included with Windows 95 (beginning with OSR2)- 98 and Windows NT 4.0. In Windows 98, it was not installed by default, but was available as a separate ...
, and
Microsoft Outlook Microsoft Outlook is a personal information manager software system from Microsoft, available as a part of the Microsoft Office and Microsoft 365 software suites. Though primarily an email client, Outlook also includes such functions as Calen ...
; in the previous two, it was often used with a Personal Address Book (.pab) file, which stores address book. The .pst file format is an open format for which Microsoft provide
free specifications
and irrevocable free patent licensing through the
Open Specification Promise The Microsoft Open Specification Promise (or OSP) is a promise by Microsoft, published in September 2006, to not assert its patents, in certain conditions, against implementations of a certain list of specifications. The OSP is not a licence, but r ...
Th
libpst project
includes tools to convert .pst files into open formats such as
mbox Mbox is a generic term for a family of related file formats used for holding collections of email messages. It was first implemented in Research Unix, Fifth Edition Unix. All messages in an mbox mailbox are concatenated and stored as plain text ...
and
LDAP Data Interchange Format The LDAP Data Interchange Format (LDIF) is a standard plain text data interchange format for representing Lightweight Directory Access Protocol (LDAP) directory content and update requests. LDIF conveys directory content as a set of records, on ...
. libpst is licensed under the
GPL The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end users the four freedoms to run, study, share, and modify the software. The license was the first copyleft for general us ...
and is now included in Fedora 10.
MVCOM
is a commercially licensed COM Component that provides access to .pst files without MAPI. There are tools to convert .pst to other formats or to upload to other online e-mails like Gmail, for example.
/ref>


Formats and size

The file is structured as a
B-tree In computer science, a B-tree is a self-balancing tree data structure that maintains sorted data and allows searches, sequential access, insertions, and deletions in logarithmic time. The B-tree generalizes the binary search tree, allowing for n ...
with 512 byte nodes and leaves. All PST files begin with the four-byte
magic string In computer programming, a magic string is an input that a programmer believes will never come externally and which activates otherwise hidden functionality. A user of this program would likely provide input that gives an expected response in mo ...
"!BDN", a four-byte CRC number, and a two-byte magic string of "SM". Outlook 2002 and earlier use
ANSI The American National Standards Institute (ANSI ) is a private non-profit organization that oversees the development of voluntary consensus standards for products, services, processes, systems, and personnel in the United States. The organi ...
(extended ASCII with a codepage) encoding for their .pst and .ost files. This format has a maximum size of 2 GiB (231 bytes) and does not support
unicode Unicode, formally The Unicode Standard,The formal version reference is is an information technology Technical standard, standard for the consistent character encoding, encoding, representation, and handling of Character (computing), text expre ...
. A file exceeding this size is likely to give error messages, such as ".pst has reached maximum size limit," and could become corrupted. Although superseded, this format is supported all Outlook versions, by Internet Message Access Protocol Version 4rev1 (IMAP4) accounts and by HTTP accounts. From Outlook 2003 and onward, the new standard format for .pst and .ost files is
Unicode Unicode, formally The Unicode Standard,The formal version reference is is an information technology Technical standard, standard for the consistent character encoding, encoding, representation, and handling of Character (computing), text expre ...
(
UTF-16 UTF-16 (16-bit computing, 16-bit Unicode Transformation Format) is a character encoding capable of encoding all 1,112,064 valid code points of Unicode (in fact this number of code points is dictated by the design of UTF-16). The encoding is variab ...
little-endian), with 64-bit pointers instead of 32-bit to allow larger than 2 GiB sizes. The limit became 20 GB for Outlook 2003-2007, and increased to 50 GB from Outlook 2010. A file that is created in the personal-folders format in Outlook 2003 or later is not compatible and cannot be opened by earlier versions. As with any file, .pst files can become corrupted. Growth over the limit has been a consistent problem; ANSI .pst that grew beyond 2 GiB and Unicode .pst that grew beyond 20 or 50 GB would become unusable. The scanpst.exe tool has been included with all versions of Outlook to detect and repair .pst database corruption, and Microsoft at one point offered a special-purpose PST2GB that would simply truncate the file to 2 GiB to allow Outlook to repair it.


Entourage and Outlook for Mac

Microsoft Entourage Microsoft Entourage is a discontinued e-mail client and personal information manager that was developed by Microsoft for Mac OS 8.5 and later. Microsoft first released Entourage in October 2000 as part of the Microsoft Office 2001 office suite; ...
was Microsoft's email and personal information program for
Mac OS X macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac (computer), Mac computers. Within the market of ...
(replaced by Outlook for Macintosh in
Microsoft Office for Mac 2011 Microsoft Office for Mac 2011 is a version of the Microsoft Office productivity suite for macOS. It is the successor to Microsoft Office 2008 for Mac and is comparable to Office 2010 for Windows. Office 2011 was followed by Microsoft Office 2016 ...
). While superficially similar to Outlook, it was an entirely different application, and used a unique database format which cannot be imported or exported, though user data can be imported and exported to and from another unique format called .rge (a bundle consisting of many individual files plus
metadata Metadata is "data that provides information about other data", but not the content of the data, such as the text of a message or the image itself. There are many distinct types of metadata, including: * Descriptive metadata – the descriptive ...
). Entourage 2008, the current version as of May 2010, has no support for .pst files, though there exists Microsoft's .pst import tool for Entourage 2004; however, the tool could only import .pst files from Outlook for Mac 2001, and not any Windows versions. Entourage's replacement, Outlook for Office 2011 for Intel Macs, was able to import Outlook .pst files from Windows; however, data will be stored as many individual files, rather than in a single database such as .pst or the Entourage database. Outlook for Mac 2001, which runs under Mac OS 9 or the Mac OS X
Classic Environment This is a list of macOS built-in apps and system components. Applications App Store The Mac App Store is macOS's digital distribution platform for macOS apps, created and maintained by Apple Inc. based on the iOS version, the platform was an ...
, connects exclusively to Exchange servers, and to this day is closer to its Windows counterpart than Entourage is. It works directly with 'Outlook 97-2002' .pst files, and can freely interchange those files with Outlook for Windows, as recent versions are still compatible with the older .pst format. The limit for Outlook 2011 is 10GB.


References

{{reflist


External links

* Microsoft has released some of th
format specification
an
reference implementation
Email storage formats Windows architecture Microsoft Office Freeware