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?


Have the mail sent directly to your server, or do the RBL checks on the other server.

To send the mail directly to your server, just add appropriate MX records. For example:

dom1  IN  MX  0 mail.dom1.example.com.
  • Sadly, it is not possible :( – user1010 May 28 '13 at 5:44
  • 1
    Then you must figure out how to make it possible. – Michael Hampton May 28 '13 at 5:54
  • I didn't mean to sound rude, but by not possible I meant it is "company policy". The only MX record visible to outside world is of example.com and all the mails are then forwarded to respective mail servers responsible for sub-domains. – user1010 May 28 '13 at 6:33
  • Then you do the RBL checks on the other server, or change the company policy. – Michael Hampton May 28 '13 at 6:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.