[Dovecot] Slightly off topic question but ...

Chris Laif chris.laif at googlemail.com
Mon Dec 11 13:50:39 UTC 2006


On 12/11/06, Benjamin Dabelow <dabelow at tuxoft.de> wrote:
> Hi Marc,
>
> Marc Perkel schrieb:
> > So - here's my off topic question. I'm trying to create a PHP interface
> > to allow user to change their password in these passwd / shadow file
> > combos. What kind of encryption do they use and specifically what PHP
> > command would I use to encrypt a password like the shadow file has?
>
> These files are using standard crypt or md5crypt.
>

... to extend this off-topic thread:

I'm using HMAC-MD5 passwords in my passdb (the string is a HMAC-MD5
_context_, to be precise). Currently, the only known method to me for
creating these contexts is to use the dovecotpw utility. I wonder if
there are other possibilites (perl, PHP, ...).

Chris


More information about the dovecot mailing list