Ghost Local Mail Setup

Ghost Local Mail Setup

Jan 17, 2015
Ghost, Email, Setup

All of my servers use a local copy of exim to forward mail to my mail server so that any messages generated out of cron etc. are forwarded to me for checking. By default the blogging platform Ghost assumes you are going to send the emails it generates directly to an external mail host like Gmail.

Looking around the web I came across this posting: https://ghost.org/forum/installation/529-use-local-smtp-server-for-sending-email/

With a bit of experimentation though I discovered I didn’t need to do all the other steps mentioned in this posting. All I did was change my config.js to have:

mail: {
    transport: 'SMTP',
    host: '127.0.0.1',
    options: {
        service: 'SMTP',
        requiresAuth: false,
    },
},

and it worked.