Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending mail using SMTPs fails because of allegedly missing auth scheme - despite them being present #18037

Open
yogo1212 opened this issue Dec 17, 2024 · 0 comments

Comments

@yogo1212
Copy link

Description

Twisted reports: twisted.mail._except.AUTHRequiredError: 502 Server does not support Client Authentication schemes [CRAM-MD5, LOGIN, PLAIN]

The mail server advertises these options when connecting with openssl s_client -connect mail.domain.io:465 (and sending EHLO):

250-mail.domain.io
250-PIPELINING
250-SIZE 512000000
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 CHUNKING

This is the relevant excerpt from the homeserver config:

email:
  smtp_host: mail.domain.io
  smtp_port: 465
  force_tls: true
  smtp_user: [email protected]
  smpt_pass: redacted

Possibly related to:
#15126

Steps to reproduce

  • open app.element.io in a new private window
  • enter homeserver (will disclose if required)
  • press 'forgot password?'
  • enter any email address
  • press 'send email'

Homeserver

private matrix server

Synapse Version

1.121.1

Installation Method

Docker (matrixdotorg/synapse)

Database

postgres from the get-go

Workers

Single process

Platform

rocky linux, docker container

Configuration

see above

Relevant log output

see above

Anything else that would be useful to know?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant