I recommend using the MacSonik IMAP Backup Tool, you can easily back up emails from IMAP Server to different file formats like PST, PDF, MBOX, EML, EMLX, MSG, CSV, DOC, DOCX, etc. It removes duplicate emails based on To, From, Date, and Subject. Using this utility you can migrate IMAP mailboxes...