skip to Main Content

These are my settings:
sendmail.ini

smtp_server = 10.1.xxx.xxx
smtp_port=25
smtp_ssl=none

php.ini

[mail function]
SMTP = 10.1.xxx.xxx
smtp_port = 25
sendmail_path = "C:Webserversendmailsendmail.exe -t"

Typo3

'MAIL' => [
    'defaultMailFromAddress' => '[email protected]',
    'defaultMailFromName' => 'Domain',
    'transport' => 'smtp',
    'transport_sendmail_command' => '',
    'transport_smtp_encrypt' => false,
    'transport_smtp_password' => '',
    'transport_smtp_server' => '10.1.xxx.xxx:25',
    'transport_smtp_username' => '',
],

SSL certificate is provided by a netscaler configuration

Typo3 Test Mail Setup
Could not deliver mail
Please verify $GLOBALS[‘TYPO3_CONF_VARS’][‘MAIL’][*] settings are valid.
Error message: Unable to connect with STARTTLS: stream_socket_enable_crypto():
Peer certificate CN=*.domain.de' did not match expected CN=10.1.xxx.xxx’

2

Answers


  1. Ehm, with transport_smtp_encrypt=false the connection will be tried via STARTTLS. For using an SSL-Connection, transport_smtp_encrypt has to be true.

    Important: #91070 – SMTP transport option ‘transport_smtp_encrypt’ changed to boolean

    Login or Signup to reply.
  2. so there is no chance to deactivate encryption as false uses Starttls and true ssl – thanks for the information

    @alexinge I think STARTTLS is only used if the server that you try to connect to is able to handle it. As the changelog of version 4.4 of symfony/mailer says (highlight by me):

    • STARTTLS cannot be enabled anymore (it is used automatically if TLS is disabled and the server supports STARTTLS)

    So you might try to change the configuration of the mail server (if you have access to that) or maybe use another port (587 with 'transport_smtp_encrypt' => false or 465 with 'transport_smtp_encrypt' => true).

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search