Jan201026

Date: Jan 26 2010

Yes sounds easy but I spent sometime looking for the perfect way to import imap mail for any mail server to imap gmail. This is particularly useful if you are transferring your existing mail accounts to google hosted application.

This handles transferring all existing imap folders and even putting your sent mail, spam, drafts, trash into gmail’s special folder naming convention. Beware this is one sexy script!Its pretty short and sweet. All you need is the program imapsync(ie. ubuntu: apt-get install imapsync)

6 Comments to “ImapSync to Gmail Script”

Hey thanks for your script it’s really usefull. Could you explain the last part? [quote]–folder “Inbox/Sent” –prefix2 ‘[Gmail]/’ –regextrans2 ‘s/Inbox\/Sent/Sent Mail/’ \[/quote]What part is the folder from host1 and what part the folder from host2 (gmail)? Could you perhaps give an example where e-mail gets labeled with a non standard gmail label? Thanks in advance.

With the new release of Zimbra 7 migration is built into the interface, one thing i did not see is lotus notes migration. wonder if that tool is still used since we have done many IBM domino lotus note migrations to Zimbra.