[GH-ISSUE #1862] Malformed sender name when using some chars in "From Name" #1086

Closed
opened 2026-03-03 02:06:08 +03:00 by kerem · 3 comments
Owner

Originally created by @hrvylein on GitHub (Jul 21, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1862

When configuring the "From Name" with a ":" in SMTP Email Settings, f.e. "Example: Vaultwarden". Sender mail and name change to "nobody@invalid.invalid" on the receiving end.

I don't know if this is a specific problem with my mail hoster or if there is a quirk in retrieving the from_name from config or when setting up the e-mail.

Originally created by @hrvylein on GitHub (Jul 21, 2021). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1862 When configuring the "From Name" with a ":" in SMTP Email Settings, f.e. "Example: Vaultwarden". Sender mail and name change to "nobody@invalid.invalid" on the receiving end. I don't know if this is a specific problem with my mail hoster or if there is a quirk in retrieving the from_name from config or when setting up the e-mail.
kerem closed this issue 2026-03-03 02:06:08 +03:00
Author
Owner

@BlackDex commented on GitHub (Jul 21, 2021):

I just tested a double colon : and that works fine for me.
It was sent using postfix and received by GMail.

<!-- gh-comment-id:884539219 --> @BlackDex commented on GitHub (Jul 21, 2021): I just tested a double colon `:` and that works fine for me. It was sent using postfix and received by GMail.
Author
Owner

@BlackDex commented on GitHub (Jul 21, 2021):

You could btw, enable SMTP_DEBUG=true and see what is actually being sent out.

<!-- gh-comment-id:884554824 --> @BlackDex commented on GitHub (Jul 21, 2021): You could btw, enable `SMTP_DEBUG=true` and see what is actually being sent out.
Author
Owner

@hrvylein commented on GitHub (Jul 22, 2021):

Then nevermind I guess and there is something wrong on my end. I will test with SMTP_DEBUG when I have time and reopen if it still persists.

<!-- gh-comment-id:884856632 --> @hrvylein commented on GitHub (Jul 22, 2021): Then nevermind I guess and there is something wrong on my end. I will test with SMTP_DEBUG when I have time and reopen if it still persists.
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#1086
No description provided.