Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    4

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

    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. #2
    Member
    Join Date
    Mar 2008
    Posts
    20

    Smile

    Quote Originally Posted by murara View Post
    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
    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
    --

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    4

    Default 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!

Similar Threads & Tags
Similar threads

  1. Exim + Postfix
    By wgalafassijr in forum E-mail Discussions
    Replies: 1
    Last Post: 06-29-2009, 01:09 PM
  2. postfix to exim
    By claudio in forum E-mail Discussions
    Replies: 2
    Last Post: 04-02-2008, 07:56 AM
  3. email creator that uses the MD5 password?
    By mrcpu in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-05-2005, 02:35 AM
  4. EXIM (I HATE YOU!!!!!) and IMAPD on functioning. Use postfix or qmail!!
    By hariskhan in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-08-2005, 10:35 PM
  5. Replacing Exim with Postfix
    By webtec in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-10-2003, 09:21 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube