Question

I'm having problems setting up outlook as an smtp server for bitwarden.

Bitwarden admin page throws a HTTP ERROR 500 error. nothing is showing in the log under /bwdata/logs/api/Api No email turns up. globalSettings__mail__smtp__host=smtp.office365.com globalSettings__mail__smtp__trustServer=true : tried with and without globalSettings__mail__smtp__port=587 globalSettings__mail__smtp__ssl=true globalSettings__mail__smtp__username=xx@mydomain.com globalSettings__mail__smtp__password=xx globalSettings__disableUserRegistration=true

restarted server on each change added a record to spf record for my exchange online server. I think it uses tls but I’m not sure BW does.

Any suggestions?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @macewindu,

Firstly, I would assume you are hosting it on your droplet and not using the app from the browser, correct?

If yes, please make sure you have your port 587 actually allowed to output connections. You can directly enable it from your droplet using IPTABLES:

sudo iptables -A OUTPUT -p tcp --sport 587 -m conntrack --ctstate ESTABLISHED -j ACCEPT
sudo iptables -A OUTPUT -p tcp --dport 587 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT

Regards, KFSys