gromox-mt2exm

Name

gromox-mt2exm — Utility for importing various mail items

Synopsis

gromox-mt2exm [...] [-dpt] -u [user]@domain.de

Description

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.

Options

-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
-D

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 will be ignored altogether.

-p

Show properties in detail (enhances -t).

-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.

-x

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.

Examples

PFF import to a private mailbox:

gromox-pff2mt sample.pst | gromox-mt2exm -u target@mailbox.de

PFF import to a public folder:

gromox-pff2mt sample.pst | gromox-mt2exm -u @mailbox.de

See also

gromox(7), gromox-pff2mt(8gx)