The user interface first has to connect to an existing mail database. Either the connection parameters are given on the command line, or the program will display this dialog window:
Fields left empty in this window get default values provided by the PostgreSQL client library:
localhost
on MS-Windows.These defaults can themselves be overriden with some PostgreSQL-specific environment variables, such as PGHOST, PGUSER or PGPORT.
Encrypted session is a tri-state checkbox interpreted as:
These states correspond to the respective values for the sslmode
connection
parameter: disable
, require
and
prefer
.
When the connection is successful, the parameters (except the password) are stored locally, and recalled automatically on the next invocation, so that only the password has to be typed again.
Options are specified on the command line with the syntax: --option1=value1 --option2=value2 ...
.
The accepted options are:
--dbcnx
: a list of space-separated name=value
parameters, all grouped in one string (under a shell, the string should be enclosed in simple
or double quotes if it contains spaces).The more common parameters
are user
, password
, host
, port
, and dbname
.
manitou --dbcnx="dbname=mail user=joe host=pgserver"
--config
: a configuration's name. This option is
necessary only to use different configurations on the same database
from the same desktop machine. See
the user interface
configurations for more.
--debug-output
: an integer debug level between 1 and
10, that produces more or less verbose output on the terminal about
what the application is doing. This is useful only for developers or
troubleshooting.