We are running a mail server which is responsible for a sub-domain (say, dom1.example.com). All the mails sent from Internet are received through our relayhost (mail server responsible for example.com).
I want to perform RBL/RHS checks in Postfix (v2.7.0) or any policy server before accepting the mail. All the client restrictions (reject_rbl_client, etc.) are of no use as our relayhost is a client for our mail server and RBL checks are not getting performed on source IP.
Is there any way to specify that RBL check should be done on source IP instead of our relayhost?