Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail 'from' option shows no effect #15191

Closed
aronmal opened this issue Aug 6, 2022 · 4 comments
Closed

Mail 'from' option shows no effect #15191

aronmal opened this issue Aug 6, 2022 · 4 comments
Labels
support request [triage] A support request that belongs on the forum https://forum.ghost.org/c/help

Comments

@aronmal
Copy link

aronmal commented Aug 6, 2022

Issue Summary

When I try to sign up I get an error "Failed to send magic link email" and looking in the log it shows an error.

I host the ghost blog at the subdomain blog.domain.de and want to send from [email protected]. I have added the "from" attribute to the config but it does not seem to be respected.

Steps to Reproduce

  1. install ghost docker container
  2. map custom production json config with:
  "mail": {
    "transport": "SMTP",
    "from": "'Blog domain.de' <[email protected]>",
    "options": {
      "host": "smtp.domain.de",
      "port": 465,
      "secure": true,
      "auth": {
        "user": "[email protected]",
        "pass": "SeCuRePaSsWoRd"
      }
    }
  },
  1. Go to main Paige and Sign up
  2. Getting error message displayed

Ghost Version

latest official docker container

Node.js Version

latest official docker container

How did you install Ghost?

docker

Database type

MySQL 5.7

Browser & OS version

Firefox

Relevant log / error output

Error from container logs:


[2022-08-06 19:40:33] ERROR Failed to send email. Reason: Can't send mail - all recipients were rejected: 553 5.7.1 <[email protected]>: Sender address rejected: not owned by user [email protected].

Failed to send email. Reason: Can't send mail - all recipients were rejected: 553 5.7.1 <[email protected]>: Sender address rejected: not owned by user [email protected].


### Code of Conduct

- [X] I agree to be friendly and polite to people in this repository
@github-actions github-actions bot added the needs:triage [triage] this needs to be triaged by the Ghost team label Aug 6, 2022
@ErisDS ErisDS added the support request [triage] A support request that belongs on the forum https://forum.ghost.org/c/help label Aug 8, 2022
@github-actions github-actions bot removed the needs:triage [triage] this needs to be triaged by the Ghost team label Aug 8, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 8, 2022

Hey @aronmal 👋 We ask that you please do not use GitHub for help or support 😄. We use GitHub solely for bug-tracking and community-driven development.

Many questions can be answered by reviewing our documentation. If you can't find an answer then our forum is a great place to get community support, plus it helps create a central location for searching problems/solutions.

FYI: Many projects use issue templates to point you in the right direction. Reading the guidelines or issue templates before opening issues can save you and project maintainers valuable time.

@github-actions github-actions bot closed this as completed Aug 8, 2022
@aronmal
Copy link
Author

aronmal commented Aug 8, 2022

Hello,

I already searched in the forum for an answer to my problem. I added the mail configuration to my config but got this error. So I kindly ask you if it could be a bug (what I don't hope, but my config is how it should be, according to the docs and forum posts). So how could that be?

Thanks for replies.

@marnixhoh
Copy link

I am running into the same issue.

The from email is used when inviting a new staff member, but not when someone subscribes...

Any help / guidance would be greatly appreciated

@ErisDS
Copy link
Member

ErisDS commented Aug 12, 2022

There is a forum thread here: https://forum.ghost.org/t/mail-from-option-shows-no-effect/31857

@TryGhost TryGhost locked as resolved and limited conversation to collaborators Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
support request [triage] A support request that belongs on the forum https://forum.ghost.org/c/help
Projects
None yet
Development

No branches or pull requests

3 participants