# Ghost Mail Problem

**URL:** https://forum.yunohost.org/t/ghost-mail-problem/26205
**Category:** Support apps
**Tags:** mail, ghost, bug, english
**Created:** [September 1, 2023, 3:24pm UTC](https://forum.yunohost.org/t/ghost-mail-problem/26205 "2023-09-01T15:24:24Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![anon26679750](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@anon26679750](https://forum.yunohost.org/u/anon26679750)
#### Post date: [September 1, 2023, 3:24pm UTC](https://forum.yunohost.org/t/ghost-mail-problem/26205/1 "2023-09-01T15:24:24Z")

</div>

Hello everyone

I have a problem with the app Ghost. I hope someone can help me. I thank you in advance for any help I get.

### My YunoHost server

**Hardware:** Raspberry Pi 4 at home with 4GB Ram  
**YunoHost version:** YunoHost 11.2.4 (stable)  
**I have access to my server :** Through SSH & through the webadmin  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no  
**If your request is related to an app, specify its name and version:** Ghost 5.60.0~ynh2  
**URL path for installation:** /

### Description of my issue

When I try to invite another person (in the Ghost app), I get the following error message:

```plaintext
Error sending email! Error sending email: Failed to send email. Reason: Hostname/IP does not match certificate's altnames: IP: 127.0.0.1 is not in the cert's list: . Please check your email settings and resend the invitation.

```

The config.production.json looks like this:

“mail”: {  
“transport”: “SMTP”,  
“options”: {  
“host”: “127.0.0.1”,  
“port”: 25,  
“auth”: {  
“user”: “noreply@[my domain]”,  
“pass”: “[is available]”

Does anyone know how to solve this problem?

Best regards  
Simon

---

<div class="post-metadata">

### Author: ![anon26679750](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@anon26679750](https://forum.yunohost.org/u/anon26679750)
#### Post date: [September 5, 2023, 8:58am UTC](https://forum.yunohost.org/t/ghost-mail-problem/26205/2 "2023-09-05T08:58:45Z")

</div>

Ok, if I change the config like this, then I can send mails:

“mail”: {  
“transport”: “SMTP”,  
“options”: {  
“host”: “127.0.0.1”,  
“port”: 25,  
**“ignoreTLS”: true,**  
“auth”: {  
“user”: “noreply@[my domain]”,  
“pass”: “[is available]”

---

<div class="post-metadata">

### Author: ![Simoto](https://forum.yunohost.org/user_avatar/forum.yunohost.org/simoto/32/13909_2.png) [@Simoto](https://forum.yunohost.org/u/Simoto)
#### Post date: [September 5, 2023, 9:18am UTC](https://forum.yunohost.org/t/ghost-mail-problem/26205/3 "2023-09-05T09:18:17Z")

</div>

Are you able to send bulk emails (like newsletters) this way, or just individual emails (e.g. user invitations, password resets, member signup and member login links)?

I’m asking because I’ve read here [Configuration - Adapt your publication to suit your needs](https://ghost.org/docs/config/#mail) that you need to set up Mailgun for bulk emails, which I found too complicated.

---

<div class="post-metadata">

### Author: ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)
#### Post date: [September 5, 2023, 10:13am UTC](https://forum.yunohost.org/t/ghost-mail-problem/26205/4 "2023-09-05T10:13:00Z")

</div>

> [@anon26679750](#):
>
> “ignoreTLS”: true,

Thanks for the debugging! I’ll try to implement this in the next fix, along with `host` issue from [the other thread](https://forum.yunohost.org/t/ghost-502-bad-gateway-after-5-60-0-ynh2-update/26232/6).

---

<div class="post-metadata">

### Author: ![anon26679750](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@anon26679750](https://forum.yunohost.org/u/anon26679750)
#### Post date: [September 5, 2023, 1:14pm UTC](https://forum.yunohost.org/t/ghost-mail-problem/26205/5 "2023-09-05T13:14:26Z")

</div>

It was first about the individual mails.

Mass mails would also be exciting, but for the first time I would only need 100-200 mails per month. Mailgun is way too expensive for me.

---

<div class="post-metadata">

### Author: ![anon26679750](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@anon26679750](https://forum.yunohost.org/u/anon26679750)
#### Post date: [September 5, 2023, 1:15pm UTC](https://forum.yunohost.org/t/ghost-mail-problem/26205/6 "2023-09-05T13:15:35Z")

</div>

You’re welcome.

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [September 20, 2023, 1:15pm UTC](https://forum.yunohost.org/t/ghost-mail-problem/26205/7 "2023-09-20T13:15:47Z")

</div>

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