gromox-export(8)
πΈ Name πΈ
okay bestie, meet gromox-export β the Utility to export Gromox messages to various formats. This page is gromox-export(8) from the Gromox admin reference, and we're gonna get through every flag together. π
β¨ Synopsis β¨
gromox-exm2eml -u user@domain.example [folder_id:]message_id
gromox-exm2ical -u user@domain.example [folder_id:]message_id
gromox-exm2vcf -u user@domain.example [folder_id:]message_id
gromox-exm2mt -u user@domain.example [-ars]
{folder_spec|ffolder_id|[folder_id:]message_id}... >file.mt
gromox-exm2tnef -u user@domain.example [folder_id:]message_id >file.tnef
π Description π
So gromox-export reads folders or messages from an exmdb information store and exports it in various formats, depending on which name it was invoked with. (exm is short for exmdb and refers to the network protocol used to talk to the message store.) Iconic.
Multiple messages may only be exported to GXMT. ACLs are not extracted yet. Export to PST is not possible: the external library libpff has only implemented reading. No cap, bestie. π
Folders can be selected by symbolic name or by folder path (see gromox-mbop(8) section Folder specification for that). To select a folder by numeric ID, use the f prefix, e.g. f13 or f0xd. To select a message by numeric ID, use the ID 262145 or 0x10001. The syntax 13:262145 reads a message using the Instance API (i.e. using a copy-on-write object) and validates that the message is indeed in that folder; this mode is only relevant for developers really. π§βπ»
An alternate way to get an EML representation is using grommunio-web's Export as > EML file(s) function from the context menu of a mail item. π
π Options π
okay, flag-by-flag, no skipping:
--icalβ selects iCalendar (RFC 5545) as the output format. This is the default if the program was invoked asgromox-exm2ical. ποΈ--mailβ selects Internet Mail (RFC 5322) as the output format. This is the default if the program was invoked asgromox-exm2eml. βοΈ--mtβ selects Gromox Mailbox Transfer (GXMT) as the output format. This is the default if the program was invoked asgromox-exportorgromox-exm2mt. π¦--tnefβ selects Transport Neutral Encapsulation Format (TNEF) as the output format. This is the default if the program was invoked asgromox-exm2tnef. π--vcardβ selects vCard (RFC 6350) as the output format. This is the default if the program was invoked asgromox-exm2vcf. πͺͺ-aβ include Folder Associated Information (FAI), a.k.a.MAPI_ASSOCIATEDmessages in the export as well. (PST export from Outlook would omit them; hence this is also a separate option forgromox-export.) π«Ά-pβ show properties in detail (enhances-t). π-rβ process folders recursively. (Only in conjunction with GXMT export.) π³-sβ mark objects for splicing when later imported. For example, objects exported from, and originally located in Sent Items are, upon import, placed in the target mailbox's Sent Items. π§΅-tβ as the source message is read, print a diagnostic tree view of the MAPI properties tostderr. π²-u [user]@domin.exampleβ source mail store from which to load the message from. For the public folder of a domain, leave out the local part, i.e. use@domain.example. π₯--loglevel nβ maximum verbosity of general logging (not connected to-p,-tor-v).1=crit,2=error,3=warn,4=notice,5=info,6=debug. Default:4(notice). π
π§ Examples π§
little recipes, exact command energy:
- Export entire mailbox:
gromox-exm2mt -u user@example.com -ar / >dump.mt
- Export most of the mailbox (as Outlook would):
gromox-exm2mt -u u@e.xz -r IPM_SUBTREE >dump.mt
- Export two folders without subordinates:
gromox-exm2mt -u u@e.xz IPM_SUBTREE/Foo IPM_SUBTREE/Bar >dump.mt
- Export a single message as RFC5322:
gromox-exm2eml -u u@e.xz 0x10001 >10001.eml
- Export a MAPI contact as vcard:
gromox-exm2vcf -u u@e.xz 0x30001 >30001.vcf
π¦ See also π¦
go read these too, bestie β that's the lore. π
xoxo from the Gromox crew π β source/version Gromox, page gromox-export(8), and the footer didn't show a date, so no invented date here. Periodt. π
π¦ where this page comes from
- alpine 3.24: grommunio-gromox-doc 3.6-r0 Β· AGPL-3.0-or-later
- π the page's license: CC-BY-SA-4.0 or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms