This patch fixes feature request #581 that I created.
This enables squirrelmail to display the reason for a failure to login to the IMAP server, eg: password expired.
For this to work the following configuration variable must be set true:
Also enclosed is a patch to config/conf.pl to set this variable.
This is predicated on IMAP returning a meaningful reason, this is beyond the scope
of this patch and is why it is configurable.
There are two patch files:
config-conf.pl.patch for config/conf.pl
functions-imap_general.php.patch for functions/imap_general.php