I'm using userdb to authenticate 50 users on IMAP, POP, and sqwebmail.  I
would like to write a simple web interface for my users to change their
passwords.  Though the functionality has now been incorporated in sqwebmail
3.0.0, it isn't terribly user-friendly.

It seems that the ability to do this exists in the sqwebmail CGI binary.  I
traced the source back to the do.changepwd function in pref.c.  In
preferences.html, what is the #R# tag for the action?  Does this refer to
the sqwebmail binary?  How would I determine success or failure?

Or, should I use the userdb binary to set the password, and authuserdb to
validate it?  I can't find any documentation about calling authuserdb on
the authlib.html web page at inter7.  It just tells me that an external
program usually calls it.

Is there an easier way that I'm overlooking?

-- 
Drew

Reply via email to