summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2018-01-17 21:40:57 +0300
committerJustin Luth <justin_luth@sil.org>2018-01-27 12:17:52 +0100
commit769af98f887a742261886f960212d9d3f581e973 (patch)
treed26a51ba79ad7f114abc75677fc1fde882506f6d
parent8c993d963714b861cb39c8249cb6e782bb144739 (diff)
mailconfig: default to secure port 587
A very readable explanation of ports 25 / 465 / 587 was http://blog.mailgun.com/25-465-587-what-port-should-i-use/ In short, 465 was a very temporary and never official port to use for encrypted sending. Port 587 is the official port for encrypted (or even non-encrypted) mail submissions. For a very long time now, every public mail server (and likely even private internal servers) supports STARTTLS, so default to using secure connections. Change-Id: Ic8a6886221fa2e7b733b2535a84a584fe64d3165 Reviewed-on: https://gerrit.libreoffice.org/48075 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> Tested-by: Heiko Tietze <tietze.heiko@gmail.com> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Reviewed-by: Justin Luth <justin_luth@sil.org>
-rw-r--r--sw/source/uibase/dbui/mmconfigitem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/dbui/mmconfigitem.cxx b/sw/source/uibase/dbui/mmconfigitem.cxx
index 957d65474724..92fbccf8381d 100644
--- a/sw/source/uibase/dbui/mmconfigitem.cxx
+++ b/sw/source/uibase/dbui/mmconfigitem.cxx
@@ -59,7 +59,7 @@ const char cDataSourceName[] = "DataSource/DataSourceName";
const char cDataTableName[] = "DataSource/DataTableName" ;
const char cDataCommandType[] = "DataSource/DataCommandType";
-#define SECURE_PORT 465
+#define SECURE_PORT 587
#define DEFAULT_PORT 25
#define POP_PORT 110
@@ -196,7 +196,7 @@ SwMailMergeConfigItem_Impl::SwMailMergeConfigItem_Impl() :
m_nMailPort(0),
m_bIsMailReplyTo(false),
m_bIsDefaultPort(false),
- m_bIsSecureConnection(false),
+ m_bIsSecureConnection(true),
m_bIsAuthentication(false),
m_bIsEMailSupported(false),