summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-25 08:57:44 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-25 08:57:44 +0200
commit90c1fdab7fcc2830c8f8089dad86a5ac856481e2 (patch)
treefc10200a65e9e684f08aee75769c7a79c6fb4e29
parent1a1d7a9e0271b11d8eecf6aca6a6a32a5a30d8d9 (diff)
downloaddavmail-90c1fdab7fcc2830c8f8089dad86a5ac856481e2.tar.gz
davmail-90c1fdab7fcc2830c8f8089dad86a5ac856481e2.tar.bz2
davmail-90c1fdab7fcc2830c8f8089dad86a5ac856481e2.tar.xz
davmail-90c1fdab7fcc2830c8f8089dad86a5ac856481e2.zip
Disable SSL (for some reason does not work)
-rw-r--r--content/etc/davmail/davmail.properties.template46
-rwxr-xr-xcontent/opt/davmail/davmail2
2 files changed, 27 insertions, 21 deletions
diff --git a/content/etc/davmail/davmail.properties.template b/content/etc/davmail/davmail.properties.template
index 1b8ad39..fa0d3af 100644
--- a/content/etc/davmail/davmail.properties.template
+++ b/content/etc/davmail/davmail.properties.template
@@ -10,12 +10,18 @@ davmail.enableEws=auto
# base Exchange OWA or EWS url
davmail.url=${DAVMAIL_URL}
-# Listener ports
+# Listener ports (SSL is not working for some reason)
+#davmail.caldavPort=1080
+#davmail.imapPort=1993
+#davmail.ldapPort=1636
+#davmail.popPort=1995
+#davmail.smtpPort=1587
+davmail.ldapPort=1389
davmail.caldavPort=1080
-davmail.imapPort=1993
-davmail.ldapPort=1636
-davmail.popPort=1995
-davmail.smtpPort=1587
+davmail.smtpPort=1025
+davmail.popPort=1110
+davmail.imapPort=1143
+
#############################################################
# Network settings
@@ -39,20 +45,20 @@ davmail.bindAddress=
davmail.clientSoTimeout=
# DavMail listeners SSL configuration
-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}
+#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}
+#davmail.server.certificate.hash=${DAVMAIL_SERVER_CERTIFICATE_HASH}
# disable SSL for specified listeners
-davmail.ssl.nosecurecaldav=false
-davmail.ssl.nosecureimap=false
-davmail.ssl.nosecureldap=false
-davmail.ssl.nosecurepop=false
-davmail.ssl.nosecuresmtp=false
+#davmail.ssl.nosecurecaldav=false
+#davmail.ssl.nosecureimap=false
+#davmail.ssl.nosecureldap=false
+#davmail.ssl.nosecurepop=false
+#davmail.ssl.nosecuresmtp=false
# disable update check
davmail.disableUpdateCheck=true
@@ -117,13 +123,13 @@ log4j.rootLogger=WARN
# Workstation only settings
# smartcard access settings
-davmail.ssl.pkcs11Config=
-davmail.ssl.pkcs11Library=
+#davmail.ssl.pkcs11Config=
+#davmail.ssl.pkcs11Library=
# SSL settings for mutual authentication
-davmail.ssl.clientKeystoreType=
-davmail.ssl.clientKeystoreFile=
-davmail.ssl.clientKeystorePass=
+#davmail.ssl.clientKeystoreType=
+#davmail.ssl.clientKeystoreFile=
+#davmail.ssl.clientKeystorePass=
# disable all balloon notifications
davmail.disableGuiNotifications=false
diff --git a/content/opt/davmail/davmail b/content/opt/davmail/davmail
index 051bbdd..ab83787 100755
--- a/content/opt/davmail/davmail
+++ b/content/opt/davmail/davmail
@@ -6,7 +6,7 @@
#
BASE=`dirname $0`
# force GTK2 to avoid crash with OpenJDK 11
-JAVA_OPTS="-Dsun.net.inetaddr.ttl=60 -Djdk.gtk.version=2.2"
+JAVA_OPTS=""
#JAVA_OPTS="-Xmx512M -Dsun.net.inetaddr.ttl=60 -Djdk.gtk.version=2.2"
JAVA=java
# uncomment this to force JDK 8