mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-11 09:13:02 +03:00
SMTP Password not working with German Umlauts #888
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Tragen on GitHub.
Subject of the issue
SMTP Password not working with German Umlauts
Deployment environment
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Environment settings which are overridden: ADMIN_TOKEN
Steps to reproduce
Use an email account with a password containing ö, ä or ü
Expected behaviour
Sending E-Mail is working like in Thunderbird.
Actual behaviour
I get the message "Authentication failed"
@BlackDex commented on GitHub:
What do the logs tell you with
SMTP_DEBUG=true?It could be other settings.
@Tragen commented on GitHub:
I will check later. The only thing I changed from not working to working was replacing öäü in the password with normal characters.
@Tragen commented on GitHub:
Not working with password testötest
Working with password testtest
I don't know why it's not working as with TB it's working.
@Tragen commented on GitHub:
btw, I logged in to the admin page with the admin token and configured everything there and set the smtp password.
I will do the log now
@stefan0xC commented on GitHub:
Can you also check with
docker exec vaultwarden-app printenv | grep SMTP_PASSWORDif the password is actually set correctly?@stefan0xC commented on GitHub:
It might depend on the SMTP server? Curious that it works with Thunderbird. Does it use
LOGINor a different authentication method?@BlackDex commented on GitHub:
@Tragen For some strange reason I can't reproduce this. I use the exact same password as you entered here, it produces the exact same base64 encoded string. And it works on my Postfix instance without any issues using both
LoginandPlainas Authentication Method.@Tragen commented on GitHub:
Very strange then.
I will close this ticket.
At least somebody can get a hint with this ticket if he hits the same problem.
@Tragen commented on GitHub:
This is the setting in TB

@BlackDex commented on GitHub:
Strange, the password does contain the right character. Maybe it needs a different encoding. Not sure if that is on our side, or we need to let the people from lettre known.
Maybe @paolobarbolini has a good idea?
@Tragen commented on GitHub:
I've used empty string, Login and Plain and had the same results.
@BlackDex commented on GitHub:
Try to set
SMTP_AUTH_MECHANISMtoLoginorPlainand see what happens.