How to restore mails from unix mbox file to imap server?

I accidentally let mutt to move all read emails from the server to local mbox file. How to restore mails to the server?


Open the mbox file in mutt (mutt -f ~/mbox or the c key), tag all messages (T), move them back (; s).