Apply button in the "diff" panel at the bottom of the Custom Scores tab?Yes, sure. and tried to restart various services, and tried to reboot the host, but for some reason the correlation does not applyHello,
Just to be sure to not miss the obvious here: you did indeed apply the changes using theApplybutton in the "diff" panel at the bottom of the Custom Scores tab?
* how does the file `/etc/mail/spamassassin/pmg-scores.cf` look on your system?Yes, sure. and tried to restart various services, and tried to reboot the host, but for some reason the correlation does not apply
this is the file where the custom scores are written once you apply the changes you did in the GUI as @t.lamprecht pointed out.but the pmg-scores.cf file is empty. What needs to be added to this file?
As I said, I save the changes in the GUI, but for some reason they are not made to /etc/mail/spamassassin/pmg-scores.cfthis is the file where the custom scores are written once you apply the changes you did in the GUI as @t.lamprecht pointed out.
try changing a score (or adding a 0 score for a bogus rule) and clicking Apply again) - check the journal and /var/log/pmgproxy/pmgproxy.log to make sure there is no error in that part.

This call should apply the custom scores (and the diff should then vanish from the bottom of the page...)[01/10/2024:10:51:40 +0300] "PUT /api2/extjs/config/customscores HTTP/1.1" 200 95
using the example of adding a MIXED_ES rule with a score of 1This call should apply the custom scores (and the diff should then vanish from the bottom of the page...)
Tested this here - and it works reliably
after applying the scores - what's the content (if the file exist) of:
* /var/cache/pmg-scores.cf
* /etc/mail/spamassassin/pmg-scores.cf
also - do you see any issues in the system-journal when you apply the scores?



was it installed on top of a Debian GNU/Linux installationplease post text as text (in a code block) instead of screenshots
else - please post the output of `mount` and `ls -la /var/cache`, and `pmgversion -v` (as text in code blocks)
how was the PMG setup? (install from ISO, is it a container running on PVE, was it installed on top of a Debian GNU/Linux installation?)
Thank you, can you tell me how to install this patch?Thanks for the information - I think I found the issue - your PMG has /var on a separate filesystem - and the moving of the file does currently not work across filesystem boundaries - I prepared a patch to address this:
https://lore.proxmox.com/pmg-devel/20241002172238.20947-1-s.ivanov@proxmox.com/T/#u
once this or an improved version has been applied and released applying the custom scores will also work for your installation!
Thanks for the report!!
did it fix the issue for you ? (this information helps us to apply it fasterThanks, I figured it out
Yes, the problem with adding custom scores is gone. Thank youdid it fix the issue for you ? (this information helps us to apply it faster![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.