The closest is RHSBL, as these are hostname based, not IP based. But
these look up the full hostname, not just the domain name. You could
handle this on your back-end with wildcards...
Looks like the RHSBL rules included in SA looks up the domain the From:
email address in the envelope using check_rbl_envfrom. I've verified that
with tcpdump on port 53.
However, on the "connecting machine" part, SA does not have any concept
of what the "connecting machine" is. SA doesn't even know there's such
a thing as a connection. SA can only perform RBL checks against what it
finds in the Received headers.
In general, with a few exceptions, SA checks theevery host in the
Received: headers that isn't a part of internal_networks. It checks
the IP of each against all the RBLs and the host name of each against
all the RHSBLs.
The hostname of the email address in the envelope. What I'd like is a way
to take the hostname that is the last received header and look that up,
just as its currently looking up the IP address.
sam