Self-Hosting: Email Setup and Offline Strategies

Hi everyone,

I recently switched to Bitwarden Family and self-host Bitwarden on a Raspberry Pi 4 using Docker. Ideally, I’d like to have a completely offline setup.

So far, I had been using fake email addresses for my single user (e.g., mu88@local.raspi). However, this caused issues like “non-verified email address”. As a result, I had to configure real email addresses for all users in my organization.

To switch to real emails, I temporarily had to give the container internet access and configure SMTP via a temporary GMail App Password to update emails and invite new users. I only did this temporarily, i.e. now my container is back offline without any SMTP settings.

However, I’m curious how other self-hosting Bitwarden users handle this:

  • Does your Bitwarden container have permanent internet and SMTP access?
  • Or do you run your own minimal mail server? If yes, which one? Today, I played around with different mail servers in Docker, not really a joyful experience :face_exhaling:

Looking ahead, I also plan to use Bitwarden Emergency Access, so I’m interested in a sustainable and future-proof approach for email/SMTP.

Thanks for sharing your tips and experiences!