I am unable to send any email via SMTP. I have a working instance other than that, it seems that way so far anyway. I get this error from the admin panel and from the send validation email when you log into the vault. I have tried Google, M$ and my own SMTP information, which I have confirmed all working.
[2020-06-11 19:23:04][bitwarden_rs::api::identity][ERROR] Error sending new device email: SmtpError.
[CAUSE] Io(
Os {
code: 11,
kind: WouldBlock,
message: “Resource temporarily unavailable”,
},
)
I have no other warnings or errors in the logs. Any ideas or need any additional info from me?
[edit]
docker-compose info:
bitwarden:
container_name: bitwarden
image: bitwardenrs/server:latest
restart: always
networks:
- $DEFAULT_NETWORK
security_opt:
- no-new-privileges:true
volumes:
- $USERDIR/docker/bitwarden:/data
- /var/log/docker:/var/log/docker
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- SIGNUPS_ALLOWED=true # Change to false after first login
- INVITATIONS_ALLOWED=true # Send invitation using admin page
- WEBSOCKET_ENABLED=true
- LOG_FILE=/var/log/docker/bitwarden.log
- SMTP_HOST=$SMTP_SERVER
- SMTP_FROM=$SMTP_SERVER_USER
- SMTP_PORT=$SMTP_SERVER_PORT
- SMTP_SSL=true
- SMTP_USERNAME=$SMTP_SERVER_USER
- SMTP_PASSWORD=$SMTP_SERVER_PASSWORD
- DOMAIN=https://bw.$DOMAINNAME
#- DISABLE_ADMIN_TOKEN=true ### USE WITH CAUTION!! Access admin page at bw.$DOMAINNAME/admin to send invitations - anyone can access, add authorization!!!
labels:
- “traefik.enable=true”
## HTTP Routers
- “traefik.http.routers.bitwarden-rtr.entrypoints=https”
- “traefik.http.routers.bitwarden-rtr.rule=Host(bw.$DOMAINNAME
)”
- “traefik.http.routers.bitwarden-rtr.priority=10”
- “traefik.http.routers.bitwarden-rtr.tls=true”
## Middlewares
- “traefik.http.routers.bitwarden-rtr.middlewares=chain-oauth@file” # Google OAuth 2.0
## HTTP Services
- “traefik.http.routers.bitwarden-rtr.service=bitwarden-svc”
- “traefik.http.services.bitwarden-svc.loadbalancer.server.port=80”
## Bitwarden WebSocket
- “traefik.http.routers.bitwardenHub-rtr.entrypoints=https”
- “traefik.http.routers.bitwardenHub-rtr.rule=(Host(bw.$DOMAINNAME
) && Path(/notifications/hub
))”
- “traefik.http.routers.bitwardenHub-rtr.priority=20”
- “traefik.http.routers.bitwardenHub-rtr.tls=true”
- “traefik.http.routers.bitwardenHub-rtr.service=bitwardenHub-svc”
- “traefik.http.services.bitwardenHub-svc.loadbalancer.server.port=3012”
[edit 2]
My BW domain is different than my SMTP domain. I can’t see why this would bother anything…