From 59c5d794e669915e9ced99f003e6f628d66ed675 Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Sat, 20 Feb 2016 12:07:01 +0100 Subject: [PATCH 1/1] Add warning about missing LOGIN SASL plugin for IMAP. --- src/imap.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/imap.c b/src/imap.c index 40fb573bd..4307d050d 100644 --- a/src/imap.c +++ b/src/imap.c @@ -973,6 +973,12 @@ static gint imap_auth(IMAPSession *session, const gchar *user, const gchar *pass "PLAIN SASL plugin is installed."); } + if (type == IMAP_AUTH_LOGIN) { + ext_info = _("\n\nLOGIN logins only work if libetpan has been " + "compiled with SASL support and the " + "LOGIN SASL plugin is installed."); + } + if (time(NULL) - last_login_err > 10) { if (!prefs_common.no_recv_err_panel) { alertpanel_error_log(_("Connection to %s failed: " -- 2.25.1