Rocco Rutte:
authorpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Thu, 11 Aug 2005 15:43:05 +0000 (15:43 +0000)
committerpdmef <pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Thu, 11 Aug 2005 15:43:05 +0000 (15:43 +0000)
- always use AUTH_PLUGIN_PLAIN for libESMTP as AUTH_PLUGIN_EXTERNAL seems to cause trouble in some cases, StartTLS still works

git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@391 e385b8ad-14ed-0310-8656-cc95a2468c6d

mutt_libesmtp.c

index 37b4f88..a0674cd 100644 (file)
@@ -277,11 +277,7 @@ int mutt_invoke_libesmtp (ADDRESS * from,       /* the sender */
   if (SmtpAuthUser) {
     if ((authctx = auth_create_context ()) == NULL)
       MSGFAIL ("auth_create_context failed");
-#if defined (USE_SSL) || (defined (USE_GNUTLS) && defined (HAVE_GNUTLS_OPENSSL_H))
-    auth_set_mechanism_flags (authctx, AUTH_PLUGIN_EXTERNAL, 0);
-#else
     auth_set_mechanism_flags (authctx, AUTH_PLUGIN_PLAIN, 0);
-#endif
     auth_set_interact_cb (authctx, _mutt_libesmtp_auth_interact, NULL);
 
     if (!smtp_auth_set_context (session, authctx))