Read/unread not updating could be due to an issue between Mail and the server or a problem with your Mail database that you could fix by rebuilding.
Recent versions of Mail sometimes have trouble moving messages to a local mailbox or one on a different server. I recommend switching from the Spam mailbox to the Junk mailbox (on each server) as described here.