-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global Env parameter for SMTP #616
Comments
bitwarden_rs does not have a way to ignore certificate validation when using TLS for smtp, as far as I can tell. what smtp_host and smtp_port are you using for gmail? for TLS... |
Hi Thanks for the response - yes, the settings you mention are exactly how I've configured in the admin page. This was exactly how I did it in my "official" VM instance on Linux mint and googling for the issue took me to these existing issues - hence my workaround using the parameter. I know it's not ideal but it worked ;-) bitwarden/server#451 I did wonder if I could simply use -e=globalSettings__mail__smtp__trustServer=true but from your message it seems not. My Letsencrypt certificates seem fine accessing online via web and apps so a bit stumped for now. Thanks Mike |
Hmmm thats frustrasting! Well, if you wanna try to diagnose the issue you can try these steps and maybe we can figure out whats wrong:
|
Hi - output here - looks reasonable? root@c449ef3c2d6f:/# openssl s_client -connect smtp.gmail.com:587 -starttls smtp
|
Apologies - closed by mistake but re-opened... |
Hmmmm indeed, it all looks correct on your end. I'm unsure why you're having an issue connecting to gmail, given the results. Perhaps you might want to try to create an account on yahoo or some other provider and see if that works better, at least for your bitwarden installation. :( Wish I had a better answer for you. |
It's not a deal breaker - I love this tool regardless. I'm sure I'm doing something wrong somewhere and it'll get cleared up. Many thanks your your support. Regards Mike |
First a HUGE thank you for this capability - it is simply amazing.
My question (after checking wiki) is how to add a specific environment variable - globalSettings__mail__smtp__trustServer=true
to the SMTP configuration.
Prior to using your container I had installed from the 8bit site onto a Virtualbox VM. Initially configuring email to send via my Gmail didn't work but I found this parameter which I added to the global common file in /env and all was fine.
I've configure SMTP in the admin panel here but nothing is sent and I can't see how to add either via admin or at the command line. Is it possible?
Best Regards
Mike Bakke
The text was updated successfully, but these errors were encountered: