On Wed, 22 Mar 2023 15:22:34 +0100 Lee Garrett <deb...@rocketjump.eu> wrote:
> While this setup might work for some people, this has IMHO quite a few hefty 
> drawbacks and requires me to maintain a MTA on my local machine. I could 
> elaborate, but I don't think it's on-topic for this bug report.

Agreed.

> I'm sure that bts supports STARTTLS. I am using bts with my MTA on 587/tcp, 
> which enforces STARTTLS and requires credentials (I just double-checked via 
> swaks). With the old libio-socket-ssl-perl 2.069-1 this works, so it's 
> clearly a 
> regression.

BTS uses SSL when the host URL begins with smpts or ssmtp (see [1]), and 
STARTTLS otherwise.

It may be a regression, but I need more data before reporting this problem 
upstream.

Daniel, could you apply the patch below on bts.pl and try again ? You should 
get more traces when 
bts is trying to connect to your server. 

All the best

[1] 
https://salsa.debian.org/debian/devscripts/-/blob/master/scripts/bts.pl#L2697

diff --git a/scripts/bts.pl b/scripts/bts.pl
index 7449c7ca..f280e9a1 100755
--- a/scripts/bts.pl
+++ b/scripts/bts.pl
@@ -64,6 +64,9 @@ use Encode;
 use URI 1.37;
 use URI::QueryParam;
 
+use IO::Socket::SSL;
+$IO::Socket::SSL::DEBUG=2;
+
 use Scalar::Util qw(looks_like_number);
 use POSIX qw(locale_h strftime);

Reply via email to