How to use global blacklist to increase spam score?

fernoliv

Active Member
Sep 30, 2018
20
4
43
40
Hi guys,

My company have hundreds of Brazilian domains and emails in our PMG (5.0.78) global blacklist. Even with these domains and emails entries in global blacklist, we still receiving a lot of spam from them passing thru PMG and going to our mailboxes. We changed the blacklist rule also to "modify spam level" if a message came from "Blacklist" objects, but it didn't work.

We also tried to use that entry below in our SpamAssassin (local.cf template) rules but it didn't work:

score USER_IN_BLACKLIST 10.0

We understand that blacklist entries of PMG are stored in PostgreSQL. The main idea is that SpamAssassin use the PMG global blacklist to increase the score of spam to block these messages. Do you think that can be possible?

We are using a workaround temporarilly at this moment. We created a file (/etc/postfix/domainblock) and putted an include directly on Postfix (main.cf template) to parse all addresses that shall be discarderd (if match in that list, the messages will be discarded in SMTP level yet). Apparently that is so much radical and probably is not the smarter way to do that. We found another way to do it just adding the bad domains/addresses directly in SpamAssassin config (local.cf template) using e.g. "blacklist_from *@example.com", but we haven't not sure if it will work.

Do you guys have a better idea about how I can do that?
 
Last edited:
  • Like
Reactions: EDSON MARIO

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!