Bug #91070

SMTP transport 'tls' no longer work supported

Added by Benjamin Franzke 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2020-04-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

With transport_smtp_encrypt = tls set for STARTTLS SMTP connections,
TYPO3 v10 will cast transport_smtp_encrypt to bool.
That boolean is passed to symfony mailer which interprets TLS = true as SSL (ssl://) connection.

That results in the following error when sending a mail:

Could not deliver mail
Please verify $GLOBALS['TYPO3_CONF_VARS']['MAIL'][*] settings are valid. Error message: Connection could not be established with host "ssl://mail.your-server.de:587": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.

To use TLS (STARTTLS) TLS = false would need to be passed to Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport.

Should TYPO3 provide a smooth migration to set transport_smtp_encrypt=tls to TLS=false?


Related issues

Related to TYPO3 Core - Bug #90295: Sending mails by SMTP throws and exceptionClosedSimon Gilli2020-02-02

Actions
Related to TYPO3 Core - Bug #91391: SMTP encrypt setting migration not always correctClosedBenjamin Franzke2020-05-14

Actions
#1

Updated by Benjamin Franzke 8 months ago

  • Related to Bug #90295: Sending mails by SMTP throws and exception added
#2

Updated by Benni Mack 8 months ago

I agree, we should do a "SilentUpgrade" for this

#3

Updated by Gerrit Code Review 7 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64246

#4

Updated by Gerrit Code Review 7 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64246

#5

Updated by Gerrit Code Review 7 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64246

#6

Updated by Benni Mack 7 months ago

  • Target version changed from 10 LTS to next-patchlevel
#7

Updated by Gerrit Code Review 7 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64246

#8

Updated by Gerrit Code Review 7 months ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64246

#9

Updated by Gerrit Code Review 7 months ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64246

#10

Updated by Benjamin Franzke 7 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#11

Updated by Benni Mack 7 months ago

  • Status changed from Resolved to Closed
#12

Updated by Torben Hansen 7 months ago

  • Related to Bug #91391: SMTP encrypt setting migration not always correct added

Also available in: Atom PDF