Hello everyone! i’m trying to configure SMTP and getting this error. Is anyone having similar problem?
vaultwarden | [2022-08-11 09:19:37.767][vaultwarden::mail][ERROR] SMTP Connection error: Connection error: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1914: (Hostname mismatch)
vaultwarden | [2022-08-11 09:19:37.768][response][INFO] (test_smtp) POST /admin/test/smtp => 400 Bad Request
That’s how my configuration looks:
version: '3'
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: always
volumes:
- ./vw-data:/data
ports:
- 8732:80
environment:
WEBSOCKET_ENABLED: "true" # Enable WebSocket notifications.
SIGNUPS_ALLOWED: "false"
#SIGNUPS_DOMAINS_WHITELIST: "example.com"
#SIGNUPS_VERIFY: "true"
SMTP_HOST: smtp.exampe.com
SMTP_FROM: vaultwarden@exampe.com
SMTP_FROM_NAME: Password vault
SMTP_PORT: 587
SMTP_SECURITY: starttls
SMTP_USERNAME: vaultwarden@exampe.com
SMTP_PASSWORD: Password!