how I transfered my mails from uberspace v6 to v7
I thought I read somewhere a blog post or forum entry about how to tranfer mailboxes with all mails an configuration from an uberspace v6 account to a uberspace v7 account. I could not find anything later on.
I just asked the excellent support on twitter and got soon a reply:
kopiere die Datei ~/passwd.cdb und den Ordner ~/users inkl. Unterodner vom alten auf den neuen Uberspace, lege die Domain(s) dort an und ändere den/die MX-Record(s).
— Uberspace Support (@hallouberspace) October 9, 2019
So I just went to work. (See later tweets about qmail files etc.)
[dot@johnson ~]$ scp <old-user>@<v6-hostname>.uberspace.de:~/passwd.cdb .
[dot@johnson ~]$ scp <old-user>@<v6-hostname>.uberspace.de:~/.qmail* .
[dot@johnson ~]$ scp -r <old-user>@<v6-hostname>.uberspace.de:~/users/* ~/users
[dot@johnson ~]$ scp -r <old-user>@<v6-hostname>.uberspace.de:~/ezmlm/* ~/ezmlm
Then I added the domain for mail with this simple command:
uberspace mail domain add <domain>
and went to my domain registrar to change the MX-Record and add an TXT-Record for SPF.
I also removed the domain from my old uberspace account.
I copied after some hours the files in ~/users/again to make sure all mails are up to date in the new place.
In the e-mail client I had to change the server name for IMAP and SMTP and the user name. (server name = <hostname>.uberspace.de, user name = <uberspace-username>-<mailaddress> )