Gitlab Dreamhost SMTP

The other day I’ve tried to install GitLab on Docker because I’ve got a Synology NAS which does support Docker :) I’ve found that if I create an user, it sends a confirmation email (of course it does!) and, unlike with Django, I’m not that versed in RoR to reconfigure to use logs instead of real SMTP.

My SMTP of choice is Dreamhost and, since it’s not listed I had to do some digging. Without further ado, here’s the docker command I used:


  • [GITLAB.WEB.NAME] is the host name of your gitlab container. Since it’s on an internal network, I used gitlab.laurivan.home and made it available via hostfile
  • [SOME_REALLY_LONG.STRING] a private string used for DB.
  • [DOMAIN.NAME] is your dreamhost domain name. Make sure you have mail enabled for it.
  • [USER] is your user capable of receiving/sending emails
  • [WEBMAIL Password] is your webmail password

You need the other SMTP-related fields (SMTP_OPENSSL_VERIFY_MODE=none, SMTP_TLS=true, SMTP_PORT=465 and SMTP_ENABLED=true) to make it work.


A little experiment: If you find this post and ad below useful, please check the ad out :-)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to top