manitou-mdx imports new mail into the database and exports outgoing messages to the mail system. It is also responsible for applying filters, updating the full text index, and running custom pre-processing, post-processing and maintenance functions.
Except when the --mboxfile option is used, the manitou-mdx process runs continuously, polling the database for outgoing messages to send, and checking the incoming directories for messages to import.
To launch manitou-mdx as a daemon process, use:
manitou-mdx
[--conf=/path/to/config_file
] [--pidfile=/path/to/pid_file
] [--fork]
To import a mailbox into the database, use:
manitou-mdx
[--conf=/path/to/config_file
] [--mboxfile=/path/to/mboxfile
[--skip=# of msgs
]
] [--status=import_status
] [--tag=tagname
]
Options are:
--conf=/path/to/config_file
Indicates the path of the configuration file. The default value is /etc/manitou-mdx.conf
--mboxfile=/path/to/mboxfile
Import a set of messages from a file in mbox format. When this options is used, manitou-mdx quits after the import is finished, instead of acting as a daemon.
--skip=# of messages
If used, this option gives the number of messages to skip from the mbox file to import. This is useful to retry an import that would have previously failed part way.
--status=status value
An integer value that will be used as the status of each imported mail. The typical use case is to mark the messages as already read (--status=1). By default, the status is 0, meaning that the messages are considered as new. See mail for the possible values of the mail.status column. Filters can still modify the status value.