[SOLVED] RBL Whitelist

zolthar

Active Member
Dec 27, 2020
108
17
38
45
I am currently using Abusix and a certain IP has been marked as reject/disconnect.

Our client needs their emails and the listed IP isnt abused and just needs to be cleared from Abusix DB.

I did see this:
But in the interim, I have had to stop Abusix so their emails can come through - how can I implement a whitelist at the MTA level that will survive any future distro/package upgrades?

Code:
nano /etc/postfix/wl_ip
1.2.3.4 OK

nano /etc/postfix/wl_email
email.com OK

nano /etc/pmg/templates/main.cf.in
smtpd_recipient_restrictions =
        permit_mynetworks
        check_client_access hash:/etc/postfix/wl_ip
        check_sender_access hash:/etc/postfix/wl_email
        reject_unauth_destination

postmap /etc/postfix/wl_ip
postmap /etc/postfix/wl_email
systemctl restart pmg-smtp-filter
 
Last edited: