summaryrefslogtreecommitdiffstats
path: root/content/etc
diff options
context:
space:
mode:
authorJames Z.M. Gao <gaozhm@mvad.com>2016-05-04 05:14:13 +0800
committerJames Z.M. Gao <gaozhm@mvad.com>2016-05-04 05:14:13 +0800
commit0d532221d14c9e8f0e4315b10a18f3d0dbf94e4e (patch)
treebf007255f19c5b03efaa4082e74473d3ceb4527b /content/etc
parentb328c9674f4b8fd43dc4fb9360b2624edacd3b83 (diff)
downloaddavmail-0d532221d14c9e8f0e4315b10a18f3d0dbf94e4e.tar.gz
davmail-0d532221d14c9e8f0e4315b10a18f3d0dbf94e4e.tar.bz2
davmail-0d532221d14c9e8f0e4315b10a18f3d0dbf94e4e.tar.xz
davmail-0d532221d14c9e8f0e4315b10a18f3d0dbf94e4e.zip
add support for secure ports
Diffstat (limited to 'content/etc')
-rw-r--r--content/etc/davmail/davmail.properties.template8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/etc/davmail/davmail.properties.template b/content/etc/davmail/davmail.properties.template
index 74b9584..c37be5b 100644
--- a/content/etc/davmail/davmail.properties.template
+++ b/content/etc/davmail/davmail.properties.template
@@ -39,10 +39,10 @@ davmail.bindAddress=
davmail.clientSoTimeout=
# DavMail listeners SSL configuration
-davmail.ssl.keystoreType=
-davmail.ssl.keystoreFile=
-davmail.ssl.keystorePass=
-davmail.ssl.keyPass=
+davmail.ssl.keystoreType=${DAVMAIL_SSL_PASS:+PKCS12}
+davmail.ssl.keystoreFile=${DAVMAIL_SSL_PASS:+/etc/davmail/davmail.p12}
+davmail.ssl.keystorePass=${DAVMAIL_SSL_PASS}
+davmail.ssl.keyPass=${DAVMAIL_SSL_PASS}
# Accept specified certificate even if invalid according to trust store
davmail.server.certificate.hash=${DAVMAIL_SERVER_CERTIFICATE_HASH}