Malformed sender name when using some chars in "From Name" #1083

Closed
opened 2026-02-04 23:51:54 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @hrvylein on GitHub (Jul 22, 2021).

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 22, 2021). 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.
Author
Owner

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

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

@BlackDex commented on GitHub (Jul 22, 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 22, 2021):

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

@BlackDex commented on GitHub (Jul 22, 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.

@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.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1083