Not receiving admin sign up e-mail during installation

I had a problem as well getting the mail working.

I uncommented the below setting and changed the true to false

DISCOURSE_SMTP_ENABLE_START_TLS: false # (optional, default true)

and then it worked.