Copy mail between imap accounts

Quick way to copy mail. Useful after updating MX records and grabbing any stragglers after a few days.

grab pop2imap then run something like

 

./pop2imap --host1 ORIGINALHOST --user1 info@website.com --password1 something123 --host2 NEWHOST --user2 info@website.com --password2 something123

Leave a Reply

Your email address will not be published. Required fields are marked *