# Unable to receive email on additional domain

**URL:** <https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863>\
**Category:** Advanced use case\
**Tags:** email, domain, english\
**Created:** [September 1, 2025, 2:26pm UTC](https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863 "2025-09-01T14:26:36Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![trend](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/t/6bbea6/32.png) [@trend](https://forum.yunohost.org/u/trend)\
**Post date:** [September 1, 2025, 2:26pm UTC](https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863/1 "2025-09-01T14:26:36Z")

</div>

- VPS Online
- SSH/Webadmin access
- No special circumstances/configs
- YunoHost 12.1.17.1 (stable)

I have yunohost working with domain A.tld. And have now added B.tld. The problem is that email is not working as expected. I can send email from B.tld but am not able to receive any email on B.tld from outside the server.

- all the relevant switches in the webadmin. are set correctly
- the dns settings are according to the yunohost suggestions
- there is an app installed on B.tld that all users have access to
- `tail -f /var/log/mail.log` does _not show anything_ when sending an email to B.tld from outside the server
- mail.log gives a warning that ` ***domain*** postfix/postfix-script[1811]: warning: /var/spool/postfix/etc/ssl/certs/GTS_Root_R1.pem and /etc/ssl/certs/GTS_Root_R1.pem differ` _There are a total of 4 of these warnings (R1-R4)_

I don’t know if the last point (about the warnings) has anything to do with this but thought to mention it anyway.

Is there anything I can do to solve this and start receiving mail on B.tld?  
Or is it just not possible to use email with an additional tld ?

Any help/answers/pointers would be appreciated.

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [September 1, 2025, 10:43pm UTC](https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863/2 "2025-09-01T22:43:13Z")

</div>

The diagnosis can help us understand.  
What’s the output of `yunohost tools regen-conf --dry-run --with-diff `?

---

<div class="post-metadata">

**Author:** ![Sanook](https://forum.yunohost.org/user_avatar/forum.yunohost.org/sanook/32/12499_2.png) [@Sanook](https://forum.yunohost.org/u/Sanook)\
**Post date:** [September 2, 2025, 1:50am UTC](https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863/3 "2025-09-02T01:50:11Z")

</div>

> [@trend](#):
>
> `tail -f /var/log/mail.log` does _not show anything_ when sending an email to B.tld from outside the server

Could be a problem with the MX records for B.tld?

---

<div class="post-metadata">

**Author:** ![trend](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/t/6bbea6/32.png) [@trend](https://forum.yunohost.org/u/trend)\
**Post date:** [September 2, 2025, 8:15am UTC](https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863/4 "2025-09-02T08:15:46Z")

</div>

When looking at `Domains/DNS` in the Admin Web interface the recommended config is:

```auto
; Mail
@ 3600 IN MX 10 b.tld.
@ 3600 IN TXT "v=spf1 a mx -all"
mail._domainkey 3600 IN TXT "v=DKIM1; h=sha256; k=rsa; p= ***key***"
_dmarc 3600 IN TXT "v=DMARC1; p=none"

```

This is the same as the DNS config at my domain provider. _(I double checked with the help of an editor diff/comparison)_

Basic ipv4/ipv6 records are pointing to the IP addresses of the server. (Same as for A.tld.)

---

<div class="post-metadata">

**Author:** ![trend](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/t/6bbea6/32.png) [@trend](https://forum.yunohost.org/u/trend)\
**Post date:** [September 2, 2025, 8:27am UTC](https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863/5 "2025-09-02T08:27:47Z")

</div>

See the below file for the output.

[regen-conf\_diff.pdf](https://forum.yunohost.org/uploads/short-url/86gEbEMZl8fUxIKHK0Vyj2aiKDG.pdf) (153.5 KB)

(B.tld is not on it, I didn’t change anything to that domain.)

---

<div class="post-metadata">

**Author:** ![Sanook](https://forum.yunohost.org/user_avatar/forum.yunohost.org/sanook/32/12499_2.png) [@Sanook](https://forum.yunohost.org/u/Sanook)\
**Post date:** [September 2, 2025, 11:03am UTC](https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863/6 "2025-09-02T11:03:12Z")

</div>

> [@trend](#):
>
> When looking at `Domains/DNS` in the Admin Web interface

You need to check the resource records with **dig** or **nslookup**.

This is also a good starting point.:

> **[MX Lookup Tool - Check your DNS MX Records online - MxToolbox](https://mxtoolbox.com)**

> [@trend](#):
>
> `tail -f /var/log/mail.log` does _not show anything_ when sending an email to B.tld from outside the server

This means that your server does not know anything about the MX records of the B.tld domain.

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [September 2, 2025, 11:51am UTC](https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863/7 "2025-09-02T11:51:12Z")

</div>

We’ll begin with `yunohost tools regen-conf --force`  
Then rerun the diagnosis to check if everything is OK.  
Go to the webadmin \>domains \>your subdomain and check the recommended dns configuration. If your registrar supports autodns, that will help you a lot

---

<div class="post-metadata">

**Author:** ![trend](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/t/6bbea6/32.png) [@trend](https://forum.yunohost.org/u/trend)\
**Post date:** [September 2, 2025, 12:55pm UTC](https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863/9 "2025-09-02T12:55:56Z")

</div>

I did the `yunohost tools regen-conf --force` and run the diagnosis → everything is OK.

Checking with the DNS provider and [mxtoolbox.com](http://mxtoolbox.com) gives correct results for MX records and also for A and AAAA records. _I assume they are correct because they are the same for both domains and one domain is working._

The `dig MX` and `dig ANY` results are here : [dig\_A\_B.pdf](https://forum.yunohost.org/uploads/short-url/299lXpx8MhUc78zDcoEBObKC4Dk.pdf) (67.6 KB)

---

<div class="post-metadata">

**Author:** ![Sanook](https://forum.yunohost.org/user_avatar/forum.yunohost.org/sanook/32/12499_2.png) [@Sanook](https://forum.yunohost.org/u/Sanook)\
**Post date:** [September 2, 2025, 1:34pm UTC](https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863/10 "2025-09-02T13:34:13Z")

</div>

> [@trend](#):
>
> correct results for MX records

Are they correct here too?

`dig @one.one.one.one B.tld MX`

---

<div class="post-metadata">

**Author:** ![trend](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/t/6bbea6/32.png) [@trend](https://forum.yunohost.org/u/trend)\
**Post date:** [September 2, 2025, 2:25pm UTC](https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863/11 "2025-09-02T14:25:27Z")

</div>

Yes, I think so. [dig1111.pdf](https://forum.yunohost.org/uploads/short-url/xbd4gCHtHHjpW7gGBhWHlwbyspr.pdf) (59.3 KB)

---

<div class="post-metadata">

**Author:** ![Sanook](https://forum.yunohost.org/user_avatar/forum.yunohost.org/sanook/32/12499_2.png) [@Sanook](https://forum.yunohost.org/u/Sanook)\
**Post date:** [September 2, 2025, 2:40pm UTC](https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863/12 "2025-09-02T14:40:38Z")

</div>

> [@trend](#):
>
> not able to receive any email on B.tld from outside the server

Then the sending server should have it in the log file

---

<div class="post-metadata">

**Author:** ![trend](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/t/6bbea6/32.png) [@trend](https://forum.yunohost.org/u/trend)\
**Post date:** [September 2, 2025, 3:36pm UTC](https://forum.yunohost.org/t/unable-to-receive-email-on-additional-domain/39863/13 "2025-09-02T15:36:12Z")

</div>

I searched for the log files with my email provider. But couldn’t find them.  
However they have the possibility to review an email’s delivery route. Tracing the route shows that the server redirects to _ **local host** _.

This provider is hosting email for all my other domains and used to also host for B.tld. I had already asked them to stop hosting B.tld But apparently not all settings have been reset properly (something they should have done).

> _Sending an email to B.tld from a different server **not hosted by my former provider** results in receiving the email with yunohost !_

Since I don’t have other email providers I was not able to test that earlier. And I had already contacted that provider _a second time_ to verify that everything was reset properly at their end. (They told me I was good to go.)

I am very sorry to have bothered you for something that was not due to yunohost. But you have helped me greatly, by the process of elimination, to find the cause of error.

You have made me very happy, thank you so much !
