Hi,

On Tue, Feb 17, 2009 at 12:12:20PM +0100, Jasper Lievisse Adriaanse wrote:
> here's an update for fetchmail.
> any users of fetchmail who could take it for a spin?

patch-pop3_c was added for some good reason. It makes fetchmail to
operate together with stunnel or socat. 

> RCS file: patches/patch-pop3_c
> diff -N patches/patch-pop3_c
> --- patches/patch-pop3_c      2 Feb 2009 11:42:13 -0000       1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,16 +0,0 @@
> -$OpenBSD: patch-pop3_c,v 1.1 2009/02/02 11:42:13 bernd Exp $
> -
> -Fix stunnel usage with TLS1 encryption.
> -https://lists.berlios.de/pipermail/fetchmail-users/2007-December/001396.html
> -
> ---- pop3.c.orig      Sun Mar 18 02:13:45 2007
> -+++ pop3.c   Mon Feb  2 12:37:35 2009
> -@@ -449,7 +449,7 @@ static int pop3_getauth(int sock, struct query *ctl, c
> -                     report(stderr, GT_("TLS is mandatory for this session, 
> but server refused CAPA command.\n"));
> -                     report(stderr, GT_("The CAPA command is however 
> necessary for TLS.\n"));
> -                     return ok;
> --                } else {
> -+                } else if (maybe_tls(ctl)) {
> -                     /* defeat opportunistic STLS */
> -                     xfree(ctl->sslproto);
> -                     ctl->sslproto = xstrdup("");

Reply via email to