Negative Spam Score Count in PMG Statistics

Jan 19, 2026
7
1
3
Hello,

I noticed what appears to be incorrect calculation/display of the “Spam Scores” statistics in the PMG web interface.

Under:

Statistics -> Spam Scores

for the date 2026-05-20, the interface shows:

Score 0 = -20
Percentage = -16%

which should not be possible, since message counts cannot be negative.

The remaining values appear normal:

Score 1 → 10
Score 4 → 38
Score 5 → 35
Score 7 → 59
Score >=10 → 5

This looks more like a statistics aggregation/UI issue rather than an actual mail filtering problem.

Environment:

Proxmox Mail Gateway
issue visible only in the web statistics view
spam filtering itself works correctly

Has anyone seen similar behavior before?
Is there a way to rebuild/reset PMG statistics?

Screenshot attached.

1779281346385.png