That happens for multiple servers, so it is not an issue of this
How can I further diagnose this?
I've tried -bt and saw the proper queries in the tcpdump.
Although, it does not display the results in the -bt mode (maybe I use
it wrong).
Marco Moock wrote:Messages are being rejected because sendmail thinks the PTR doesn't
That happens for multiple servers, so it is not an issue of this
What is "that"?
Fix reverse DNS for 192.55.226.66How can I further diagnose this?
What is the problem you have with sendmail?
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)I've tried -bt and saw the proper queries in the tcpdump.
Although, it does not display the results in the -bt mode (maybe I
use it wrong).
You don't show what you are doing, so how to tell what might be wrong?
/dnslookup smtp.eternal-september.org--
Messages are being rejected because sendmail thinks the PTR doesn't
match the hostname, but DNS works properly.
/dnslookup smtp.eternal-september.org
dns_lookup_int(smtp.eternal-september.org, 1, A, 0)dns_lookup_int(smtp.eternal-september.org, 1, A, 0)=60
dns_lookup_int(164.221.216.95.in-addr.arpa, 1, PTR, 0)dns_lookup_int(164.221.216.95.in-addr.arpa, 1, PTR, 0)=85
Marco Moock wrote:hosts: files myhostname resolve [!UNAVAIL=return] dns
Messages are being rejected because sendmail thinks the PTR doesn't
match the hostname, but DNS works properly.
Maybe DNS works properly, but whatever your "systemd" crap
is doing is most likely broken.
Example;
If /etc/nsswitch.conf uses myhostname for the hosts service and it
is listed after dns, then a temporary dns failure will result in a
permanent error - which obviously is completely bogus and something
systemd introduced based on a poor decision by some developer(s)
Moreover, why (and how) do you reject message based on this?Certain spammer-controlled systems have improper rdns - normal mail
u@pi-dach:~$ echo '/dnslookup smtp.eternal-september.org AAAA' | sudo sendmail -bt -d8.64/dnslookup smtp.eternal-september.org
Why do you only provide part of the debugging?
What is "dnslookup"? (a map but what's the K line in the cf file)?
What is the output of the command?
dns_lookup_int(smtp.eternal-september.org, 1, AAAA, 0)dns_lookup_int(smtp.eternal-september.org, 1, AAAA, 0)=83
u@pi-dach:~$ echo '/dnslookup smtp.eternal-september.org A' | sudo_res.options = 41012c3, HasWildcardMX = 0
sendmail -bt -d8.64
dns_lookup_int(smtp.eternal-september.org, 1, A, 0)dns_lookup_int(smtp.eternal-september.org, 1, A, 0)=71
u@pi-dach:~$_res.options = 41012c3, HasWildcardMX = 0
u@pi-dach:~$ echo '/dnslookup 164.221.216.95.in-addr.arpa PTR ' | sudo sendmail -bt -d8.64
dns_lookup_int(164.221.216.95.in-addr.arpa, 1, PTR, 0)dns_lookup_int(164.221.216.95.in-addr.arpa, 1, PTR, 0)=96
u@pi-dach:~$STARTTLS=server, relay=[95.216.221.164]
What is used to show that the IP does not resolve properly?
dns_lookup_int(smtp.eternal-september.org, 1, A, 0)=71
parse_dns_reply: IPv4=95.216.221.164
dns_lookup_int(164.221.216.95.in-addr.arpa, 1, PTR, 0)=96
parse_dns_reply: type=PTR, host=smtp.eternal-september.org
Hence try$ echo '/map resolve [95.216.221.164]' | sudo sendmail -bt
echo '/map resolve [95.216.221.164]' | sendmail -bt
...
map_lookup: resolve ([95.216.221.164]) returns smtp.eternal-september.org<OKR> (0)
If it is something else on your system then you have to figure out
what is broken in nsswitch.conf.
map_lookup: resolve ([95.216.221.164]) returns smtp.eternal-september.org<OKR> (0)That looks fine for me.
On 07.04.2026 14:55 Uhr Claus A|fmann wrote:I've tested to use
Hence try
echo '/map resolve [95.216.221.164]' | sendmail -bt
...
map_lookup: resolve ([95.216.221.164]) returns smtp.eternal-september.org<OKR> (0)
If it is something else on your system then you have to figure out
what is broken in nsswitch.conf.
$ echo '/map resolve [95.216.221.164]' | sudo sendmail -bt
[sudo] password for u:
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
map_lookup: resolve ([95.216.221.164]) returns smtp.eternal-september.org<OKR> (0)
That looks fine for me.
Is there anything else I can test?
On 08.04.2026 20:44 Uhr Marco Moock wrote:
On 07.04.2026 14:55 Uhr Claus A|fmann wrote:
Hence try
echo '/map resolve [95.216.221.164]' | sendmail -bt
...
map_lookup: resolve ([95.216.221.164]) returns
smtp.eternal-september.org<OKR> (0)
If it is something else on your system then you have to figure out
what is broken in nsswitch.conf.
$ echo '/map resolve [95.216.221.164]' | sudo sendmail -bt
[sudo] password for u:
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
map_lookup: resolve ([95.216.221.164]) returns
smtp.eternal-september.org<OKR> (0)
That looks fine for me.
Is there anything else I can test?
I've tested to use
hosts: files dns
same result.
Just on the off chance that "files" is causing a problem,
is either eternal-september.org or 95.216.221.164 in your
/etc/hosts
or
/etc/networks
files?
Which OS defines does your system use?
sendmail -bt -d0.13 </dev/null
OS Defines: ADDRCONFIG_IS_BROKEN HASFCHOWN HASFCHMODu@pi-dach:~$ sudo sendmail -bt -d0.13 </dev/null
HASGETDTABLESIZE HAS_GETHOSTBYNAME2 HASINITGROUPS
HASLSTAT HASNICE HASRANDOM HASRRESVPORT HASSETREGID HASSETREUID
HASSETRLIMIT HASSETSID HASSETVBUF HASURANDOMDEV
HASSTRERROR HASUNAME HASUNSETENV HASWAITPID IDENTPROTO MILTER_NO_NAGLE
NEEDSGETIPNODE SFS_VFS USE_DOUBLE_FORK USE_SIGLONGJMP
u@pi-dach:~$I used that version before and it worked. I figured out that
Can you compile "the real thing" and use that?
Maybe your OS provider applies some patches to sendmail?
Does this happen all the time or does the IP sometimes resolve?No, depends on the setting in nsswitch.conf. Although, I have no clue
On 09.04.2026 13:48 Uhr Claus A|fmann wrote:
Does this happen all the time or does the IP sometimes resolve?
No, depends on the setting in nsswitch.conf. Although, I have no clue
about the libc stuff, so I cannot figure out the exact cause of the
issue.
On 08.04.2026 21:23 Uhr Lew Pitcher wrote:
Just on the off chance that "files" is causing a problem,
is either eternal-september.org or 95.216.221.164 in your
/etc/hosts
or
/etc/networks
files?
No, as this is not my hostname/IP.
/etc/hosts and /etc/networks are not just for naming /your/
local system, they participate in host and domain name
resolution. If you have "files" ahead of "dns", then
the contents of those two files will be used to resolve
host/network names (including /foreign/ host and network names)
ahead of DNS.
Marco Moock wrote:Message-ID: <10r8pjc$gtao$6@dont-email.me>
On 09.04.2026 13:48 Uhr Claus A|a++mann wrote:
Does this happen all the time or does the IP sometimes resolve?
No, depends on the setting in nsswitch.conf. Although, I have no
clue
Which setting? So you have a "working" version?
Apr 09 19:59:43 pi-dach.dorfdsl.de sm-mta[15803]: 6xxxx:about the libc stuff, so I cannot figure out the exact cause of the
issue.
Neither can I because you don't provide the requested info
(e.g., log entries), hence I give up unless you provide
all needed information.
is working, but the default in Debian,
files myhostname resolve [!UNAVAIL=return] dns
I used that version before and it worked. I figured out that
hosts: files myhostname dns
is working, but the default in Debian,
Can you please check if that is an issue in sendmail itself or the
In any case, this problem is well-known and easy to solve: https://github.com/systemd/systemd/issues/29069#issuecomment-1781921909Thanks for the pointer.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 05:09:35 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
921 files (14,318M bytes) |
| Messages: | 264,602 |