Skip to content

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

Description

@EmilianoEscobedo

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 <my_mail>

Expected behavior
Test mail sent.

Screenshots
image
image

Logs
image

Version and Deployment (please complete the following information):

  • authentik version: 2024.6.0
  • Deployment: docker-compose

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus/staleThis issue has not been updated recently

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions