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.