No usable MXs when attempting delivery to SMTP server smtp.libero.it
@foxcpp is already working on this.
Since May 15, 2026.
Assessment
This issue has not been assessed yet.
Description
Describe the bug
When sending emails to libero.it, maddy tries to resolve an internal server name, which fails:
2026-05-11T22:31:00.083Z client connection close failed {"msg_id":"a5e41aa7","reason":"close tcp4 192.168.0.170:39245-\u003e213.209.1.129:25: use of closed network connection"}
2026-05-11T22:31:00.083Z cannot use MX {"domain":"libero.it","msg_id":"a5e41aa7","reason":"SMTP error 421: smtp-03.iol.local smtp-03.iol.local No reverse DNS [smtp-03.iol.local; LIB_120]","remote_server":"smtp-in.libero.it.","smtp_code":421,"smtp_enchcode":"0.0.0","smtp_msg":"smtp-in.libero.it. said: smtp-03.iol.local smtp-03.iol.local No reverse DNS [smtp-03.iol.local; LIB_120]"}
2026-05-11T22:31:00.083Z submission: RCPT error {"domain":"libero.it","effective_rcpt":"xxxxx.xxxx@libero.it","msg_id":"a5e41aa7","rcpt":"xxxxx.xxxx@libero.it","reason":"SMTP error 421: smtp-03.iol.local smtp-03.iol.local No reverse DNS [smtp-03.iol.local; LIB_120]","remote_server":"smtp-in.libero.it.","smtp_code":451,"smtp_enchcode":"5.4.0","smtp_msg":"No usable MXs, last err: SMTP error 421: smtp-03.iol.local smtp-03.iol.local No reverse DNS [smtp-03.iol.local; LIB_120]","target":"remote"}
Using mxtoolbox.com to simulate the connection to smtp.libero.it, the advertised server name is not public :
Connecting to 213.209.1.144
220 smtp-31.iol.local smtp-31.iol.local ESMTP server ready [234 ms]
EHLO keeper-us-east-1d.mxtoolbox.com
250-smtp-31.iol.local hello [18.209.86.113], pleased to meet you
250-HELP
250-AUTH LOGIN PLAIN
250-SIZE 50000000
250-8BITMIME
250-STARTTLS
250 OK [219 ms]
MAIL FROM:supertool@mxtoolboxsmtpdiag.com
What do you think is wrong?
Attempts to resolve smtp-31.iol.local / smtp-03.iol.local / etc fail
Steps to reproduce
It happens every time an email is sent to libero.it
Log files
Configuration file
target.remote outbound_delivery {
limits {
# Up to 20 msgs/sec across max. 10 SMTP connections
# for each recipient domain.
destination rate 20 1s
destination concurrency 10
}
mx_auth {
dnssec
dane
mtasts {
cache fs
fs_dir mtasts_cache/
}
local_policy {
min_tls_level none
min_mx_level none
}
}
}
Environment information
- maddy version: ?
0.9.4
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 327
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from foxcpp/maddy
-
ready-for-release
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
bug
-
new feature
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
area/dev-productivity area/disaster-recovery area/ipcei kind/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
kind/bug status/0-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
🤔 refinement needed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
equinor/radix-operator#1979 ·