Error message with spam

On opening em client and everytime it refreshes, I get this error log pop up to do with all my spam emails. It must be to do with my spam settings possible on my email server that i have set up? It doesn’t stop me using email, just annoying to have it pop up all the time. Any answers?