install_update_dovecot.sh: add support for dovecot versions 2.3.x . Fix minor errors. Add mire default values.
This commit is contained in:
@ -8,8 +8,15 @@
|
||||
# --- Configure Settings for your Server here..
|
||||
# ---
|
||||
|
||||
|
||||
# ---
|
||||
# - Base Configuration
|
||||
# ---
|
||||
|
||||
# - Set update=false if that is a new installation
|
||||
# -
|
||||
# - This parameter must be set here! There is no default value.
|
||||
# -
|
||||
_update=false
|
||||
|
||||
|
||||
@ -17,11 +24,13 @@ _update=false
|
||||
# -
|
||||
# - Defaults to 'true' if systemd is present, otherwise to 'false'
|
||||
# -
|
||||
systemd_support=""
|
||||
#systemd_support=""
|
||||
|
||||
|
||||
# - postmaster_address
|
||||
# -
|
||||
# - This parameter must be set here! There is no default value.
|
||||
# -
|
||||
# - Example:
|
||||
# - postmaster_address="admin\@warenform.net"
|
||||
# -
|
||||
@ -30,6 +39,8 @@ postmaster_address=""
|
||||
|
||||
# - hostname
|
||||
# -
|
||||
# - This parameter must be set here! There is no default value.
|
||||
# -
|
||||
hostname=""
|
||||
|
||||
|
||||
@ -39,8 +50,10 @@ ipv4=""
|
||||
ipv6=""
|
||||
|
||||
|
||||
# ---
|
||||
# - Listener configuration
|
||||
# -
|
||||
# ---
|
||||
|
||||
imap_listener_adresses="127.0.0.1 $ipv4 $ipv6"
|
||||
imaps_listener_adresses="$ipv4 $ipv6"
|
||||
|
||||
@ -51,20 +64,45 @@ xmpp_listener=false
|
||||
xmpp_listener_address="127.0.0.1"
|
||||
xmpp_listener_port="4444"
|
||||
|
||||
|
||||
# ---
|
||||
# - Database settings
|
||||
# ---
|
||||
|
||||
# - database
|
||||
# -
|
||||
# - This parameter must be set here! There is no default value.
|
||||
# -
|
||||
# - Possible values for parameter database are only 'mysql' and 'postgres'
|
||||
# -
|
||||
# -
|
||||
database=postgres
|
||||
#database=mysql
|
||||
database=""
|
||||
|
||||
dbname=postfix
|
||||
dbuser=postfix
|
||||
# - dbname
|
||||
# -
|
||||
# - Defaults to 'postfix'
|
||||
#dbname=postfx
|
||||
|
||||
# - dbuser
|
||||
# -
|
||||
# - Defaults to 'postfix'
|
||||
# -
|
||||
#dbuser=postfix
|
||||
|
||||
# - dbpassword
|
||||
# -
|
||||
# - This parameter must be set here!
|
||||
# -
|
||||
dbpassword=""
|
||||
dbhost=/var/run/postgresql
|
||||
|
||||
# - dbhost
|
||||
# -
|
||||
# - Defaults to:
|
||||
# - '/var/run/postgresql' if database is set to 'postgres'
|
||||
# - '127.0.0.1' if database is set to 'mysql'
|
||||
# -
|
||||
dbhost=""
|
||||
|
||||
# - default_pass_scheme
|
||||
# -
|
||||
# - Password databases have a default password scheme.
|
||||
# -
|
||||
# - The password scheme can be overridden for each password by prefixing
|
||||
@ -72,14 +110,19 @@ dbhost=/var/run/postgresql
|
||||
# -
|
||||
# - See: https://wiki.dovecot.org/Authentication/PasswordSchemes
|
||||
# -
|
||||
default_pass_scheme=PLAIN
|
||||
|
||||
|
||||
# - Cert/Key configurations
|
||||
# - Defaults to 'PLAIN'
|
||||
# -
|
||||
#default_pass_scheme=
|
||||
|
||||
|
||||
# ---
|
||||
# - Cert/Key configurations
|
||||
# ---
|
||||
|
||||
cert_base_dir="/etc/postfix/ssl"
|
||||
server_cert=${cert_base_dir}/mailserver.crt
|
||||
server_key=${cert_base_dir}/mailserver.key
|
||||
dh_pem_file="${cert_base_dir}/dh_4096.pem"
|
||||
|
||||
imap_cert=${cert_base_dir}/mailserver.crt
|
||||
imap_key=${cert_base_dir}/mailserver.key
|
||||
|
Reference in New Issue
Block a user