[SOLVED] RBL Whitelist

Dec 27, 2020
106
16
23
44
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!