Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to migrate from postfix (MD5 password) to exim?

Discussion in 'E-mail Discussion' started by murara, Jun 13, 2008.

  1. murara

    murara Registered

    Joined:
    Jun 7, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    I have two servers. The first one doesnt have Cpanel, and the second has. I need to migrate the first server mail accounts to the second.
    Configuration server #1:
    - POSTFIX(Maildir) + PostgreSQL: Virtual Agent
    The passwords has been encrypted by MD5.

    Conficuration server #2:
    - Exim
    The passwords has been encrypted by default hash.


    To migrate maildir folders and files are simple. But how to migrate account's password?
    I treid to create an account (by cpanel) and overwrite hash in the shadow file with MD5 hash, but failed.
    shadow file: ~user/etc/<domain>/shadow

    Ideas?


    Tks
     
  2. frkandris

    frkandris Member

    Joined:
    Mar 7, 2008
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    51
    i guess there is no real method for this, md5 --> hash can not be done. you may try to sniff passwords in the old system for a while, telling your users that you'll move them to another system so they must log in next week to be moved.

    frkandris
    --
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. murara

    murara Registered

    Joined:
    Jun 7, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Exim X Courier

    I modified the function checkuserpass() and checkpass() in /etc/exim.pl I wrote a rotine to test the native hash and MD5 hash (Digest::MD5). It works.
    But I´didnt find any solution for Courier (POP3)....
    So, I changed every account password and I told their owns....

    Tks!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice