Hello,
I have a problem with Bitwarden. I have installed Bitwarden locally. Without public domain and without valid certificate. I now wanted to enter my SMTP in the env file. For this I thought I can use gmail. I tested gmails SMTP with the entered data also on https://www.gmass.co/smtp-test and on port 25 with TLS and without SSl everything works.
But in Bitwarden with this data I get the error that the SMTP does not support authentication. I have the same problem when I enable SSL on the above mentioned page, but in Bitwarden I set SSL to false. Maybe someone can help me, or at least tell me where to find the logs. Thanks
I’ve just finished setting up my instance with a gmail account with no hiccups. The thread pointed by @dh024 from this community has plenty of information around it. In case you’re interested my settings are as follows:
Are you using the unified bitwarden container? Does gmail block your emails for 2FA codes and signup and what not? For some reason I’m running into gmail blocking my emails originating from my server I think their automation thinks its phissy/spammy, but curious if others are running into something similar? The emails go through and authentication works and everyuthing, but gmail ends up blocking it and I get a reply back from [email protected] stating " Message blocked" and to review Fix bounced or rejected emails - Gmail Help for more information.
Regarding your questions, yes, my setup is using the Unified image. I don’t really understand what you mean by
Does gmail block your emails for 2FA codes and signup and what not?
Using the app password for authenticating was all that I needed to be able to send the email from the bitwarden through gmail.
The only thing I can think of is in case your IP is blacklisted, have you tried sending emails with the same credentials but using something else than the Bitwarden process (meaning: setup an email client with the same settings and send an email manually)?