将电子邮件转移到新主机?
一位客户正在从他们的旧托管迁移到我的托管。他们在旧主机上有一些电子邮件帐户,我想将旧主机上的所有电子邮件移至我的。我该怎么做?如果我使用 POP 下载它们,然后可以将它们上传到新主机吗?
A client is moving from their old hosting to mine. They have a few email accounts on the old hosting and I want to move all the emails on the old hosting to mine. How can I do this? If I download them with POP can I then upload them to the new hosting?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
答案取决于您使用的邮件服务器。是的,您可以使用 POP3 下载所有邮件,但上传到您的邮件服务器将取决于邮件服务器的类型。我不知道有任何邮件服务器提供导入邮件消息的工具。
大多数邮件服务器将电子邮件存储在文件中,您当然可以将文件放入存储它们的文件夹中,但这并不意味着它是可见的,您必须处理邮件服务器如何索引这些文件。
我建议查看您的邮件服务器的规格。
The answer depends on the mail server that you are using. Yes, you can download all the mail messages with POP3, but the upload to your mail server will depend on the type of mail server. I am not aware of any mail servers that provide a tool to import mail messages.
Most mail servers store the email message in a file, and you can certainly drop the files in the folder where they are stored, but that does not mean that it will be visible, you will have to deal with how the mail server index those files.
I suggest looking at the specifications for your mail server.
如果您使用 IMAP(现在大多数主机都支持)而不是 POP 访问这两个帐户,您可以在两个电子邮件帐户的文件夹/收件箱之间拖放邮件。
此外,根据他们要移出/移至的主机类型,您也许可以使用新服务器控制面板的一项功能来进行导入...除非您在普通 VPS 或专用服务器上手动执行此操作。仍有选择,但您需要在此处确认新服务器的设置方式以及旧服务器的外观。
如果您只讨论几个帐户,每个帐户都有几个文件夹,您可能只想将 IMAP 视为阻力最小的路径。传输主要取决于您自己的互联网连接,因为大多数托管公司的连接速度比您的更快。
最后,如果两台服务器共享相似的邮箱格式,您可能只想将电子邮件同步到新服务器(假设您在两台服务器上都具有根访问权限)到正确的电子邮件目录。根据电子邮件箱格式,您可能只需运行服务器命令即可将邮箱“转换”为服务器期望的格式。
If you access both accounts with IMAP (most hosts support this now) instead of POP, you can literally drag and drop the messages between folders/inboxes for the two email accounts.
Also, depending on the type of hosting they're moving from/to, you may be able to use a feature of your new server's control panel to do the importing...unless you're doing it manually on a vanilla VPS or dedicated. There are still options, but you'd need to confirm here how your new server is setup and what the old server looks like.
If you're only talking about a couple of accounts with a few folders each, you may just want to consider IMAP as your path of least resistance. The transfer will primarily depend on your own Internet connection, as most hosting companies have connections faster than yours.
Lastly, if both servers share a similar format for the mailbox, you might want to just rsync the email over to the new server (assuming you have root access on both servers) to the proper email directory. Depending on the email box format, you may be able to simply run a server command to "convert" the mailbox to the format your server is expecting.