[Dovecot] Changing password for users

Joseph Tam jtam.home at gmail.com
Sat Oct 27 01:19:31 EEST 2012


> From: Mike John <mike at alaadin.org>
>
>> I know about poppassd , but it works only for /etc/passwd ,
>> /etc/shadow, but my dovecot virtual users password files
>> are in different location and i do not know how to modify poppassd,
>> any idea how can i do that?

I downloaded and examined it; it's just a wrapper for /usr/bin/passwd,
and there doesn't seem an easy way to modify it to use something other
than the system password file.

Maybe replace "/usr/bin/passwd" with htpasswd?

> and is there another way other than poppassd?

Write your own PHP script -- it couldn't be more than a few dozen lines
of code for a working skeleton.  Or Google "php change password htpasswd".

Joseph Tam <jtam.home at gmail.com>



More information about the dovecot mailing list