Hi,

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

my main.cf's smtpd_recipient_restrictions looks like this

smtpd_recipient_restrictions =
            permit_mynetworks,
            reject_unauth_destination,
            reject_rbl_client multi.uribl.com,
            ...
            ... more rbls ....
            ...
            permit


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

/etc/postfix/whitelisted_ips
===================
aaa.bbb.ccc.ddd    permit
zzz.yyy.ppp.www   reject


/etc/postfix/domain_client_IP_access
============================
my-good.domain.com    whitelisted_ips

and change the main.cf as follows

smtpd_restriction_classes = whitelisted_ips

whitelisted_ips = hash:/etc/postfix/whitelisted_ips

smtpd_recipient_restrictions =
            permit_mynetworks,
            check_client_access hash:/etc/postfix/domain_client_IP_access
            reject_unauth_destination,
            reject_rbl_client multi.uribl.com,
            ...
            ... more rbls ....
            ...
            permit

I checked the rejecting part i.e. sending from zzz.yyy.ppp.www IP but still
going through.. also tried at smtpd_sender_restrictions and
smtpd_client_restrictions but still the same..

Great if you could help me with this..

Thanks in advance...

With Best Regards,
Janaka

Reply via email to