goauthentik / authentik

The authentication glue you need.
https://goauthentik.io
Other
7.82k stars 598 forks source link

Can't send emails with SMTP - Getting Authentication Failed #10342

Open EmilianoEscobedo opened 5 days ago

EmilianoEscobedo commented 5 days ago

Describe the bug Can't send emails with SMTP using zoho as mail provider, with Authentik deployed in docker-compose. I'm using SSL port 465. Getting Authentication Failed.

To Reproduce

  1. Use the environment variables to configure SMTP as documentation says.
  2. Complete those environment variables in .env file.
  3. Try to send a mail with ak test_mail, executing docker compose exec authentik-worker ak test_email

Expected behavior Test mail sent.

Screenshots image image

Logs image

Version and Deployment (please complete the following information):

Additional context

This instance of Authentik is hosted in a VM of a cloud provider and its restricted in port 80/443 to be only accessible thru a VPN.

Tried from an external online SMTP tester and is working as expected with the exact same server, port, and credentials.

image

EmilianoEscobedo commented 4 days ago

Hey all, I just downgraded to 2024.4.0 and everything is working as expected, so this seems to be a bug in this last release.