Quoting from Andreas Hasenack's mail on Wed, Oct 02, 2002 at 04:15:15PM -0300:
Why is that? Is there a way to modify this behaviour and make it NOT use STLS
here?
Here is a patch which will not use STLS if "auth password" is
specified in the rc file (or "--auth password" on command line).
==================================================================
diff -Naur fetchmail-6.1.0.orig/imap.c fetchmail-6.1.0/imap.c
--- fetchmail-6.1.0.orig/imap.c Mon Sep 9 13:34:26 2002
+++ fetchmail-6.1.0/imap.c Thu Oct 3 11:16:40 2002
@@ -358,6 +358,7 @@
#ifdef SSL_ENABLE
if ((ctl->server.authenticate == A_ANY)
+ && !ctl->use_ssl
&& strstr(capabilities, "STARTTLS"))
{
char *realhost;
diff -Naur fetchmail-6.1.0.orig/pop3.c fetchmail-6.1.0/pop3.c
--- fetchmail-6.1.0.orig/pop3.c Fri Sep 13 13:16:37 2002
+++ fetchmail-6.1.0/pop3.c Thu Oct 3 11:15:57 2002
@@ -247,7 +247,9 @@
}
#ifdef SSL_ENABLE
- if (has_ssl && !ctl->use_ssl)
+ if (has_ssl
+ && !ctl->use_ssl
+ && (ctl->server.authenticate == A_ANY))
{
char *realhost;
==================================================================
Sunil Shetye.