From: Razvan S. <rs...@so...> - 2005-04-26 00:29:15
|
> and... did it work? Hello again, And thanks for the ideas in your last e-mail. I promise I will look at the links, even if I'll have to abandon dovecot and switch to Courier :-( Now, for the change_password plugin matter itself: I modified the plugin it as described in my previous message, recompiled it and I arrived in another confusing point... When I run the chpasswd utility from the command line (I studied your source and figured out things), it *does* change the password in /other/passwd-like/file (for testing purpose, I use a copy of /etc/passwd, /etc/passwd.test, to which I manually added my encrypted password, which normally misses because of shadow). However, if I log in in Squirrelmail and try from there, I get the message that says something like "an error was encountered - contact system administrator". And the password *is not* changed. /var/log/messages shows nothing... Beyond that, I will need an automatic "service dovecot restart" after the new password is written in the file - dovecot must "learn" the change. The last thing is where my /some/passwd-like/file should correctly stay (according to FHS) and with what scheme of permissions, in order for change_passwd being able to modify it ? How should I deal with selinux, on Fedora Core 3 where selinux-policy-targeted is enabled ? I "feel" I'm pretty close to an acceptable solution and that's why I'm bothering you... ;-) > Then why did you choose possibly the most obscure way to store > passwords? Seems like most other Dovecot password schemes will already > work with SM plugins out of the box. OK, could you please recommend a way to solve this by LDAP ? Which schema should I use (I was tempted to use the nis schema) ? Could you point me to a detailed document describing how should I combine things (Postfix with virtual mailboxes, dovecot, OpenLDAP, vacation, etc.) ? > look again. vacation_local plugin replaces two of the old unmaintained vacation plugins I skimmed on the page of vacation local plugin and it seems very tempting. But, again, what should I do if my users have *virtual mailboxes* (maildirs), as described in Postfix's VIRTUAL README ? Regards, Razvan |