Custom spam rule: Which element is responsible?

larsen

Active Member
Feb 28, 2020
155
17
38
Hello,

I have setup a custom spam rule that contains multiple elements for filtering against reply-to, subject, etc.. This custom rule is linked in "Mail Filter > Rules".
It wouldn't be feasible to create a single rule for each element.

Now, when a mail is rejected, in the logs I can only see "Rejected for policy reasons".
Is there a way to find out which element of my custom rule was responsible?


Lars
 
Now, when a mail is rejected, in the logs I can only see "Rejected for policy reasons".
Is there a way to find out which element of my custom rule was responsible?
only the rule-name is logged - not the individual element in the object

one thing you could do is to split it up at least to some degree
 
I would still have quite a long list after splitting up. Besides, it would be a bit clumsy.

Could the logging be improved to e.g. include the element ID?
At least if the list wasn't changed after a mail was blocked, this would precisely tell me what to look for.
 
Could the logging be improved to e.g. include the element ID?
afaict not easily - the information is not really present at the step where the logging happens

I also don't think that many setups would need that - so would for now not put it on a todo list
 

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!