Package: opensmtpd
Version: 6.6.4p1-2~bpo10+1
Severity: important

I'm using opensmtpd from backports and I'm suddenly having trouble
sending mails. I noticed that msmtp just hangs after the final `.` line
to terminate the DATA section. I've tried sending a mail manually with
`openssl s_client` but that consistently fails after `RCPT TO`, no
matter how fast or slow I type. I'm wondering if this is an issue with
the way opensmtpd uses libssl:

        read R BLOCK
        220 redacted ESMTP OpenSMTPD
        EHLO localhost
        250-redacted Hello localhost [redacted], pleased to meet you
        250-8BITMIME
        250-ENHANCEDSTATUSCODES
        250-SIZE 36700160
        250-DSN
        250-AUTH PLAIN LOGIN
        250 HELP
        AUTH PLAIN redacted
        235 2.0.0 Authentication succeeded
        MAIL FROM:<redacted>
        250 2.0.0 Ok
        RCPT TO:<redacted>
        RENEGOTIATING
        140128949372032:error:1420410A:SSL routines:SSL_renegotiate:wrong ssl 
version:../ssl/ssl_lib.c:2127:

I've tried sending with openssl from debian stable and openssl from arch
linux and opensmtpd behaves the same.

I've executed `smtpctl log verbose` but still don't get any hints in the
log file.

It seems I can still receive emails, but unfortunately it's really
important for me to be able to send emails. If there's anything I can do
to help and further diagnose the issue please let me know, preferably
over irc, or with instructions on how to reply to bugs without a working
email setup.

Thanks!

-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-8-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages opensmtpd depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.71
ii  ed                     1.15-1
ii  init-system-helpers    1.56+nmu1
ii  libasr0                1.0.2-2
ii  libc6                  2.28-10
ii  libdb5.3               5.3.28+dfsg1-0.5
ii  libevent-2.1-6         2.1.8-stable-4
ii  libpam0g               1.3.1-5
ii  libssl1.1              1.1.1d-0+deb10u3
ii  lsb-base               10.2019051400
ii  zlib1g                 1:1.2.11.dfsg-1

Versions of packages opensmtpd recommends:
ii  opensmtpd-extras  6.6.0-1~bpo10+1

Versions of packages opensmtpd suggests:
ii  ca-certificates  20190110

-- Configuration Files:
/etc/smtpd.conf changed [not included]

-- debconf information excluded

Reply via email to