New installation - error 500 on signup form, failed to send magic link email

Hi! I’m using using a fresh installation of ghost on digital ocean. My installation is accessible at

Here’s a part of my config.production.json file. I attempted to mess with it, added multiple new lines (marked them as – this is new).

“mail”: {
“from”: “”, — this is new
“transport”: “SMTP”,
“options”: {
“host”: “”,
“port”: 587,
“secure”: true,
“requireTLS”: true, – this is new
“auth”: {
“user”: “myemail”,
“pass”: “mypassword”
“tls”: {
“rejectUnauthorized”: false – this whole section is new

My domain is verified in sendinblue. I enabled port 587 (in and out).
After modifying the config, every single time I’d restart ghost instance and attempt to signup.
What am I missing? Help is much appreciated.

StartTLS negotiates over plain text first, so set secure to false.


Thank you so much! This genuinely worked!