I migrated my mailserver from an Ubuntu based VPS to a NethServer7 based VPS and used imapsync to move all the mails.
I installed imapsync on the ‘old’ server and moved all mail data to the new (NethServer) server. Quite straighforward.
Some more info in our wiki: https://wiki.nethserver.org/doku.php?id=imapsync&s[]=imapsync
I tried imapsync and after some mistakes now it is importing the mailes … I have to wait, because there are ~16000 and more mails.
But I don’t understand, why rsync-upgrade only copied all email-folders to neth7, without advice.
I’m a little bit disappointed.
I hope, after this imapsync there is enough space on neth7…
… Now imapsync break because more then 50 errors. I never thought that this would be so much stony…
Thanks anyway!
The problem is: because there is another mail-server on neth7 with another structure as in neth6.
That’s why I can’t see mails in sogo4/neth7…
There have to be more steps to real MIGRATION.
Rsync-upgrade only copies structures/files from neth6 to neth7 without conformation
Thanks,m.traeumer,
this I tried before.
But without success, something like " error in mail system "
…
Sorry, it was my mistake - I have to copy/move only the maildirs ! NEVER COPY files dovecot.*
But this method is only reasonable if there are less email-accounts on mailserver.
… new problem:
I found no way to define mail quota - Example:
on neth6 was a user1 (name Max Muster). His account had mail quota 20GB!
After upgrade to neth7 I have to move his emails from folder /var/lib/nethserver/vmail/user1 to folder /var/lib/nethserver/vmail/max.muster@xy-systeme.de. 16000 emails with 15GB
But on dashboard I find the account max.muster@xy-systeme.de only as mail alias and there is no chance to define mail quota.
Now it’s not possible to use this mail account (only look to old emails) … because of content > 2GB.
How can I correct this ?
this mask on dashboard I know… BUT…
after upgrade neth6 >> netht7 I only found user1 (neth6-username) in this list with 20GB mailbox quota.
But max.muster@xy-systeme.de only found on tab Mail aliases. Please look on this tab - there is no chance to define mailbox quota for the mail aliases.
Sogo shows sadly the boxes of mail aliases…
think this is a “special effect” of upgrade neth6-workstation —> neth7-LDAP-server
Sadly it is not possible to create neth7-workstation without LDAP/AD…
on neth6 there is under Management >> Email-addresses this list:
user1=Max can see all emails under sogo, but with red warning " usage … 767% "
user3=info can see NO emails after sogo-login ???
It’s a mystery … Now I think there is no automatic update possible in my situation.
Next I start from the beginning and create manually user1 with email max.muster@~, quota 20GB,
and try to import emails with imapsync from neth6…
On the Neth6-Server exist at the moment 25 users … …