gromox-pff2mt reads a file that conforms to the Personal Folder File (PFF) and the Offline Folder File (OFF) format and re-exports the data in a Gromox-specific mailbox transfer format to stdout for consumption by pipe by the gromox-import(8) program. Optionally, pff2mt can print a tree summary of the PFF. The PFF format is used in several file types:
PAB (Personal Address Book)
PST (Personal Storage Table)
OST (Offline Storage Table)
By default, pff2mt transfers the mail hierarchy and contents such that the PFF root folder is mapped to a new unanchored folder "Import of <xyz.pst> on <date>". Refer to gromox-import(8) for details on how/where unanchored objects are ultimately placed with the target mailbox.
Note that folders of non-default mailboxes are stored in a flat fashion in OST. A secretary.ost file with hierarchy like "(Boss)\Inbox\2021\Invoices", "(Boss)\Inbox\2022\Invoices" is flattened to "(Boss)\Inbox", "(Boss)\2021", "(Boss)\Invoices", "Boss\2022" and "(Boss)\Invoices". The presence of two folders with the same name at the same level means gromox-import errors out when it tries to create a folder whose name already exists. This limits the usefulness of importing OST files.
-s
Splice objects from the PFF into existing folders. Specifically, the PFF root is mapped to the store root, and special folders (Sent Items, Deleted Items, etc.) are mapped to special folders in the store if the PFF has the necessary information. PST files have no such mapping hint for Inbox; only OST do. Note that combining -s and --with-hidden might pollute e.g. the "QuickStep settings" folder with conflicting settings.
-t
Show a diagnostic tree view of the source data as it is being read.
--loglevel n Maximum verbosity of general logging (not connected
to -p, -t or -v). 1=crit, 2=error, 3=warn, 4=notice, 5=info, 6=debug. Default:4 (notice)
--with-hidden, --without-hidden
This option controls the import of folders that have PR_ATTR_HIDDEN=1. Default:skip hidden folders
--only-obj nid
Extract just the object with the given PFF node id. This option may be specified multiple times. The objects will be unanchored.