Hi @Bence98,
Seems that the reinstallation of SpamAssassin didn't help you. Most likely the packages are not configured now.
You can check it by running:
dpkg -l | grep spamassassin
dpkg -l | grep sa-compile
The packages will be marked either with iU or iF flags.
There can be 2 different...