1
Migration from Dovecot
Question asked by Jan Becher - Yesterday at 2:30 AM
Unanswered
Hi,

I need to figure out, how to migrate from Dovecot (to SmarterMail).

Is it possible to get the users/password out of Dovecot,  and then use this to create mailboxes on SmarterMail via API?

After that, i could do Imapsync, to get the mails migrated.

Anyone have done this?

/Jan


5 Replies

Reply to Thread
0
Sébastien Riccio Replied
In dovecot you can configure a master user/password that would allow you to authenticate as any user. This might help you for your migration.

You can check more infos about it here:

You might also find some howto's by looking up dovecot master user on the interwebs.

EDIT: Ok it would help for the migration, but not for creating mailboxes with the same password as you probably can't get your hand on clear text password in dovecot. Well, at least that depends how the passwords are stored in your dovecot installation.

Kind regards
Sébastien Riccio System & Network Admin https://swisscenter.com
0
Jan Becher Replied
Hi Sebatien 

Thanks for the input.
I will look at the master password.
The biggest issue are however,  that 3.500 users needs to get new password.
0
Tony Scholz Replied
Employee Post
If you manage to get the passwords from Dovecot SmarterMail does have an API that can be used to create the users via API

AddUser

AddUsers

You can also Import users via CSV in the web interface. 

Thank you

Tony Scholz System/Network Administrator SmarterTools Inc. www.smartertools.com
0
Jan Becher Replied
Hi Tony,

Thanks, that was the API I was refering to, in my first post, and I would use to create the users.

/Jan
0
Zach Sylvester Replied
Employee Post
Hey Jan,

If I were handling this password issue, I'd start by asking customers to update their contact information in your CRM or set up a web form for them to submit it. Then, I'd notify them by email about the situation. Using the API, I’d create user accounts, assigning each a randomly generated password and setting the "force password change" flag for the first login. I’d securely store each user's email and temporary password in a database. Once the server is up, I'd use a script or Twilio API to send login details to users via email or text.
For anyone who misses the initial message, I would use SmarterMails custom login page settings to update the help button to go to your support portal or I would add a support contact number directly on the login screen.

Kind regards,
Zach Sylvester Software Developer SmarterTools Inc. www.smartertools.com

Reply to Thread