Hello, msmtp stopped being able to connect to my SMTP server. It worked well yesterday morning and the only thing that I did was a system update (I did not change the client's or the server's config). Some info on my system/config on the client's side:
$ uname -a Linux K3PO 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64 GNU/Linux $ cat ~/.msmtprc defaults tls on tls_starttls off auth on logfile ~/.msmtp.log syslog off account damien host smtp.desfontain.es port 465 from dam...@desfontain.es tls_certcheck off # I usually don't disable the certificate check, but here, I just want to show that that's not the problem user damien passwordeval ****** $ msmtp-queue -r msmtp: TLS handshake failed: An unexpected TLS packet was received. msmtp: could not send mail (account damien from /home/damien/.msmtprc) mail [ 2 ] [ 2014-05-01-09.24.59 ] from queue ; send failed ; msmtp rc = 76 $ tail ~/.msmtp.log mai 01 09:36:07 host=smtp.desfontain.es tls=on auth=on user=damien from=dam...@desfontain.es recipients=d...@desfontain.es,dam...@desfontain.es errormsg='TLS handshake failed: An unexpected TLS packet was received.' exitcode=EX_PROTOCOL and on the server's side: $ uname -a Linux smtp.desfontain.es 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux # cat /etc/postfix/main.cf [...] smtpd_tls_CAfile = /etc/ssl/certs/ca-certificates.crt smtpd_tls_cert_file = /etc/postfix/tls/server.crt smtpd_tls_key_file = /etc/postfix/tls/key.pem smtpd_use_tls = yes smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt smtp_tls_cert_file = /etc/postfix/tls/server.crt smtp_tls_key_file = /etc/postfix/tls/key.pem smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache smtp_use_tls = yes smtpd_tls_received_header = yes smtpd_tls_ask_ccert = yes smtpd_tls_loglevel = 1 tls_random_source = dev:/dev/urandom smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes I don't know if you need some additional info, don't hesitate to ask. What seems really strage to me (and makes me think that the problem comes from msmtp) is that when I test my SMTP authentication using a tutorial such as this one: http://rene.bz/setting-smtp-authentication-over-tls-postfix/ it works perfectly. If someone has an idea of what could cause it, I would be really interested. Best, Damien ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ msmtp-users mailing list msmtp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/msmtp-users