Configure custom SMTP with Ghost

Ghost is a very powerful publishing platform written in NodeJS. This site runs on ghost and we're very confident of the platform. One particular challenge we faced was to get the emails working. Ghost provides documentation for Mailgun and AWS SES but no information is provided for using custom SMTP (e.g. self hosted systems like mailcow or mailinabox). We at tekduke have our own SMTP and wanted to use it for the website as well. This process involves editing the config.production.json file in the document root of ghost (e.g. /var/www/ghost).

This is a companion discussion topic for the original entry at