[GH-ISSUE #6805] Unable to send via SMTP port 465 #2542

Closed
opened 2026-03-03 02:19:19 +03:00 by kerem · 1 comment
Owner

Originally created by @bilogic on GitHub (Feb 9, 2026).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/6805

Prerequisites

Vaultwarden Support String

Image

I have tried all 3 starttls, force_tls and off, all unable to send email via port 465.
The SMTP server in question is mail-in-a-box, which has reasonable defaults.

Vaultwarden Build Version

1.35.0

Deployment method

Official Container Image

Custom deployment method

No response

Reverse Proxy

no

Host/Server Operating System

Linux

Operating System Version

No response

Clients

Desktop, Web Vault

Client Version

No response

Steps To Reproduce

Go to SMTP setup page, see screenshot

Expected Result

Email should be sent successfully

Actual Result

Return a Chrome alert Error inviting user undefined Or SMTP 4xx error: transient error (451): 4.3.5 Server configuration error

Logs


Screenshots or Videos

No response

Additional Context

No response

Originally created by @bilogic on GitHub (Feb 9, 2026). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/6805 ### Prerequisites - [x] I have searched the existing **Closed _AND_ Open** [Issues](https://github.com/dani-garcia/vaultwarden/issues?q=is%3Aissue%20) **_AND_** [Discussions](https://github.com/dani-garcia/vaultwarden/discussions?discussions_q=) - [x] I have searched and read the [documentation](https://github.com/dani-garcia/vaultwarden/wiki/) ### Vaultwarden Support String <img width="603" height="456" alt="Image" src="https://github.com/user-attachments/assets/59332eec-0c13-4f41-8b58-c579216377e2" /> I have tried all 3 `starttls`, `force_tls` and `off`, all unable to send email via port 465. The SMTP server in question is mail-in-a-box, which has reasonable defaults. ### Vaultwarden Build Version 1.35.0 ### Deployment method Official Container Image ### Custom deployment method _No response_ ### Reverse Proxy no ### Host/Server Operating System Linux ### Operating System Version _No response_ ### Clients Desktop, Web Vault ### Client Version _No response_ ### Steps To Reproduce Go to SMTP setup page, see screenshot ### Expected Result Email should be sent successfully ### Actual Result Return a Chrome alert `Error inviting user undefined` Or `SMTP 4xx error: transient error (451): 4.3.5 Server configuration error` ### Logs ```text ``` ### Screenshots or Videos _No response_ ### Additional Context _No response_
kerem 2026-03-03 02:19:19 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@bilogic commented on GitHub (Feb 9, 2026):

my send-as email was set incorrectly, since port 465, must use force_tls

<!-- gh-comment-id:3869248356 --> @bilogic commented on GitHub (Feb 9, 2026): my send-as email was set incorrectly, since port 465, must use `force_tls`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#2542
No description provided.