Marking messages as Spam in IMAP client?

Marking messages as Spam in IMAP client?

Hi!

I usually access my Zoho mail through my own local IMAP client.  If I use the IMAP client to move a message to Spam, will this also mark it as Spam for the purpose of Bayesian, or whatever kind of server-side filtering Zoho uses?

Thanks.
D.