Spam Thunderbird Android

Spam Thunderbird Android

I have IMAP configured on Zoho. I don't use the web interface, but access it from Thunderbird (on the PC) and by the Samsung email app on my phone.

The issue is that when I mark something as spam on one of the clients, it never gets marked that way on the server. Thus the spam keeps coming.

Is this a configuration issue? A bug? Should I be doing something differently?