“from:” config not working, sends as noreply@domain.tld

Issue Summary
On new install the transaction mails are not coming from the mail__from address, but from noreply@.

  • What did you expect to happen?
    Mails should come from the mail__from address.

Steps to Reproduce

  1. Fresh installation of Ghost 5.84.2 with mail__from: configured in your YAML
  2. Check your mailbox to see if you received the " Your New Ghost Site" and check the from address, probably from the address added to mail__from
  3. Sign up as a member with another address from the frontpage. Check that mailbox or if you didn’t receive a thing, check your mailserver logs. The mail is probably send from noreply@.
  4. Downgrade your Ghost version to 5.78.0 (the version where it was fixed)
  5. Sign up as a member with another address from the frontpage. Check that mailbox or if you didn’t receive a thing, check your mailserver logs. The mail is probably send frommail__from
  6. Upgrade to 5.84.2
  7. Sign up as a member with another address from the frontpage. Check that mailbox or if you didn’t receive a thing, check your mailserver logs. The mail is probably send frommail__from

So it seems that something was correctly fixed in version 5.78.0 and the result is persisting after upgrading, but not there for fresh installs.

Related forum posts
Ghost ignoring “from:” config option, sends as noreply@domain.com

Setup information

Ghost Version
5.84.2

Node.js Version
docker image: ghost:5.84.2

How did you install Ghost?
a VPS with docker, dockge and used a compose.yaml

Provide details of your host & operating system
Ubuntu

Database type
mariadb

Member signup emails are sent from your membership support address, not the from config. What do you have that set to? (Settings → Portal Settings → Account page)

1 Like

Since I made a mistake and started using mariadb instead of mysql, I did redo the process and indeed, it works.
Not sure if I made a mistake, or some caching happened. So, no problems, no bug.
Topic can be closed.

1 Like