Ronald F. Guilmette wrote:
Postfix doesn't actually
have the specific bit of information I want/need in my policy server
(despite the fact that I had really hoped that it did) and thus it
When a policy service is called, postfix doesn't know if a
specific client has relay access. YOU define who has relay
access in smtpd_recipient_restrictions, which may have complex
nested rules, and may not have been evaluated yet.
However, postfix does know if a client is within mynetworks.
It's not unreasonable to add a "mynetworks_client=[yes,no]" to
the policy protocol.
Hack up a patch (with a terse documentation diff too) and
submit it for comment.
--
Noel Jones