# HG changeset patch # User Timo Sirainen # Date 1030399114 -10800 # Node ID 38681cf8c4cdd9b424dad776e3d954c221414df3 # Parent 1ba4156fe84f226e295b171ddf21d43efc16e8a9 "Authentication server isn't connected, try again later.." error is sent to user when imap-auth hasn't been connected to for some reason. diff -r 1ba4156fe84f -r 38681cf8c4cd src/login/auth-connection.c --- a/src/login/auth-connection.c Tue Aug 27 00:53:56 2002 +0300 +++ b/src/login/auth-connection.c Tue Aug 27 00:58:34 2002 +0300 @@ -139,9 +139,14 @@ } } - if (!found) - *error = "Unsupported authentication method"; - else { + if (!found) { + if ((available_auth_methods & method) == 0) + *error = "Unsupported authentication method"; + else { + *error = "Authentication server isn't connected, " + "try again later.."; + } + } else { *error = "Authentication servers are busy, wait.."; i_warning("Authentication servers are busy"); }