Smtp auth problem (port 465)


I think I’m missing something. Maybe someone can help.

I installed msmtp 1.4.9 on Debian etch to use with Mutt, but I can’t send email using TLS. When I try to send email through port 465 I receive just an unlimited " Sending message…". I don’t think it’s a problem with msmtp because i’ve also tried with esmtprc, but no email sent. Ah, if I don’t use TLS (i.e. port 25), everything is fine.

Below is my .msmtprc (note comments (#), I think I’ve tried every kind of combination; I’ve tried also with mutt certs, but unsuccesfully. Indeed I think that is something with the certs but I’m not sure):

#timeout 20
#domain localhost
tls on
tls_starttls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
#tls_trust_file /home/chris/.mutt_certificates
#tls_certcheck off
logfile ~/.msmtp.log
#tls_force_sslv3 on
account my-account
auth on
port 465

[/code]Anyone knows how to get out of this?

Any advice will be really appreciated.