Blacklist Check Order

koby

Renowned Member
Jun 21, 2012
137
4
83
Natanya , Israel
Hello Guys ,
I have set my PMG with more than 7 blacklists.
My question is , how can I set the order / priority of the check to be preform ?

for example :
How can I set that "spamhouse" will be check before "Abusix" etc...

Thank you for any help.
Koby Peleg Hen
 
Not sure why you would need that - semantically it should not make a difference - if the IP is listed in enough lists to reach your threshold it will get blocked - no matter on which of the lists it's listed

I would expect the lookups to happen in the same order as you list them in the GUI - but don't know the exact implementation inside postfix (additionally postfix does cache responses)

What do you want to achieve with the order?
 
Because I use some commercial black list and pay by the hit ,
I may think that If I can set this blacklist to the end of it it will be much chipper for me.
As you say if the ip get into the threshold at the beginning of the test , it will not need to check the other blacklist as well.

Best Regards ,
Koby Peleg Hen
 
As you say if the ip get into the threshold at the beginning of the test , it will not need to check the other blacklist as well.
From the postscreen howto it seems that the requests are done in parallel:
These servers will be queried in parallel with the reverse client IP address
http://www.postfix.org/POSTSCREEN_README.html

One thing you could try for this specific case is to add the commercial DNSBL as entry in smtpd_client_restrictions - see
http://www.postfix.org/postconf.5.html#smtpd_client_restrictions

you'd need to modify the main.cf.in template:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine

but as said - nothing I've tried - so check the logs and read up on the documentation of postfix

I hope this helps!
 

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!