Skip to content
This repository was archived by the owner on Feb 20, 2019. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix misleading SSL/TLS SMTP email configuration
  • Loading branch information
RealRancor committed Oct 22, 2016
commit 5b26b953b4d0762d91ab2b5a7ab3ca92632c682e
40 changes: 24 additions & 16 deletions admin_manual/configuration_server/email_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Configuring an SMTP Server
You need the following information from your mailserver administrator to
connect ownCloud to a remote SMTP server:

* Encryption type: None, SSL, or TLS
* Encryption type: None, SSL/TLS or STARTTLS

* The From address you want your outgoing ownCloud mails to use

Expand Down Expand Up @@ -184,10 +184,9 @@ used:
If the SMTP server only accepts secure connections you can choose between
the following two variants:

SSL
^^^
A secure connection will be initiated using the outdated SMTPS protocol
which uses the port 465/tcp:
SSL/TLS
^^^^^^^
A secure connection will be initiated using SSL/TLS via SMTPS on the default port 465/tcp:

::

Expand All @@ -196,10 +195,9 @@ which uses the port 465/tcp:
"mail_smtphost" => "smtp.server.dom:465",
"mail_smtpsecure" => 'ssl',

TLS
^^^
A secure connection will be initiated using the STARTTLS protocol which
uses the default port 25/tcp:
STARTTLS
^^^^^^^^
A secure connection will be initiated using STARTTLS via SMTP on the default port 25/tcp:

::

Expand All @@ -208,6 +206,18 @@ uses the default port 25/tcp:
"mail_smtphost" => "smtp.server.dom",
"mail_smtpsecure" => 'tls',

An alternative is the port 587/tcp (recommended):

::

<?php

"mail_smtphost" => "smtp.server.dom:587",
"mail_smtpsecure" => 'tls',

Authentication
^^^^^^^^^^^^^^

And finally it is necessary to configure if the SMTP server requires
authentication, if not, the default values can be taken as is.

Expand Down Expand Up @@ -373,24 +383,22 @@ listening on localhost port 25.
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2245/exim4
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1524/mysqld

* 25/tcp is unencrypted smtp
* 25/tcp is unencrypted smtp

* 110/tcp/udp is unencrypted pop3

* 143/tcp/udp is unencrypted imap4

* 465/tcp is encrypted ssmtp
* 465/tcp is encrypted smtps

* 993/tcp/udp is encrypted imaps

* 995/tcp/udp is encrypted pop3s

**Question**: How can I determine if the SMTP server supports SMTPS?

**Question**: How can I determine if the SMTP server supports the outdated SMTPS
protocol?

**Answer**: A good indication that the SMTP server supports the SMTPS protocol
is that it is listening on port **465**.
**Answer**: A good indication that the SMTP server supports SMTPS is that it
is listening on port **465**.

**Question**: How can I determine what authorization and encryption protocols
the mail server supports?
Expand Down