mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #995] Still Problems with smtp #708
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#708
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @dschense on GitHub (May 13, 2020).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/995
I tried to setup my smtp Server (mailcow) with the docker-compose and the Admin Site.
There seems to be no Connection to the Server.
I have no logs inside the mailcow server.
Just a 400error in the bitwarden log File.
Outsider the Container in can connect to the smtp without Problems.
Cant find any errors for encryption Problems or anything else.
Are there any other people who have problems setting up the smtp Connection?
@mqus commented on GitHub (May 13, 2020):
Can you describe your configuration in detail? e.g. did you use tls, which ports etc? Which version of bitwarden_rs are you running on?
Also, could you change the logging level via the env variable (to
traceordebug, see https://github.com/dani-garcia/bitwarden_rs/blob/master/.env.template#L56) and look at the logs again?I'm assuming everything else works so far, as you didn't mention anything. Is that right?
@dschense commented on GitHub (May 14, 2020):
Jep, everything else runs without problem.
Iam running this on a proxmox Host on a lxc container behind a pfsense vm (docker runs without problems) - mailserver is reachable from lxc with ping, over telnet, nc and openssl (handshake works). lxc container runs with ipv4 and ipv6. dockercontainer runs on 8080 (no ssl), nginx on the lxc runs on 80 and proxies to docker on 8080.
haproxy on the pfsense offloads https from the domain to the nginx on the lxc container.
Testmail - LOG:
docker-compose.yml:
nginx conf:
I tried to test the smtp connection from inside the container:
but nothing happens. there is no output after pushing the commands just jump on empty new line.
when I try this outside the docker container everything works. connecting to the server is working.
getting working handshake. Its using Protocol : TLSv1.3
@dschense commented on GitHub (May 14, 2020):
IAM SO SORRY! I found my mistake.
It was a bad configured NAT on my pfsense firewall.
this was enabled
Enable NAT Reflection for 1:1 NATbut this was missing:
Enable automatic outbound NAT for Reflectionafter enabling the second everything is running. So smtp from the docker-image works out of the box.
@Pofilo commented on GitHub (May 18, 2020):
Thanks for the sharing :)
This issue can be closed !