<source>
The check is simple and old: for the address the connection came from, its reverse record in DNS is taken and compared with the name the submitter introduced itself with in the greeting. The result goes into the same header as the results of the other entry checks.
How it differs from SPF. SPF asks the sender’s domain whether sending from this address is allowed — that is, it relies on someone else’s record, which the domain owner maintains. This one relies on the address record maintained by the address owner — and speaks not about the right to send but about how carefully things are set up.
The defaults of the three refusals here are the opposite of the SPF family. There all three reject, here all three let messages through. Enabling the check by itself rejects nothing.
It is safe to enable. Unlike SPF, the refusal defaults here let messages through: at first the check only observes.
The result is a marker, not a verdict. Its place is in the overall assessment of the message along with the others, not in the “accept or not” decision.
Enable the trace separately and temporarily — trace-iprev-check.
# we check and record the result; refusals are not enabled <source 0/0> check-iprev-inbound true</source>
what people get wrong and how it ends2 mistakes▶
our experience
our experience
2 relations
trace-iprev-check<source>The line does not fire until the reverse check is enabled. § 3.3.7.26reject-iprev-check-temperror<source>The line does not fire until the reverse check is enabled. § 3.3.7.27reject-iprev-check-permerror<source>The line does not fire until the reverse check is enabled. § 3.3.7.28
grep -n check-iprev-inbound /etc/pmta/config dig +short -x 198.51.100.10
3 articles
◇Who is allowed to submit mail and for whom to accept itOut of the box, the node accepts submission only from the machine itself; two different questions — “who can send through us” and “for whose addresses we accept mail” — are answered by different directives.◇Two inbound report processors and what to do with themBounces by message and complaints are parsed by two identically structured blocks; each has its own address list and its own pair of decisions about the message’s fate.◇Address lists — named and unnamedA list of addresses, domains, patterns or hashes; a named one is attached by directives such as suppression, an unnamed one lives inside an inbound mail processor.