On Tue, Jun 20, 2006 at 11:42:33AM +0300, Marko Mäkelä wrote:
> 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:

[snip]

> --> 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)

It seems that an error occured when it wanted to upgrade to an encrypted
connection.

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

I have the same result with msmtp 1.4.6-1 and an exim4 server with a self-signed
certificate.

> 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.

Yes, please send me the server name, i try will do some checks.
msmtp 1.4.5-1 was accidentally linked against libssl, did you remember if
previous versions worked ?

>       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
> 
> 

-- 
A Tale of Two Cities LITE(tm)
        -- by Charles Dickens

        A lawyer who looks like a French Nobleman is executed in his place.

The Metamorphosis LITE(tm)
        -- by Franz Kafka

        A man turns into a bug and his family gets annoyed.

Lord of the Rings LITE(tm)
        -- by J.R.R. Tolkien

        Some guys take a long vacation to throw a ring into a volcano.

Hamlet LITE(tm)
        -- by Wm. Shakespeare

        A college student on vacation with family problems, a screwy
        girl-friend and a mother who won't act her age.

Attachment: pgpQaO2WQZZcs.pgp
Description: PGP signature

Reply via email to