"An unhandled server error has occured" when sending email invites

Hello everybody,

I’m running a self-hosted Bitwarden server in a HyperV Ubuntu 20.04 LTS server vm.

Originally this server was located in our DMZ and was accessible over the internet.

I’ve now moved the VM to our internal network and made sure Bitwarden is only available from our internal network and via VPN.

Unfortunately, ever since I moved the server, I’m unable to send email invites.

Each attempt leads to the following error message:

The contens of my /opt/bitwarden/bwdata/env/global.override.env file concerning email are as follows:

[email protected]

This is the IP of our on-premise Exchange server.

I also tried another internal SMTP relay, but alas no dice.

Since I’m only sending invites to internal users, I connect via Port 25 without authentication.

I’m able to send emails via telnet, Bitwarden is a no go.

Do I have to rebuild the container after making changes to this file?

Is there a log file somewhere which might provide further information what exactly is going on?

Thanks in advance,

Whenever you make changes to global.override.env, perform a ./bitwarden.sh rebuild to apply your changes.

This should rebuild the containers to update appropriately for the changes made.

1 Like