Ahoj, Dňa Sat, 28 Nov 2026 05:23:07 -0800 (PST) Rowan Vexley <[email protected]> napísal:
> Slavko asked about the 3.d sentence, and it is worth answering > precisely, because it is the one line in that document that can be > tested before anything is sent. I am mostly interested about receiving side, but of course sending comes into play too. > The name in question is the hostname, not the domain. "The HELO > domain and matching reverse DNS domain of the sending IP" means the > same string in two places: what the MTA puts in the EHLO banner > (mailhost.example.com) and what the PTR of the sending IP resolves > to. Not example.com. Thanks, but perhaps my English is not enough for that. My understanding is, that sending host: + connects eg. from 198.51.100.1 + later it sends "EHLO host.example.com" The name host.example.com must have valid A/AAAA record, which resolves to 198.51.100.1? The same for PTR: the IP 198.51.100.1 must resolve to host.example.com? Are both yesY If so, that is the same as FCrDNS, only with EHLO value... Right? In other words, now i can (it is expected) to deny SMTP transaction by EHLO value (despite of RFC prohibits that). Now what about STARTTLS, it has its own HELO (EHLO), are checks for second HELO the same (yes, in most cases they will match, but...)? Is name in receiver side answer to HELO affected by that check too? + client sends EHLO ... + server responds 220 host.example.com ... > "Should have an MX" is a DNS statement, and MX resolution includes > the fallback. RFC 5321 section 5.1: if the MX lookup returns an empty > list, the name is treated as if it had an implicit MX with preference > 0, pointing at the name itself. So mailhost.example.com with an A > record that points at the sending host already answers the MX lookup, > with itself. No separate MX record is needed for the hostname. Dom is > right about what you have to publish and a little quick about what > receivers check: they do resolve MX, they just get the host back. OK, thus fallback to A/AAAA still applies. If so, that just means, that sending host must have listening SMTP server on sending IP. Right? > The failure mode this catches is the one > where A and PTR match perfectly and the roles exist only at the > parent, so [email protected] delivers and > [email protected] is a 550. While it is not my case, yes it is worth to clarify. > It can be tested without sending mail: connect to port 25 at the > host, MAIL FROM your own address, then RCPT postmaster@<hostname> and > RCPT abuse@<hostname>, plus one made-up address at the same hostname > as a catch-all control. 250 at the real roles with 550 at the control > means a door is there. 550 at postmaster@ is the finding. Watch the > control: a domain-wide catch-all makes every probe look like a door. I personally consider having working abuse@... and postmaster@... addresses as good, just for case that something goes wrong. And i want to precise my knowledge, what i can expect from outside (to not block something useful by accident). > Two limits on how far 3.d protects you. The sentence says "should", > and Jaroslaw's point about the document's status holds: this is a > BCP-style list, not an RFC. Neither matters to a receiver that has > already implemented the check, which is why the probe is worth > running on your own hostnames instead of reasoning from the wording. Yes, my interest is mostly on receiver side checks. My server do not send many emails (<100 weekly, sometime even monthly), but that doesn't mean, that i do not need/care do it properly ;-) regards -- Slavko https://www.slavino.sk _______________________________________________ mailop mailing list -- [email protected] To unsubscribe send an email to [email protected]
