From: <rs...@so...> - 2005-04-22 18:28:28
|
Hello, First of all, let me thank you for the change_password plugin for Squirrelmail, which is very useful ! Since change_password seems to be the only plugin that changes passwords in *plain text files* (not LDAP, MySQL or other backends), it seems it is the unique solution to the problem I have. Would you please help me to solve it ? On a standard Fedora Core 2 box, I use Postfix + dovecot + Squirrelmail for a mailserver which has a few hundred users. However, I use plain text files as a backend database for my dovecot users, with an unique UID and GID (please see dovecot's passwd-file feature at http://wiki.dovecot.org/moin.cgi/Authentication ). Since the passwd-file has the *exact* syntax of the normal /etc/passwd file (except the fact that UIDs and GIDs are the same for all entries), would it be possible to use the change_password plugin to change these dovecot passwords from squirrelmail ? IMHO, it would be just a minor modification/extension of the plugin, maybe a parameter in the config file that will let user to define the /etc/passwd-like file's path... However, dovecot accepts alternative syntax for the passwords, as {PLAIN}cleartextpassword or {CRYPT}hashedpassword... Would it be possible to implement such a change ? I think it would be the most straightforward/stable way to manage IMAP passwords... Thanks a lot, Razvan |