Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Good morning everyone. Our client has moved their domain to another server we provide (moved from VM to dedicated). Can anybody advise me on how to import the client's e-mails from the previous IP address (the VM had)? The client has the same e-mail address that he used to have before moving to dedicated server. We use Kloxo control Panel and the client used Roundcube web mail to access their e-mails. Thanx in advance!


locked by HopelessN00b Apr 9 at 19:14

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as off-topic by HopelessN00b Apr 9 at 19:14

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers 3

up vote 1 down vote accepted

To import emails in kloxo here is the folder, you just need to copy them (I think)




I'll start by admitting I've never even heard of Kloxo, but my general solution to "how do I bulk-migrate mail from server A to server B" is to find out if both source and destination servers support IMAP, then use an IMAP client that deals well with bulk operations - personally, I prefer alpine - and bulk-copy the contents, one folder at a time, from source to destination.

If I had a really large number of folders to move, I suspect there exist PERL scripts for this sort of thing, which again do it via IMAP; but I've never yet had a need for that

IMAP's a well-understood and well-implemented standard, and using a protocol-based method lets you sidestep round questions of internal storage format, indexing, and so on, as each server will provide that for itself.

Actually kloxo users qmail as a mail server, if this makes it more specific. –  alfista16 Oct 16 '12 at 8:01
No, but it opens up the common misunderstanding that there's such a thing as "a mail server", one fostered (imho) by exchange. In most implementations, the sending of mail out, and the reading of mail in, are two completely different functions, handled by at least two different daemons. The former, which implements the SMTP protocol, is known as a Mail Transport Agent (MTA); qmail is one such. The latter, which implements IMAP and/or the POP protocols, are known as IMAP/POP daemons (though often an IMAP daemon will do POP for free, as it were); I'm interested in what you have there. –  MadHatter Oct 16 '12 at 8:11

Actually the answer was much simpler than i expected. I just had to copy (using the scp command) the files from the mail directory of the old server to the respective mail directory of the new one, which by the way for a kloxo control panel is:

/home/lxadmin/mail/domains/[client's_domain]/[clients e-mail]/Maildir/cur


Not the answer you're looking for? Browse other questions tagged or ask your own question.