Devuan bug report logs - #880
libnet-imap-simple-ssl-perl: IMAP SSL connection not possible

version graph

Package: libnet-imap-simple-ssl-perl; Maintainer for libnet-imap-simple-ssl-perl is (unknown); Source for libnet-imap-simple-ssl-perl is src:libnet-imap-simple-ssl-perl.

Reported by: markus schnalke <meillo@marmaro.de>

Date: Tue, 18 Mar 2025 16:08:01 UTC

Severity: normal

Found in version 1.3-5

Done: Mark Hindley <mark@hindley.org.uk>

Full log


Message #10 received at 880-done@bugs.devuan.org (full text, mbox, reply):

Received: (at 880-done) by bugs.devuan.org; 18 Mar 2025 17:00:02 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Tue, 18 Mar 2025 17:00:02 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id RL4hIUym2WeXcAAAmSBk0A
	(envelope-from <mark@hindley.org.uk>)
	for <bugs@devuan.org>; Tue, 18 Mar 2025 16:58:52 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 50873645; Tue, 18 Mar 2025 16:58:52 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS,
	T_SCC_BODY_TEXT_LINE,WEIRD_PORT autolearn=no autolearn_force=no
	version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; envelope-from=mark@hindley.org.uk; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id A0BAA1F7
	for <880-done@bugs.devuan.org>; Tue, 18 Mar 2025 16:58:51 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 6BFCD118;
	Tue, 18 Mar 2025 16:58:50 +0000 (GMT)
Received: (nullmailer pid 24382 invoked by uid 1000);
	Tue, 18 Mar 2025 16:58:50 -0000
Date: Tue, 18 Mar 2025 16:58:50 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: markus schnalke <meillo@marmaro.de>, 880-done@bugs.devuan.org
Subject: Re: [devuan-dev] bug#880: libnet-imap-simple-ssl-perl: IMAP SSL
 connection not possible
Message-ID: <Z9mmSgNvEcQJCjCH@hindley.org.uk>
References: <174231375827.29923.16609018463711557623.reportbug@marmaro.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <174231375827.29923.16609018463711557623.reportbug@marmaro.de>
X-Debbugs-No-Ack: No Thanks
Markus,

On Tue, Mar 18, 2025 at 05:02:38PM +0100, markus schnalke wrote:
> Package: libnet-imap-simple-ssl-perl

This is not a forked package (none of perl is) so I would be astonished if this
is Devuan specific.

> Version: 1.3-5
> Severity: normal
> 
> Hoi.
> 
> I am unable to establish a connection with IMAP servers:
> 
> 	:-F cat /tmp/imap-connect-test.pl                   
> 	#!/usr/bin/perl
> 	 
> 	use Net::IMAP::Simple::SSL; 
> 	 
> 	Net::IMAP::Simple::SSL->new("imap.gmx.net:993", ssl_version=>"TLSv1") 
> 		or die("cannot connect to server\n");

For me, specifying TLSv1_2 or TLSv1_3 works. I suspect the server doesn't accept TLSv1.
 
> However, with Openssl I can:
> 
> 	:-F openssl s_client -quiet -connect imap.gmx.net:993

This is comparing different protocols.

If you do

  openssl s_client -quiet -connect imap.gmx.net:993 -tls1

you will get a protocol error which matches the perl TLSv1 error above.

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon Mar 31 00:03:36 2025;