The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mailbox access delegation for IMAP Mail migration

Discussion in 'E-mail Discussions' started by HItesh2006, Jul 20, 2016.

Tags:
  1. HItesh2006

    HItesh2006 Registered

    Joined:
    Jul 20, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Singapore
    cPanel Access Level:
    Root Administrator
    Dear Memebers,

    We are planning to Migrate thousands of users from cPanel to Microsoft email platform so we need one User who can be used as Service account to migrate all mailboxes data. (Delegated user which can copy all mailbox ) , we cannot collect end user passwords. How can we create such user.

    Kindly help Urgently !!!

    We are using :

    o cPanel version: 54.0
    o Roundcube version: 1.0.6.cp2

    also, how can we do mass password reset for all users ?

    Highly appreciate any help here.

    Thank you.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you provide some more information on how you are copying the email data? The "root" user should have access to the entire system.

    As far as the email passwords, there's no way to automatically update the email passwords for all accounts. However, you could develop a script that finds all email accounts on the system and updates the passwords for those accounts using the following UAPI functions:

    UAPI Functions - Email::list_pops - Software Development Kit - cPanel Documentation
    UAPI Functions - Email::passwd_pop - Software Development Kit - cPanel Documentation

    Thank you.
     
    HItesh2006 likes this.
  3. HItesh2006

    HItesh2006 Registered

    Joined:
    Jul 20, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Singapore
    cPanel Access Level:
    Root Administrator

    Thank you so Much for your response!!

    We are planning to use IMAP protocol to migrate mailbox data. For IMAP the exchange online will need all source email addresses and a service account that has access to that mailbox. so that Exchange can simulate a user session and download all emails.

    Would you have any idea if the root user can login to WEBMAIL for any user mailbox account (pardon my ignorance about cPanel)?

    also, is there any step by step guide to a script or Command to reset email password for 3000 users hosted on cPanel ?

    Your response is highly appreciated

    thank you.

    regards,

    Hitesh
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    No, it's not possible to use the root username or password to directly access webmail for an individual email account. However, a cPanel user can access webmail for individual email accounts after authenticating directly in the cPanel interface. Note that authenticating in the cPanel interface first is required for this to work, so it might not help for the custom script you want to develop.

    Unfortunately, there's no official guide for this, other than the UAPI documentation referenced in the previous response. You may need to consult with a system administrator for assistance with developing a script that uses those UAPI functions.

    Thank you.
     
Loading...

Share This Page