gromox-mt2exm — Utility for importing various mail items
gromox-mt2exm [...] [-Dcpt] -u [user]@domain.de
gromox-mt2exm reads a Gromox-specific mailbox transfer format data stream from standard input as generated by gromox-pff2mt(8gx) and writes folders and messages included therein to a specific Gromox mail store.
There is no cross-check for already-imported messages at this time. Messages from the input stream will always generate new messages in the target mailbox.
Note that messages are always owned by the store they are in. Especially if importing to a public store, you may need to set some additional permissions on that public store's folders so that a particular user is able to modify messages.
- -B name
- For unanchored messages (such as produced by the --only-obj option of gromox-pff2mt and gromox-kdb2mt), place them in this specific folder. The accepted names are: inbox, draft, calendar, journal, notes, tasks, contacts, junk, sent and trash.Default: draft
Use delivery mode, i.e. treat messages as if they were sent through the mail system rather than being imported. As such, messages are subject to inbox rules, and folders in the MT stream will be ignored altogether, which also implies that -B is ignored.
Continuous operation mode. Errors during the delivery of a message are reported, but mt2exm will continue with importing more messages. The default is to exit after reporting a delivery error. Only useful with -D.
Show properties in detail (enhances -t).
Print folder/message summary as these items are processed.
- -u [user]@domain.de
Target mail store which to import mails to. For the public folder of a domain, leave out the local part, i.e. use @domain.de.
When importing an MT stream that does not request message splicing, mt2exm will raise an error if a to-be-created folder already exists. This behavior can be turned off with -x. This option can be thought of what mkdir's -p option would do.
Skip emitting MAPI notifications (when -D is used). This is for development only.
Skip executing rules (when -D is used).
PFF import to a private mailbox:
gromox-pff2mt sample.pst | gromox-mt2exm -u firstname.lastname@example.org
PFF import to a public folder:
gromox-pff2mt sample.pst | gromox-mt2exm -u @mailbox.de