Package: msmtp
Version: 1.4.6-1
Severity: grave

msmtp 1.4.6-1 refuses to initiate a STARTTLS connection to a server that
works fine with msmtp 1.4.5-1.  Downgrading to 1.4.5-1 worked around the
problem.  Here's what happens on 1.4.6-1.  I replaced the addresses with
example.com:

msmtp -d -C example-msmtp [EMAIL PROTECTED] -f [EMAIL PROTECTED]
ignoring system configuration file /etc/msmtprc: No such file or directory
loaded user configuration file example-msmtp
using account default from example-msmtp
host            = stmail.example.com.
port            = 1025
timeout         = off
protocol        = smtp
domain          = example.com
auth            = PLAIN
user            = [EMAIL PROTECTED]
password        = *
ntlmdomain      = (not set)
tls             = on
tls_trust_file  = (not set)
tls_key_file    = (not set)
tls_cert_file   = (not set)
tls_starttls    = on
tls_certcheck   = off
auto_from       = off
maildomain      = (not set)
from            = [EMAIL PROTECTED]
dsn_notify      = (not set)
dsn_return      = (not set)
keepbcc         = off
logfile         = (not set)
syslog          = (not set)
reading recipients from the command line
<-- 220 server ready. Unauthorized Access Prohibited.
--> EHLO example.com
<-- 250-server.example.com Hello client.example.com, pleased to meet you
<-- 250-8BITMIME
<-- 250-SIZE 15728640
<-- 250-DSN
<-- 250-ENHANCEDSTATUSCODES
<-- 250-STARTTLS
<-- 250-AUTH DIGEST-MD5 CRAM-MD5
<-- 250-XAUTH
<-- 250 HELP
--> STARTTLS
<-- 220 begin TLS
msmtp: TLS handshake failed: A TLS fatal alert has been received.
msmtp: could not send mail (account default from example-msmtp)

On msmtp 1.4.5-1, the line "220 begin TLS" is followed by
"TLS certificate information:" etc.

I can provide the server name in private email, if it is needed for
troubleshooting.  It seems to me that the username and password will
be sent only after the TLS handshake has completed.

        Marko

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16.19
Locale: LANG=fi_FI, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)

Versions of packages msmtp depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libgsasl7                     0.2.12-1   GNU SASL library
ii  libssl0.9.8                   0.9.8b-2   SSL shared libraries

Versions of packages msmtp recommends:
pn  libgcrypt                     <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to