This encryption helps you to generate the field MYSQL_CRYPT_PWFIELD
of courier POP3 and IMAP with authmysql authentication module
in the configuration file /etc/courier/authmysqlrc.
PHP:crypt("password", "$1$salt") = MySQL:ENCRYPT('password', '$1$salt').