• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Is it possible to migrate mailbox passwords?

RenWeb

New Pleskian
I am migrating a number of domains from one server (Onyx) to another (Obsidian). Several use WordPress-based websites that have 100's of WP users, which is no problem as the encrypted passwords can be transferred from one user database to another. However, this appears to not be as easy with the Plesk-based mailboxes.

According to all info I have been able to find, using the 'Mail Import' requires the use of each user's password on the source mailbox? Can this be true? We have to compromise, or temporarily change, every user's PW and get them to reset it afterwards?!! Why can the encrypted PW not just be copied over?

Help! We all have much better ways to spend our time!
 
Did you look into the Plesk Migrator? Very useful extension for migrating subscriptions, customers or resellers from one server to another. Without the need to reset passwords or have to manually import all mailboxes.
 
Last edited:
Yes, but only briefly as, in the case of one of the domains, we do not want to migrate the website itself. The DNS for the site has already been switched to a 'cleaned up' version that iuses a much later version of PHP. This site updates with user data constantly (there is no 'going back'). Similar with other domains. We only want to switch the mailboxes over.
 
I see. In that case you have some manual work a head of you migrating each mailbox separately. You can however retrieve all your current mailbox passwords using this script: /usr/local/psa/admin/bin/mail_auth_view. That will save you the trouble having to change the passwords for each mailbox.
 
Last edited:
So, I've migrated a bunch of mailboxes with their login credentials from the 'Onyx' (old) server to the 'Obsidian' (new) one using the 'Mail Importing' facility on the new server. DNS records for 'mail.domain.com' etc (on a 3rd party domain ISP's nameserver) still point to the old server.

However, the mailboxes on the new server are all empty of messages. I was expecting that the migration process was intended to import them? Otherwise, how on earth to do it? Why is this so difficult?! :-/
 

Attachments

  • Screenshot 2021-09-14 at 13-51-05 Mail of glastonburycdt org - Plesk Onyx 17 0 17.png
    Screenshot 2021-09-14 at 13-51-05 Mail of glastonburycdt org - Plesk Onyx 17 0 17.png
    73.7 KB · Views: 7
  • Screenshot 2021-09-14 at 13-52-53 Mail of glastonburycdt org - Plesk Obsidian 18 0 37.png
    Screenshot 2021-09-14 at 13-52-53 Mail of glastonburycdt org - Plesk Obsidian 18 0 37.png
    67.1 KB · Views: 6
So, when I update the DNS for 'mail.domain.com' etc and the users' local IMAP mail clients synchronise with the new versions of the mailboxes, what will happen? There is no indication in the 'docs'. Will the users find all messages are removed from their local version? Why is this not explained anywhere easy to find?
 
Does the status of migration show 'Imported' for each mailbox? As indicated in the example below?

Schermafbeelding 2021-09-14 om 15.21.38.png

If you doubt the messages of a mailbox are actually imported you'll have to login to webmail and look in the specific mailbox.
 
Hi. Back again.
Yes, the status of migration shows 'Imported' for each mailbox. However, 2 of the new mailboxes were configured as aliases on the old server and are now stand-alone. Sizes of all show as 4.00KB (apart from one as it is used constantly and fetched into G-Mail). See attached:
1. Mail of domain on old server
2. Import Mail screen of new server
3. Mail of domain on new server
4. Mail of domain on old server after 'migration' and DNS updated at domain ISP nameservers
5. Email Aliases of mailbox on old server
6. Logging into webmail on new server
7. Mailbox is empty on new server

I have one more domain to import with a mailbox containing 1000's of messages that I don't want to lose access to. Only way round this that I can see at the mo is to 'archive' all messages off the old server and put back into mailbox after migration? What a pain! :-/
 

Attachments

  • Screenshot 2021-09-14 at 12-35-33 Mail of glastonburyopportunities org - Plesk Onyx 17 0 17.png
    Screenshot 2021-09-14 at 12-35-33 Mail of glastonburyopportunities org - Plesk Onyx 17 0 17.png
    74.3 KB · Views: 4
  • Screenshot 2021-09-16 at 10-15-30 Plesk Obsidian 18 0 38.png
    Screenshot 2021-09-16 at 10-15-30 Plesk Obsidian 18 0 38.png
    48.4 KB · Views: 4
  • Screenshot 2021-09-16 at 10-18-03 Mail of glastonburyopportunities org - Plesk Obsidian 18 0 38.png
    Screenshot 2021-09-16 at 10-18-03 Mail of glastonburyopportunities org - Plesk Obsidian 18 0 38.png
    77.5 KB · Views: 4
  • Screenshot 2021-09-16 at 10-21-54 Mail of glastonburyopportunities org - Plesk Onyx 17 0 17.png
    Screenshot 2021-09-16 at 10-21-54 Mail of glastonburyopportunities org - Plesk Onyx 17 0 17.png
    43 KB · Views: 2
  • Screenshot 2021-09-16 at 10-22-39 admin glastonburyopportunities org - Plesk Onyx 17 0 17.png
    Screenshot 2021-09-16 at 10-22-39 admin glastonburyopportunities org - Plesk Onyx 17 0 17.png
    20.5 KB · Views: 2
  • Screenshot 2021-09-16 at 10-29-34 Roundcube Webmail Welcome to Roundcube Webmail.png
    Screenshot 2021-09-16 at 10-29-34 Roundcube Webmail Welcome to Roundcube Webmail.png
    11.9 KB · Views: 3
  • Screenshot 2021-09-16 at 10-30-30 Roundcube Webmail Inbox.png
    Screenshot 2021-09-16 at 10-30-30 Roundcube Webmail Inbox.png
    29 KB · Views: 3
I am not really sure if fully understand the issue you are facing? You've migrated the mailboxes using the Plesk Mail Import tool, but the messages from the mailboxes on your (old) source server don't show up on the (new) mailboxes on the target server?
 
Hi. Yes, the mailboxes migrated over but they contained no messages.

I repeated the process with the last domain to be moved (my own). I created the domain and used the Plesk 'Mail Import' tool to migrate my own mailbox over. Before doing this, I made sure all mail was archived locally. This time, it seemed to work - I could see the 'count' of messages as they were imported. However, the messages were all dumped in the inbox, whereas they had been in various sub-folders on the old server.

Anyway, moving forward, I have decided not to use subfolders in the mailbox for 'storing' messages in future and have modified my local mail client filters to archive locally any messages I need to keep for reference. From there, I can sychronise using a 3rd party tool for access from different locations.

The old server is now abandoned and forgotten. Many thanks.
 
Back
Top