(presuming you meant to post to the list)

On Sun, Apr 08, 2007 at 05:00:46PM +0200, Peter Sopko wrote:
> I guess phps md5 function creates your (1) - e.g. test is encrypted as
> 098f6bcd4621d373cade4e832627b4f6. But when I give mysqlfield with these
> hashes as MYSQL_CRYPT_PWFIELD, it doesn't work. I am using
> courier-authlib-0.59.1 if it can help in any way.....

No, that's my (3).

courier-authlib could be extended, fairly easily, to support this. For
example, exim supports both base64 and ascii hex encoding. It just checks
the length; if it's 24 characters then it's base64, and if it's 32
characters then it's ascii hex.

So if you'd like to contribute the code for this then I'm sure Sam would
consider including it. In the mean time, you can just convert your hash into
base64. You'll need to ask a PHP-head how to do that though.

Regards,

Brian.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to