hello Dear Zhang
i have resolved that problem , i wrote an php class for making that password
that is not just simple md5 it's unix_md5_crypt
unix_md5_crypt() provides a crypt()-compatible interface to the rather new MD5-based crypt() function found in modern operating systems.
It's based on the implementation found on FreeBSD 2.2.[56]-RELEASE
salt is random 8 character and start after $1$ adn end befor $
now there is another problem i have more that 5 days im confused
( i found a bug in iredadmin when you trying to install iredmail with remote mysql with that article http://www.iredmail.org/wiki/index.php? … sql.server
roundcube dose not install correctly and roundcube username password and table dose not makes in remote mysql ) anyway i have resolved that problem
all thing is good i can login with roundcube and send an receive email
i have another email interface like roundcube that script using imap for send and receive email
when i try to config that script from another server to connect to iredmail server and using imap face me error and a can see that error ,log in dovecot
Mar 09 13:24:48 auth-worker(31424): Info: mysql(192.168.1.10): Connected to database vmail
Mar 09 13:24:50 imap-login: Info: Disconnected (auth failed, 1 attempts in 2 secs): user=<test@mydomain.com>, method=PLAIN, rip=192.168.1.21, lip=192.168.1.11, TLS, session=<z6qPwy/0IwCaL6AL>
Mar 09 13:24:59 imap-login: Info: Disconnected (auth failed, 1 attempts in 6 secs): user=<test@mydomain.com>, method=PLAIN, rip=192.168.1.21, lip=192.168.1.11, TLS, session=<TeHawy/0PACaL6AL>
but roundcube can work correctly ! roundcube installed on that iredmail server but my other script is installed on another server that can access to iredmail server over localnetwork