No emails are being sent
-
Hello,
I am running version 8.3.2 on Ubuntu 24.04.3. It is newly installed, but I restored a backup (same version) to change hosting providers (VM OVH -> other VM OVH).
My problem is that no emails are being sent.
In the logs, I have several types of messages:Tried all MXsDNS lookup failure: Error: queryMx ESERVFAIL
On the forum, I found a similar case that allowed me to identify what I think is an anomaly:
toto@cloudron:~$ host -t MX gmail.com 127.0.0.1 ;; communications error to 127.0.0.1#53: connection refused ;; communications error to 127.0.0.1#53: connection refused ;; no servers could be reached toto@cloudron:~$ systemctl status unbound ● unbound.service - Unbound DNS Resolver Loaded: loaded (/etc/systemd/system/unbound.service; enabled; preset: enabled) Active: active (running) since Tue 2025-11-11 18:02:32 UTC; 14h ago Process: 9903 ExecStartPre=/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key (code=exited, status=0/SUCCESS) Main PID: 10033 (unbound) Tasks: 1 (limit: 9434) Memory: 8.4M (peak: 8.8M) CPU: 342ms CGroup: /system.slice/unbound.service └─10033 /usr/sbin/unbound -d Notice: journal has been rotated since unit was started, output may be incomplete.Do you have any idea what might be causing this problem and how to fix it?
Thank you. -
I just found a solution, but I'm not sure if it's very clean:
- In
/etc/unbound/unbound.conf.d/cloudron-network.conf, I:
-- addedinterface: 127.0.0.1
-- disabled IPv6:do-ip6: no - In OVH's Edge Firewall, I authorized all UDP
- In
-
Hello,
I am running version 8.3.2 on Ubuntu 24.04.3. It is newly installed, but I restored a backup (same version) to change hosting providers (VM OVH -> other VM OVH).
My problem is that no emails are being sent.
In the logs, I have several types of messages:Tried all MXsDNS lookup failure: Error: queryMx ESERVFAIL
On the forum, I found a similar case that allowed me to identify what I think is an anomaly:
toto@cloudron:~$ host -t MX gmail.com 127.0.0.1 ;; communications error to 127.0.0.1#53: connection refused ;; communications error to 127.0.0.1#53: connection refused ;; no servers could be reached toto@cloudron:~$ systemctl status unbound ● unbound.service - Unbound DNS Resolver Loaded: loaded (/etc/systemd/system/unbound.service; enabled; preset: enabled) Active: active (running) since Tue 2025-11-11 18:02:32 UTC; 14h ago Process: 9903 ExecStartPre=/usr/sbin/unbound-anchor -a /var/lib/unbound/root.key (code=exited, status=0/SUCCESS) Main PID: 10033 (unbound) Tasks: 1 (limit: 9434) Memory: 8.4M (peak: 8.8M) CPU: 342ms CGroup: /system.slice/unbound.service └─10033 /usr/sbin/unbound -d Notice: journal has been rotated since unit was started, output may be incomplete.Do you have any idea what might be causing this problem and how to fix it?
Thank you.@bnachbauer For DNS,
127.0.0.53- systemd-resolved of default ubuntu runs here
127.0.0.150- cloudron's internal DNS (unbound) runs here. this is also used by mail server.There is nothing running on 127.0.0.1 out of the box. The forum post you saw are obsolete. I think what fixed it was opening the UDP firewall required for DNS to go out. I think you can remove the interface: 127.0.0.1 line.
-
J joseph has marked this topic as solved on
-
I confirm. It work without
127.0.0.1
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login