[SOLVED] Custom rules do not work in Proxmox Mail Gateway

emptness

Member
Aug 19, 2022
112
6
23
Hello!
I have such a problems.
I add a simple rule on the contents of the body of the letter to /etc/mail/spamassassin/custom.cf, it works. The header shows that SA exceeds the established limit of 5. But the letter does not get into spam, but reaches the recipient!
What could be the matter, do you need some additional settings?
And another question: is there any way to block a letter by the hyperlink contained in it?

Please help, this should work! But no)
 
But the letter does not get into spam, but reaches the recipient!
check the logs for the mail - which rule is the one that sends it to the recipient?

in other words - if spamassassin assigns 5 points to the mail - your rulesystem needs to contain a rule that puts mails with spam score 5 (and above) into quarantine or blocks them...
 
check the logs for the mail - which rule is the one that sends it to the recipient?

in other words - if spamassassin assigns 5 points to the mail - your rulesystem needs to contain a rule that puts mails with spam score 5 (and above) into quarantine or blocks them...

Hello!

Thank you so much for the answer!

Solved the problem. It was about the domain added to the Whitelist, from which the check took place. As a result, everything works as it is written in the manual. The problem was my inattention)​

 
Last edited:
  • Like
Reactions: Stoiko Ivanov
You're welcome! glad that you found the issue :)

If possible please mark the thread as 'SOLVED' (by clicking on Edit Thread and selecting 'SOLVED' as prefix) - this helps others who also run into this kind of issues

Thanks!
 
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!