Project

General

Profile

Actions

Bug #91070

closed

SMTP transport 'tls' no longer work supported

Added by Benjamin Franzke over 4 years ago. Updated over 4 years 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 2 (0 open2 closed)

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
Actions #1

Updated by Benjamin Franzke over 4 years ago

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

Updated by Benni Mack over 4 years ago

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

Actions #3

Updated by Gerrit Code Review over 4 years 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

Actions #4

Updated by Gerrit Code Review over 4 years 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

Actions #5

Updated by Gerrit Code Review over 4 years 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

Actions #6

Updated by Benni Mack over 4 years ago

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

Updated by Gerrit Code Review over 4 years 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

Actions #8

Updated by Gerrit Code Review over 4 years 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

Actions #9

Updated by Gerrit Code Review over 4 years 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

Actions #10

Updated by Benjamin Franzke over 4 years ago

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

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions #12

Updated by Torben Hansen over 4 years ago

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

Also available in: Atom PDF