When using nginx reverse proxy HTTPS, the URL is: https://ghost.xxx.net
Email sending will report an error failure.
ERROR Failed to send email. Reason: Mail command failed: 436 “MAIL FROM” does not conform with authentication [@ sm060104] (Authentic Account)
The same email configuration, when I use URL: http://ip:2368 The sending was successful
Your configuration file is strange.
If you are using Docker, you should configure with docker-compose.yml, not config.development.json.
Did you run two ghost instances? One from ghost-cli, another from ghost docker image?
OK,I modified the docker-compose.yml file to start and commented out the startup with # on the URL.
I also used the latest image.
When I use the domain name, the email still displays the same error message as shown above: Reason: Mail command failed: 436 “MAIL FROM” does not conform with authentication [@ sm060104].
I changed the url: http://192.168.16.27:2368 ==> #url:https://ghost.smartorders.net,
Email can be used normally
After trying to send emails many times, I only get an error when subscribing. I can send test emails normally in the “https://ghost.smartorders.net/ghost” backend. Is it a problem with my configuration?
I don’t know how to set the type of mail__options_service on Alibaba Cloud, but when I don’t set it, I use url: http://ip:port At that time, emails can also be sent normally. So I think this configuration has nothing to do with the domain name?
You wrote “service:SES” in config.production.json, and you just need to migrate it to docker-compose.yml, otherwise Ghost uses its default mail service.
This issue only occurs when using domain access, subscription cannot send emails, and no configuration changes have been made in the URL: https://domain/ghost Email will be sent normally during registration
Try Ghost(Pro) for 9 dollars. Its very hard to make Ghost self-hosted works , digitalocean droplet is good too(5$ and so on). I am running a Ghost blog on a Raspberry pi but just made It following a tutorial, i am not a geek.