From LedHed's Wiki
Change SQL Password is a great plugin for Squirrelmail if you store your user accounts in a SQL database. This plugin provides a way for end users to change their passwords.
Reference: http://www.squirrelmail.org/plugin_view.php?id=117
Installation Notes
This plugin requires the Compatibility Plugin be installed and corresponding Compatibility Plugin be applied to Squirrelmail.
PHP support for Pear-DB must also be installed. One method is to install via a package.
In RH/Fedora Distros these packages are called php-pear-DB and php-pear