Hi,
Seem your custom score did not write to file /etc/mail/spamassassin/pmg-scores.cf, so it was not working. Please try remove old custom score from PMG UI then try add it again. Your new score must be write to file /etc/mail/spamassassin/pmg-scores.cf
P/S: Try step by step:
First remove old...