Add support for MySQL Database backend.

This commit is contained in:
2017-11-02 14:19:04 +01:00
parent d65dc0eb6e
commit c8de12dd2a
2 changed files with 153 additions and 44 deletions

View File

@ -15,6 +15,16 @@
# -
#in_file="${conf_dir}/mailboxes_new.lst"
# - db_type
# -
# - Type of Postfix Database
# -
# - Possible values are 'pgsql' (PostgeSQL) or 'mysql' (MySQL)
# -
# - Defaults to: db_type="pgsql"
# -
#db_type="pgsql"
# - db_name
# -
# - Database name for the postfix database
@ -23,13 +33,26 @@
# -
#db_name="postfix"
# - db_user
# - db_name
# -
# - Database user with access to the postfix database ($db_name)
# - Database name for the postfix database
# -
# - Defaults to: db_name="postfix"
# -
# - Defaults to: db_user="postfix"
#db_name="postfix"
# - mysql_credential_args (root access to MySQL Database)
# -
#db_user="postfix"
# - Example
# - mysql_credential_args="--login-path=local"
# - mysql_credential_args="--defaults-file=/etc/mysql/debian.cnf" (Debian default)
# - mysql_credential_args="--defaults-file=/usr/local/mysql/sys-maint.cnf"
# -
# - Defaults to:
# - '/etc/mysql/debian.cnf' if MySQL is installed from debian package system
# - '/usr/local/mysql/sys-maint.cnf' otherwise
# -
#mysql_credential_args=""
# - quota
# -