On 2011-10-19 19:37, Janaka Wickramasinghe wrote:"

     Is there a way to by pass RBL check for a specific domain and
receiving from specific IP,

Yes.

        I've tried creating a smtpd_restriction_class where I assign
whitelisted_ip and hash list linking the whitelited_ip with domain as below,

You don't need that. It was designed to create rules for groups of *your* users. Besides - you configured it in wrong way - see http://www.postfix.org/RESTRICTION_CLASS_README.html

You can use just "check_client_access" option. Use OK for accepting and REJECT for rejecting emails from particular clients. Both IP addresses and domain names are allowed. See http://www.postfix.org/access.5.html

Postfix is really, really well documented.

Best Regards
--
Kamil Raczynski

Reply via email to