1. Creating a new database
Create a new, empty PostgreSQL database to hold the mail data, and a dedicated database user that owns it. Both are named manitou
by default.
manitou-mgr
--create-database
[--conf=/path/to/configfile
] [--quiet]
[--db-name=val
] [--db-user=val
] [--db-host=val
] [--db-port=val
]
[--db-super-user=val
] [--db-super-password=val
]
Options:
- --conf
- Path to manitou-mdx configuration file (default:
/etc/manitou-mdx.conf
) - --db-name
- Name of the new database to create (default:
manitou
). - --db-user
- Database user that will own the newly created database (default:
manitou
). - --db-host
- Database host name to connect to. By default, connect to a local database (by Unix socket).
- --db-port
- Database port number to connect to (default: 5432).
- --db-super-user
- Database superuser to connect to in order to create a new database (default: postgres)
- --db-super-password
- Password for the database superuser (default: no password).
- --quiet
- No output unless an error occurs. The default is to output information messages in addition to error messages.