# From address in configuration is being ignored by Ghost

**URL:** <https://forum.ghost.org/t/from-address-in-configuration-is-being-ignored-by-ghost/43164>\
**Category:** Self-hosting\
**Created:** [December 4, 2023, 11:56pm UTC](https://forum.ghost.org/t/from-address-in-configuration-is-being-ignored-by-ghost/43164 "2023-12-04T23:56:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_Cat](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/j_cat/32/27647_2.png) [@J\_Cat](https://forum.ghost.org/u/J_Cat)\
**Post date:** [December 4, 2023, 11:56pm UTC](https://forum.ghost.org/t/from-address-in-configuration-is-being-ignored-by-ghost/43164/1 "2023-12-04T23:56:38Z")

</div>

**Issue Summary**  
According to the Ghost configuration documentation ([Configuration - Ghost Developer Docs](https://ghost.org/docs/config/)) a user should be able to set a Mail From address by using the following setting

```auto
"mail": {
    "from": "support@example.com",
}

```

However, myself and others have found that that this setting is being ignore. Issue was also documented in the following post but is now locked [Configured "from" address is ignored when sending mail - #2](https://forum.ghost.org/t/configured-from-address-is-ignored-when-sending-mail/38096/2)

**Steps to Reproduce**

1. Install Ghost via docker on a server an set it to be hosted on a subdomain such as blog.domain.tld
2. Configure Mail From address per configuration documentation mention above
3. Preform an activity that results in a transactional email being generated such as account signup or magic link
4. Observe the email address for which the email is sent by reviewing the received email.

* * *

## Setup information

**Version:** [5.75.0](https://github.com/TryGhost/Ghost/releases/tag/v5.75.0)

**Environment:** production

**Database:** mysql8

**Mail:** SMTP

**Docker Compose Setup:**

```auto
services:
  db:
    image: mysql
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: "${MYSQL_ROOT_PASSWORD}"
    volumes:
      - ghost_db:/var/lib/mysql
    networks:
      - backend
      
  ghost:
    container_name: ghost
    image: ghost
    hostname: ghost
    restart: always
# ports:
      - 8080:2368
    depends_on:
      - db
    volumes:
      - ghost_data:/var/lib/ghost/content
    environment:
      # see https://ghost.org/docs/config/#configuration-options
      database__client: mysql
      database __connection__ host: db
      database __connection__ user: root
      database __connection__ password: "${MYSQL_ROOT_PASSWORD}"
      database __connection__ database: ghost
      # email infomration
      mail__transport: SMTP
      mail__from: "${EMAIL_ADDRESS}"
      mail __options__ host: "${EMAIL_SMTP_SERVER}"
      mail __options__ port: "${EMAIL_SMTP_PORT}"
      mail __options__ auth__user: "${EMAIL_USER}"
      mail __options__ auth__pass: "${EMAIL_PASSWORD}"
      # this url value is just an example, and is likely wrong for your environment!
      url: "${GHOST_URL}"
      # contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired)
      #NODE_ENV: development
    networks:
      - backend

volumes:
  ghost_db:
  ghost_data:
  
networks:
  backend:
    name: ghost_backend
    internal: true

```

**Relevant log / error output**  
See email generated from system which will show it was from noreply@blog.domain.tld regardless of the Mail From setting.

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [December 5, 2023, 10:18am UTC](https://forum.ghost.org/t/from-address-in-configuration-is-being-ignored-by-ghost/43164/2 "2023-12-05T10:18:21Z")

</div>

> [@J\_Cat](#):
>
> such as account signup or magic link

These are member-related emails, they will use the support email address configured in Settings \> Members \> Portal \> Account page.

Non-member related emails such as Staff User invites will use the fallback from address set via config.

---

<div class="post-metadata">

**Author:** ![J\_Cat](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/j_cat/32/27647_2.png) [@J\_Cat](https://forum.ghost.org/u/J_Cat)\
**Post date:** [December 6, 2023, 1:34am UTC](https://forum.ghost.org/t/from-address-in-configuration-is-being-ignored-by-ghost/43164/3 "2023-12-06T01:34:10Z")

</div>

Thanks Kevin. Changing the Support Address did change the magic link address.

I guess I was misinterpreting the words on the Configuration site [Configuration - Adapt your publication to suit your needs](https://ghost.org/docs/config/). When I was reading it I was under the impression that this would override the noreply@ghost-install-domain.tld which is the default. At my email delivery provider I whitelisted the email address I was setting in the configuration file and the emails from noreply address were getting blocked.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [March 5, 2024, 1:34am UTC](https://forum.ghost.org/t/from-address-in-configuration-is-being-ignored-by-ghost/43164/4 "2024-03-05T01:34:15Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
