> ## Content Index
> Fetch the complete content index at: https://ostreff.info/llms.txt
> Use this file to discover other available public pages before exploring further.

# Ghost CMS -  how to set it to use smtp email via postfix
- URL: https://ostreff.info/ghost-how-to-setting-smtp-email-via-postfix/
- Published: 2024-05-10T09:42:27.000Z
- Updated: 2024-05-14T08:07:53.000Z
- Author: Jordan Ostreff
- Tags: #ghost, Postfix

It is really not easy task to set [Ghost CMS](https://ghost.org/?ref=ostreff.info) to use localhost postfix. Actually everything is based on [Nodemailer](https://nodemailer.com/smtp/?ref=ostreff.info) javascript module. 

Here is my working config:

```bash
  "mail": {
    "from": "'Ostreff Ghost Support' <ghost@ostreff.info>",
    "transport": "SMTP",
    "options": {
        "service": "postfix",
        "host": "localhost",
        "port": "587",
        "secure": false,
        "secureConnection": false,
        "ignoreTLS": false,
        "requireTLS":false,
        "auth": {
                "user": "ghost@ostreff.info",
                "pass": "XXXXXX { hidden } XXXXXX"
         },
        "tls": {
               "rejectUnauthorized": false,
               "servername": "mail.ostreff.info"
        },
        "debug": true,
        "log": true
    }
  },

```