Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Backup / Restore IMAP accounts to new host

  • 4 回覆
  • 0 有這個問題
  • 最近回覆由 movnet

more options

Hello,

I need to transfer all e-mail accounts of a domain to a new E-mail host. My idea is to configure a thunderbird client in a server with all domain e-mail accounts in order to back up then. When I switch the domain to the new E-mail host, the idea is to use this backup to populate the new accounts on this host.

In order to test my idea, I did the follow steps:

1) Create a new e-mail account 2) Configured Thunderbird with this account (IMAP) and populate it with some messages and folders. 3) Did the Backup of thunderbird account profile. 4) Closed the Thunderbird 5) I’ve deleted the account a created it again with the same credentials, in order to simulate the account on a new host. 6) Then I Opened Thunderbird and, after synchronize the account, restore the profile.

The problem: As the message sync is done from the host to the client (Thunderbird), All messages restored are deleted. This because the new account have no messages in the host.

Question: Is there a way to use thunderbird to restore all messages of the profile to a new account?

I will need to do this for the almost 90 e-mails accounts of the domain. Anyone know a (free) tool that can do this?

Best Regards,

Marcelo

Hello, I need to transfer all e-mail accounts of a domain to a new E-mail host. My idea is to configure a thunderbird client in a server with all domain e-mail accounts in order to back up then. When I switch the domain to the new E-mail host, the idea is to use this backup to populate the new accounts on this host. In order to test my idea, I did the follow steps: 1) Create a new e-mail account 2) Configured Thunderbird with this account (IMAP) and populate it with some messages and folders. 3) Did the Backup of thunderbird account profile. 4) Closed the Thunderbird 5) I’ve deleted the account a created it again with the same credentials, in order to simulate the account on a new host. 6) Then I Opened Thunderbird and, after synchronize the account, restore the profile. The problem: As the message sync is done from the host to the client (Thunderbird), All messages restored are deleted. This because the new account have no messages in the host. Question: Is there a way to use thunderbird to restore all messages of the profile to a new account? I will need to do this for the almost 90 e-mails accounts of the domain. Anyone know a (free) tool that can do this? Best Regards, Marcelo

被選擇的解決方法

Hi,

For those who needs to make a local IMAP account backup and then restore it (E.g. to another host), should take a look at rick-sanders-imap-tools (https://github.com/andrewnimmo/rick-sanders-imap-tools ) It is some Perl scripts that can (among other things) do the job.

I'll close this post as solved.

Best Regards,

Marcelo

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

You're wanting to move server files from one server to another. Do you have access to the servers, such as via FTP? There is a freeware tool called imapsize that you could look at, as it can create backups from the server and (apparently) restore to the server, but I have never tried it. Thunderbird could do it, but it's a laborious process and problem-prone, as IMAP was not designed for mass uploads.

有幫助嗎?

more options

Hi David

Thank you for the answer. The IMAPSIZE is a great tool and does IMAP backup as I need. But I'm using Linux and searching for alternatives I've found imapbackup (https://taoofmac.com/space/projects/imapbackup ), a python script that have some limitations but worked fine for me. It downloads whole IMAP accounts in mbox files that could be read by thunderbird. Unfortunately, the IMAP messages flags (as read messages flag) are lost with this method. There is also the imapcopy tool that can copy all messages from a host A to host B.

Best Regards,

Marcelo

有幫助嗎?

more options

Thanks for the feedback. I rarely see this situation, and I'll keep the info. :)

有幫助嗎?

more options

選擇的解決方法

Hi,

For those who needs to make a local IMAP account backup and then restore it (E.g. to another host), should take a look at rick-sanders-imap-tools (https://github.com/andrewnimmo/rick-sanders-imap-tools ) It is some Perl scripts that can (among other things) do the job.

I'll close this post as solved.

Best Regards,

Marcelo

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題