Skip to content

[Bug]: Cant sending mail plain text to 127.0.0.1 after update to 26.0.4 or cant use STARTTLS with TLS v1. The mail system require min TLS v1.2! #39538

@sonic42

Description

@sonic42

⚠️ This issue respects the following points: ⚠️

Bug description

After update to nexcloud server from 25.0.0.x to 26.0.0.4, sending mail is impossible.

The mail system require TLS 1.2 or higher.

Postfix log:

postfix/smtpd[24363]: connect from localhost.localdomain[127.0.0.1]
postfix/smtpd[24363]: SSL_accept error from localhost.localdomain[127.0.0.1]: -1
postfix/smtpd[24363]: warning: TLS library problem: error:0A000418:SSL routines::tlsv1 alert unknown ca:ssl/record/rec_layer_s3.c:1586:SSL alert number 48

Using Plaintext is impossible. Cannot disable STARTTLS in configuration.

Steps to reproduce

  1. Try to send a mail to a mail server with minimum TLS 1.2 required.

Expected behavior

Please repair plaintext option or enable TLS 1.2 or higher by default for mail sending.
"Plain text" is not sending a STARTTLS command.

Installation method

None

Nextcloud Server version

26

Operating system

Other

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

'mail_smtpmode' => 'smtp',
  'mail_domain' => '',
  'mail_from_address' => 'nc',
  'mail_smtphost' => '127.0.0.1',
  'mail_smtpport' => '25',

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap26-feedbackbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions