I'm using Mail on iOS with an IMAP account. When I flag an email and choos "move to junk" the emails disapears from my inbox. After syncing the account again the email is back in the inbox.
Checking the inbox at OSX shows it marked as spam and it's still in the inbox.
How can I make Mail on iOS doing what the label states: Mark the email as spam and move it to the junk folder?