SMTP Password not working with German Umlauts #888

Closed
opened 2025-10-09 16:55:46 +03:00 by OVERLORD · 12 comments
Owner

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)

  • Vaultwarden version: v1.27.0
  • Web-vault version: v2022.12.0
  • Running within Docker: true (Base: Debian)
  • Environment settings overridden: true
  • Uses a reverse proxy: true
  • IP Header check: true (X-Real-IP)
  • Internet access: true
  • Internet access via a proxy: false
  • DNS Check: true
  • Time Check: true
  • Domain Configuration Check: true
  • HTTPS Check: true
  • Database type: SQLite
  • Database version: 3.39.2
  • Clients used:
  • Reverse proxy and version:
  • Other relevant information:

Config (Generated via diagnostics page)

Environment settings which are overridden: ADMIN_TOKEN

{
  "_duo_akey": null,
  "_enable_duo": false,
  "_enable_email_2fa": false,
  "_enable_smtp": true,
  "_enable_yubico": true,
  "_icon_service_csp": "",
  "_icon_service_url": "",
  "_ip_header_enabled": true,
  "_smtp_img_src": "cid:",
  "admin_ratelimit_max_burst": 3,
  "admin_ratelimit_seconds": 300,
  "admin_token": "***",
  "allowed_iframe_ancestors": "",
  "attachments_folder": "data/attachments",
  "authenticator_disable_time_drift": false,
  "data_folder": "data",
  "database_conn_init": "",
  "database_max_conns": 10,
  "database_timeout": 30,
  "database_url": "***************",
  "db_connection_retries": 15,
  "disable_2fa_remember": false,
  "disable_admin_token": false,
  "disable_icon_download": false,
  "domain": "*****://*********************************",
  "domain_origin": "*****://*********************************",
  "domain_path": "",
  "domain_set": true,
  "duo_host": null,
  "duo_ikey": null,
  "duo_skey": null,
  "email_attempts_limit": 3,
  "email_expiration_time": 600,
  "email_token_size": 6,
  "emergency_access_allowed": true,
  "emergency_notification_reminder_schedule": "0 3 * * * *",
  "emergency_request_timeout_schedule": "0 7 * * * *",
  "enable_db_wal": true,
  "event_cleanup_schedule": "0 10 0 * * *",
  "events_days_retain": null,
  "extended_logging": true,
  "helo_name": "*********************************",
  "hibp_api_key": null,
  "icon_blacklist_non_global_ips": true,
  "icon_blacklist_regex": null,
  "icon_cache_folder": "data/icon_cache",
  "icon_cache_negttl": 259200,
  "icon_cache_ttl": 2592000,
  "icon_download_timeout": 10,
  "icon_redirect_code": 302,
  "icon_service": "internal",
  "incomplete_2fa_schedule": "30 * * * * *",
  "incomplete_2fa_time_limit": 3,
  "invitation_expiration_hours": 120,
  "invitation_org_name": "xxxxxx",
  "invitations_allowed": true,
  "ip_header": "X-Real-IP",
  "job_poll_interval_ms": 30000,
  "log_file": null,
  "log_level": "Info",
  "log_timestamp_format": "%Y-%m-%d %H:%M:%S.%3f",
  "login_ratelimit_max_burst": 10,
  "login_ratelimit_seconds": 60,
  "org_attachment_limit": 500000,
  "org_creation_users": "",
  "org_events_enabled": false,
  "org_groups_enabled": false,
  "password_hints_allowed": true,
  "password_iterations": 123458,
  "reload_templates": false,
  "require_device_email": true,
  "rsa_key_filename": "data/rsa_key",
  "send_purge_schedule": "0 5 * * * *",
  "sends_allowed": true,
  "sends_folder": "data/sends",
  "show_password_hint": false,
  "signups_allowed": false,
  "signups_domains_whitelist": "*********",
  "signups_verify": true,
  "signups_verify_resend_limit": 6,
  "signups_verify_resend_time": 3600,
  "smtp_accept_invalid_certs": false,
  "smtp_accept_invalid_hostnames": false,
  "smtp_auth_mechanism": null,
  "smtp_debug": false,
  "smtp_embed_images": true,
  "smtp_explicit_tls": null,
  "smtp_from": "****************************",
  "smtp_from_name": "xxx@xxx.xxx",
  "smtp_host": "**************",
  "smtp_password": "***",
  "smtp_port": 465,
  "smtp_security": "force_tls",
  "smtp_ssl": null,
  "smtp_timeout": 15,
  "smtp_username": "****************************",
  "templates_folder": "data/templates",
  "tmp_folder": "data/tmp",
  "trash_auto_delete_days": null,
  "trash_purge_schedule": "0 5 0 * * *",
  "use_syslog": false,
  "user_attachment_limit": 200000,
  "web_vault_enabled": true,
  "web_vault_folder": "web-vault/",
  "websocket_address": "0.0.0.0",
  "websocket_enabled": false,
  "websocket_port": 3012,
  "yubico_client_id": null,
  "yubico_secret_key": null,
  "yubico_server": null
}

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"

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) * Vaultwarden version: v1.27.0 * Web-vault version: v2022.12.0 * Running within Docker: true (Base: Debian) * Environment settings overridden: true * Uses a reverse proxy: true * IP Header check: true (X-Real-IP) * Internet access: true * Internet access via a proxy: false * DNS Check: true * Time Check: true * Domain Configuration Check: true * HTTPS Check: true * Database type: SQLite * Database version: 3.39.2 * Clients used: * Reverse proxy and version: * Other relevant information: ### Config (Generated via diagnostics page) <details> **Environment settings which are overridden:** ADMIN_TOKEN ```json { "_duo_akey": null, "_enable_duo": false, "_enable_email_2fa": false, "_enable_smtp": true, "_enable_yubico": true, "_icon_service_csp": "", "_icon_service_url": "", "_ip_header_enabled": true, "_smtp_img_src": "cid:", "admin_ratelimit_max_burst": 3, "admin_ratelimit_seconds": 300, "admin_token": "***", "allowed_iframe_ancestors": "", "attachments_folder": "data/attachments", "authenticator_disable_time_drift": false, "data_folder": "data", "database_conn_init": "", "database_max_conns": 10, "database_timeout": 30, "database_url": "***************", "db_connection_retries": 15, "disable_2fa_remember": false, "disable_admin_token": false, "disable_icon_download": false, "domain": "*****://*********************************", "domain_origin": "*****://*********************************", "domain_path": "", "domain_set": true, "duo_host": null, "duo_ikey": null, "duo_skey": null, "email_attempts_limit": 3, "email_expiration_time": 600, "email_token_size": 6, "emergency_access_allowed": true, "emergency_notification_reminder_schedule": "0 3 * * * *", "emergency_request_timeout_schedule": "0 7 * * * *", "enable_db_wal": true, "event_cleanup_schedule": "0 10 0 * * *", "events_days_retain": null, "extended_logging": true, "helo_name": "*********************************", "hibp_api_key": null, "icon_blacklist_non_global_ips": true, "icon_blacklist_regex": null, "icon_cache_folder": "data/icon_cache", "icon_cache_negttl": 259200, "icon_cache_ttl": 2592000, "icon_download_timeout": 10, "icon_redirect_code": 302, "icon_service": "internal", "incomplete_2fa_schedule": "30 * * * * *", "incomplete_2fa_time_limit": 3, "invitation_expiration_hours": 120, "invitation_org_name": "xxxxxx", "invitations_allowed": true, "ip_header": "X-Real-IP", "job_poll_interval_ms": 30000, "log_file": null, "log_level": "Info", "log_timestamp_format": "%Y-%m-%d %H:%M:%S.%3f", "login_ratelimit_max_burst": 10, "login_ratelimit_seconds": 60, "org_attachment_limit": 500000, "org_creation_users": "", "org_events_enabled": false, "org_groups_enabled": false, "password_hints_allowed": true, "password_iterations": 123458, "reload_templates": false, "require_device_email": true, "rsa_key_filename": "data/rsa_key", "send_purge_schedule": "0 5 * * * *", "sends_allowed": true, "sends_folder": "data/sends", "show_password_hint": false, "signups_allowed": false, "signups_domains_whitelist": "*********", "signups_verify": true, "signups_verify_resend_limit": 6, "signups_verify_resend_time": 3600, "smtp_accept_invalid_certs": false, "smtp_accept_invalid_hostnames": false, "smtp_auth_mechanism": null, "smtp_debug": false, "smtp_embed_images": true, "smtp_explicit_tls": null, "smtp_from": "****************************", "smtp_from_name": "xxx@xxx.xxx", "smtp_host": "**************", "smtp_password": "***", "smtp_port": 465, "smtp_security": "force_tls", "smtp_ssl": null, "smtp_timeout": 15, "smtp_username": "****************************", "templates_folder": "data/templates", "tmp_folder": "data/tmp", "trash_auto_delete_days": null, "trash_purge_schedule": "0 5 0 * * *", "use_syslog": false, "user_attachment_limit": 200000, "web_vault_enabled": true, "web_vault_folder": "web-vault/", "websocket_address": "0.0.0.0", "websocket_enabled": false, "websocket_port": 3012, "yubico_client_id": null, "yubico_secret_key": null, "yubico_server": null } ``` </details> ### 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"
Author
Owner

@BlackDex commented on GitHub:

What do the logs tell you with SMTP_DEBUG=true?
It could be other settings.

@BlackDex commented on GitHub: What do the logs tell you with `SMTP_DEBUG=true`? It could be other settings.
Author
Owner

@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: I will check later. The only thing I changed from not working to working was replacing öäü in the password with normal characters.
Author
Owner

@Tragen commented on GitHub:

Not working with password testötest

[2023-03-12 20:17:58.287][lettre::transport::smtp::client::async_connection][DEBUG] << 220 Welcome to E-Mail [2023-03-12 20:17:58.287][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: EHLO vaultwarden.mydomain.tld [2023-03-12 20:17:58.288][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld [2023-03-12 20:17:58.288][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld250-SIZE [2023-03-12 20:17:58.288][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld250-SIZE250-AUTH LOGIN [2023-03-12 20:17:58.288][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld250-SIZE250-AUTH LOGIN250 HELP [2023-03-12 20:17:58.288][lettre::transport::smtp::client::async_connection][DEBUG] server mydomain.tld with {Authentication(Login)} [2023-03-12 20:17:58.288][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: AUTH LOGIN [2023-03-12 20:17:58.290][lettre::transport::smtp::client::async_connection][DEBUG] << 334 VXNlcm5hbWU6 [2023-03-12 20:17:58.290][lettre::transport::smtp::commands][DEBUG] auth encoded challenge: VXNlcm5hbWU6 [2023-03-12 20:17:58.290][lettre::transport::smtp::commands][DEBUG] auth decoded challenge: Username: [2023-03-12 20:17:58.290][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: ZGV2b3BzLnZhdWx0d2FyZGVuQG15ZG9tYWluLnRsZA== [2023-03-12 20:17:58.291][lettre::transport::smtp::client::async_connection][DEBUG] << 334 UGFzc3dvcmQ6 [2023-03-12 20:17:58.291][lettre::transport::smtp::commands][DEBUG] auth encoded challenge: UGFzc3dvcmQ6 [2023-03-12 20:17:58.291][lettre::transport::smtp::commands][DEBUG] auth decoded challenge: Password: [2023-03-12 20:17:58.291][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: dGVzdMO2dGVzdA== [2023-03-12 20:17:58.295][lettre::transport::smtp::client::async_connection][DEBUG] << 535 Authentication failed. Restarting authentication process. [2023-03-12 20:17:58.295][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: QUIT [2023-03-12 20:17:58.297][lettre::transport::smtp::client::async_connection][DEBUG] << 221 goodbye [2023-03-12 20:17:58.297][vaultwarden::mail][ERROR] SMTP 5xx error: permanent error (535): Authentication failed. Restarting authentication process. - Authentication credentials invalid [2023-03-12 20:17:58.298][response][INFO] (test_smtp) POST /admin/test/smtp => 400 Bad Request [2023-03-12 20:18:33.756][request][INFO] POST /admin/config/ [2023-03-12 20:18:33.756][response][INFO] (post_config) POST /admin/config => 200 OK [2023-03-12 20:18:35.397][request][INFO] GET /admin [2023-03-12 20:18:35.399][response][INFO] (admin_page) GET /admin/ => 200 OK [2023-03-12 20:18:43.175][request][INFO] POST /admin/test/smtp/

Working with password testtest

[2023-03-12 20:20:30.071][lettre::transport::smtp::client::async_connection][DEBUG] << 220 Welcome to E-Mail [2023-03-12 20:20:30.071][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: EHLO vaultwarden.mydomain.tld [2023-03-12 20:20:30.073][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld [2023-03-12 20:20:30.073][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld250-SIZE [2023-03-12 20:20:30.073][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld250-SIZE250-AUTH LOGIN [2023-03-12 20:20:30.073][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld250-SIZE250-AUTH LOGIN250 HELP [2023-03-12 20:20:30.073][lettre::transport::smtp::client::async_connection][DEBUG] server mydomain.tld with {Authentication(Login)} [2023-03-12 20:20:30.073][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: AUTH LOGIN [2023-03-12 20:20:30.075][lettre::transport::smtp::client::async_connection][DEBUG] << 334 VXNlcm5hbWU6 [2023-03-12 20:20:30.075][lettre::transport::smtp::commands][DEBUG] auth encoded challenge: VXNlcm5hbWU6 [2023-03-12 20:20:30.075][lettre::transport::smtp::commands][DEBUG] auth decoded challenge: Username: [2023-03-12 20:20:30.076][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: ZGV2b3BzLnZhdWx0d2FyZGVuQG15ZG9tYWluLnRsZA== [2023-03-12 20:20:30.077][lettre::transport::smtp::client::async_connection][DEBUG] << 334 UGFzc3dvcmQ6 [2023-03-12 20:20:30.077][lettre::transport::smtp::commands][DEBUG] auth encoded challenge: UGFzc3dvcmQ6 [2023-03-12 20:20:30.077][lettre::transport::smtp::commands][DEBUG] auth decoded challenge: Password: [2023-03-12 20:20:30.077][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: dGVzdHRlc3Q= [2023-03-12 20:20:30.082][lettre::transport::smtp::client::async_connection][DEBUG] << 235 authenticated. [2023-03-12 20:20:30.082][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: MAIL FROM: [2023-03-12 20:20:30.088][lettre::transport::smtp::client::async_connection][DEBUG] << 250 OK [2023-03-12 20:20:30.088][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: RCPT TO: [2023-03-12 20:20:30.091][lettre::transport::smtp::client::async_connection][DEBUG] << 250 OK [2023-03-12 20:20:30.091][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: DATA [2023-03-12 20:20:30.094][lettre::transport::smtp::client::async_connection][DEBUG] << 354 OK, send. [2023-03-12 20:20:30.094][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: Message-ID: <97d924ae-007e-4654-9...

I don't know why it's not working as with TB it's working.

@Tragen commented on GitHub: Not working with password testötest <details> [2023-03-12 20:17:58.287][lettre::transport::smtp::client::async_connection][DEBUG] << 220 Welcome to E-Mail<CRLF> [2023-03-12 20:17:58.287][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: EHLO vaultwarden.mydomain.tld<CRLF> [2023-03-12 20:17:58.288][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld<CRLF> [2023-03-12 20:17:58.288][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld<CRLF>250-SIZE<CRLF> [2023-03-12 20:17:58.288][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld<CRLF>250-SIZE<CRLF>250-AUTH LOGIN<CRLF> [2023-03-12 20:17:58.288][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld<CRLF>250-SIZE<CRLF>250-AUTH LOGIN<CRLF>250 HELP<CRLF> [2023-03-12 20:17:58.288][lettre::transport::smtp::client::async_connection][DEBUG] server mydomain.tld with {Authentication(Login)} [2023-03-12 20:17:58.288][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: AUTH LOGIN<CRLF> [2023-03-12 20:17:58.290][lettre::transport::smtp::client::async_connection][DEBUG] << 334 VXNlcm5hbWU6<CRLF> [2023-03-12 20:17:58.290][lettre::transport::smtp::commands][DEBUG] auth encoded challenge: VXNlcm5hbWU6 [2023-03-12 20:17:58.290][lettre::transport::smtp::commands][DEBUG] auth decoded challenge: Username: [2023-03-12 20:17:58.290][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: ZGV2b3BzLnZhdWx0d2FyZGVuQG15ZG9tYWluLnRsZA==<CRLF> [2023-03-12 20:17:58.291][lettre::transport::smtp::client::async_connection][DEBUG] << 334 UGFzc3dvcmQ6<CRLF> [2023-03-12 20:17:58.291][lettre::transport::smtp::commands][DEBUG] auth encoded challenge: UGFzc3dvcmQ6 [2023-03-12 20:17:58.291][lettre::transport::smtp::commands][DEBUG] auth decoded challenge: Password: [2023-03-12 20:17:58.291][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: dGVzdMO2dGVzdA==<CRLF> [2023-03-12 20:17:58.295][lettre::transport::smtp::client::async_connection][DEBUG] << 535 Authentication failed. Restarting authentication process.<CRLF> [2023-03-12 20:17:58.295][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: QUIT<CRLF> [2023-03-12 20:17:58.297][lettre::transport::smtp::client::async_connection][DEBUG] << 221 goodbye<CRLF> [2023-03-12 20:17:58.297][vaultwarden::mail][ERROR] SMTP 5xx error: permanent error (535): Authentication failed. Restarting authentication process. - Authentication credentials invalid [2023-03-12 20:17:58.298][response][INFO] (test_smtp) POST /admin/test/smtp => 400 Bad Request [2023-03-12 20:18:33.756][request][INFO] POST /admin/config/ [2023-03-12 20:18:33.756][response][INFO] (post_config) POST /admin/config => 200 OK [2023-03-12 20:18:35.397][request][INFO] GET /admin [2023-03-12 20:18:35.399][response][INFO] (admin_page) GET /admin/ => 200 OK [2023-03-12 20:18:43.175][request][INFO] POST /admin/test/smtp/ </details> Working with password testtest <details> [2023-03-12 20:20:30.071][lettre::transport::smtp::client::async_connection][DEBUG] << 220 Welcome to E-Mail<CRLF> [2023-03-12 20:20:30.071][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: EHLO vaultwarden.mydomain.tld<CRLF> [2023-03-12 20:20:30.073][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld<CRLF> [2023-03-12 20:20:30.073][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld<CRLF>250-SIZE<CRLF> [2023-03-12 20:20:30.073][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld<CRLF>250-SIZE<CRLF>250-AUTH LOGIN<CRLF> [2023-03-12 20:20:30.073][lettre::transport::smtp::client::async_connection][DEBUG] << 250-mydomain.tld<CRLF>250-SIZE<CRLF>250-AUTH LOGIN<CRLF>250 HELP<CRLF> [2023-03-12 20:20:30.073][lettre::transport::smtp::client::async_connection][DEBUG] server mydomain.tld with {Authentication(Login)} [2023-03-12 20:20:30.073][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: AUTH LOGIN<CRLF> [2023-03-12 20:20:30.075][lettre::transport::smtp::client::async_connection][DEBUG] << 334 VXNlcm5hbWU6<CRLF> [2023-03-12 20:20:30.075][lettre::transport::smtp::commands][DEBUG] auth encoded challenge: VXNlcm5hbWU6 [2023-03-12 20:20:30.075][lettre::transport::smtp::commands][DEBUG] auth decoded challenge: Username: [2023-03-12 20:20:30.076][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: ZGV2b3BzLnZhdWx0d2FyZGVuQG15ZG9tYWluLnRsZA==<CRLF> [2023-03-12 20:20:30.077][lettre::transport::smtp::client::async_connection][DEBUG] << 334 UGFzc3dvcmQ6<CRLF> [2023-03-12 20:20:30.077][lettre::transport::smtp::commands][DEBUG] auth encoded challenge: UGFzc3dvcmQ6 [2023-03-12 20:20:30.077][lettre::transport::smtp::commands][DEBUG] auth decoded challenge: Password: [2023-03-12 20:20:30.077][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: dGVzdHRlc3Q=<CRLF> [2023-03-12 20:20:30.082][lettre::transport::smtp::client::async_connection][DEBUG] << 235 authenticated.<CRLF> [2023-03-12 20:20:30.082][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: MAIL FROM:<devops.vaultwarden@mydomain.tld><CRLF> [2023-03-12 20:20:30.088][lettre::transport::smtp::client::async_connection][DEBUG] << 250 OK<CRLF> [2023-03-12 20:20:30.088][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: RCPT TO:<user@mydomain.tld><CRLF> [2023-03-12 20:20:30.091][lettre::transport::smtp::client::async_connection][DEBUG] << 250 OK<CRLF> [2023-03-12 20:20:30.091][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: DATA<CRLF> [2023-03-12 20:20:30.094][lettre::transport::smtp::client::async_connection][DEBUG] << 354 OK, send.<CRLF> [2023-03-12 20:20:30.094][lettre::transport::smtp::client::async_connection][DEBUG] Wrote: Message-ID: <97d924ae-007e-4654-9... </details> I don't know why it's not working as with TB it's working.
Author
Owner

@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

@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
Author
Owner

@stefan0xC commented on GitHub:

Can you also check with docker exec vaultwarden-app printenv | grep SMTP_PASSWORD if the password is actually set correctly?

@stefan0xC commented on GitHub: Can you also check with `docker exec vaultwarden-app printenv | grep SMTP_PASSWORD` if the password is actually set correctly?
Author
Owner

@stefan0xC commented on GitHub:

It might depend on the SMTP server? Curious that it works with Thunderbird. Does it use LOGIN or a different authentication method?

@stefan0xC commented on GitHub: It might depend on the SMTP server? Curious that it works with Thunderbird. Does it use `LOGIN` or a different authentication method?
Author
Owner

@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 Login and Plain as 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 `Login` and `Plain` as Authentication Method.
Author
Owner

@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: Very strange then. I will close this ticket. At least somebody can get a hint with this ticket if he hits the same problem.
Author
Owner

@Tragen commented on GitHub:

This is the setting in TB
image

@Tragen commented on GitHub: This is the setting in TB ![image](https://user-images.githubusercontent.com/1700241/224655512-c0b4c868-87e7-4caf-b773-c966e0efaef9.png)
Author
Owner

@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?

@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?
Author
Owner

@Tragen commented on GitHub:

I've used empty string, Login and Plain and had the same results.

@Tragen commented on GitHub: I've used empty string, Login and Plain and had the same results.
Author
Owner

@BlackDex commented on GitHub:

Try to set SMTP_AUTH_MECHANISM to Login or Plain and see what happens.

@BlackDex commented on GitHub: Try to set `SMTP_AUTH_MECHANISM` to `Login` or `Plain` and see what happens.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#888