diff --git a/build/run/installer.sh b/build/run/installer.sh index 7499872..c5b4f49 100755 --- a/build/run/installer.sh +++ b/build/run/installer.sh @@ -169,7 +169,7 @@ rm -r /etc/dovecot/ /etc/ssl/dovecot/ mkdir -p /etc/dovecot/ /etc/ssl/dovecot/ # dovecot.conf -install -m 0600 /dev/stdin /etc/dovecot/dovecot.conf <<- dovecot.conf +cat >/etc/dovecot/dovecot.conf <<- dovecot.conf dovecot_config_version = 2.4.1 dovecot_storage_version = 2.4.1 @@ -267,19 +267,17 @@ namespace inbox { protocols = imap lmtp +!include_try ssl-keys.conf +dovecot.conf + +# 10-ssl.conf +install -m 0600 /dev/stdin /etc/dovecot/ssl-keys.conf <<- ssl-keys.conf ssl_server { dh_file = /etc/ssl/dovecot/dh.pem cert_file = /etc/ssl/dovecot/tls.pem key_file = /etc/ssl/dovecot/tls.key } -dovecot.conf - -# # 10-ssl.conf -# install -m 0600 /dev/stdin /etc/dovecot/ssl-keys.conf <<- 'ssl-keys.conf' -# ssl_dh =