The real reason for failure to login to IMAP

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

The real reason for failure to login to IMAP

Alain Williams
This is a summary of feature request #581 and patch #486 that provides the feature.


The purpose of the patches is to display the *reason* for an IMAP login failure.
Prior to this patch squirrelmail just displays the message:

    Unknown user or password incorrect.

It can be useful to a user to know the reason that login is refused, eg there might
be an administrative lock or their password may have expired.

For this to work the following configuration variable must be set true:


Also enclosed is a patch to config/ 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:  for config/

  functions-imap_general.php.patch  for functions/imap_general.php

These patches are released under the same license as the rest of SquirrelMail: GPLv2 (or later)

Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256
Parliament Hill Computers Ltd. Registration Information:
#include <std_disclaimer.h>

Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
squirrelmail-devel mailing list
Posting guidelines:
List address: [hidden email]
List archives:
List info (subscribe/unsubscribe/change options):