install_update_dovecot.sh: add setting/default value for variable 'postfix_main_cf'.
This commit is contained in:
parent
d182564d0a
commit
7837919b99
@ -57,6 +57,18 @@ ipv6=""
|
||||
#http_user="www-data"
|
||||
|
||||
|
||||
# ---
|
||||
# - Postffix Settings
|
||||
# ---
|
||||
|
||||
# - Postfix Main Configuration File
|
||||
# -
|
||||
# - defaults to:
|
||||
# - /etc/postfix/main.cf
|
||||
# -
|
||||
#postfix_main_cf="/etc/postfix/main.cf"
|
||||
|
||||
|
||||
# ---
|
||||
# - Listener configuration
|
||||
# ---
|
||||
|
@ -140,6 +140,8 @@ fi
|
||||
[[ -n "$ipv4" ]] || fatal "Missing value for parameter 'ipv4'."
|
||||
[[ -n "$ipv6" ]] || warn "Missing value for parameter 'ipv6'."
|
||||
|
||||
[[ -n "$postfix_main_cf" ]] || postfix_main_cf="/etc/postfix/main.cf"
|
||||
|
||||
[[ -n "$database" ]] || fatal "Parameter "database" not set."
|
||||
|
||||
if [[ "$database" != "postgres" ]] && [[ "$database" != "mysql" ]] ; then
|
||||
@ -178,6 +180,7 @@ if $xmpp_listener ; then
|
||||
fi
|
||||
|
||||
[[ -n "$http_user" ]] || http_user="www-data"
|
||||
[[ -n "$postfix_main_cf" ]] || postfix_main_cf="/etc/postfix/main.cf"
|
||||
|
||||
[[ -n "$dbname" ]] || dbname="postfix"
|
||||
[[ -n "$dbuser" ]] || dbuser="postfix"
|
||||
|
Loading…
Reference in New Issue
Block a user