Skip to content

bitwarden.sh checksmtp failing #6322

@CuzImBisonratte

Description

@CuzImBisonratte

Steps To Reproduce

  1. Use SSL on a mailserver using port 465 like this:
globalSettings__mail__smtp__port=465
globalSettings__mail__smtp__ssl=true
  1. Use ./bitwarden.sh checksmtp

Expected Result

Response: SMTP settings are correct.

Actual Result

Actual response: SMTP authentication failed or connection error occurred.

Screenshots or Videos

Image

Additional Context

If the configuration is right the server can still send emails using SMTP, even though the check says otherwise.

I tried the check once with the same data - but settings SSL false and port 25 - and the check responded truthfully that the config is valid.

Build Version

Server 2025.7.3 (but had that problem a few months ago as well)

Environment

Self-Hosted

Environment Details

  • OS: Ubuntu 24.04

  • Docker: Engine v28.3.3, Compose v2.39.1

  • Hardware: Qemu based VM

  • Mail Server: Netcup Webhosting Built-in Mailserver

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions