SA Ignoring Custom Scores

XN-Matt

Well-Known Member
Aug 21, 2017
91
7
48
42
We've got about 25 custom scores set via the GUI with pmg-smtp-filter reloaded via the GUI and also on the command line.

Is there anyway to debug why SA is ignoring the custom scores?
 
They are matching the mail as they appear in the mail headers but the score is not the custom one set.

Have run the message through to check but no errors were seen.

Are all custom scores matchable or will there be some just ignored?
 
hmm one potential explanation is that the custom-score file '/etc/mail/spamassassin/pmg-scores.cf' does not get read/included ...
This could happen if you've overridden the spamassassin configuration for the templateing system:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine

(sometimes this happens inadvertently by copying all files from /var/lib/pmg/templates...)

does

Code:
spamassassin -D all --lint 2>&1 |grep pmg-scores
produce any output?
 
I think this was actually due to a cluster sync issue. All the non-master nodes were stuck in "syncing". No matter what I did I could not get that to change so rebooted them all and now things are fine.

So the issue appears to be that the changes on one node (master), were not filtering through to the others and giving the impression that they were being ignored.

Might be a good idea to write up more about the cluster page and the statuses and what the expected output should be (i.e active) and what syncing means and how long that should be shown (i.e not days/hours continually)
 
think this was actually due to a cluster sync issue. All the non-master nodes were stuck in "syncing". No matter what I did I could not get that to change so rebooted them all and now things are fine.
that would explain the issue - glad that the cause was found.

Might be a good idea to write up more about the cluster page and the statuses and what the expected output should be (i.e active) and what syncing means and how long that should be shown (i.e not days/hours continually)
The cluster documentation could indeed profit from an expansion - would you please open an enhancement request over at https://bugzilla.proxmox.com?
(of course should you have time and wish to do so - a patch would be even better )
 

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!