Package: msmtp Version: 1.6.7-1 Severity: important Hi,
I've been successfully using msmtp for a while with a GMX account. I recently tried using it with a Zoho account, and it does not work: after transmitting the message and apparently sending <CRLF>.<CRLF>, it just hangs, and eventually dies: ~# echo "test" | msmtp -d -a default xxxxx...@gmail.com loaded system configuration file /etc/msmtprc ignoring user configuration file /root/.msmtprc: No such file or directory using account default from /etc/msmtprc host = smtp.zoho.com port = 465 proxy host = (not set) proxy port = 0 timeout = off protocol = smtp domain = localhost auth = choose user = xxxxx...@zoho.com password = * passwordeval = (not set) ntlmdomain = (not set) tls = on tls_starttls = off tls_trust_file = /etc/ssl/certs/ca-certificates.crt tls_crl_file = (not set) tls_fingerprint = (not set) tls_key_file = (not set) tls_cert_file = (not set) tls_certcheck = on tls_min_dh_prime_bits = (not set) tls_priorities = (not set) auto_from = off maildomain = (not set) from = xxxxx...@zoho.com add_missing_from_header = on add_missing_date_header = on remove_bcc_headers = on dsn_notify = (not set) dsn_return = (not set) logfile = (not set) syslog = LOG_MAIL aliases = (not set) reading recipients from the command line TLS certificate information: Owner: Common Name: *.zoho.com Issuer: Common Name: Thawte RSA CA 2018 Organization: DigiCert Inc Organizational unit: www.digicert.com Country: US Validity: Activation time: Thu 02 Aug 2018 08:00:00 PM EDT Expiration time: Thu 01 Oct 2020 08:00:00 AM EDT Fingerprints: SHA256: 6E:51:AA:92:96:77:6A:D8:04:D0:C8:6A:AB:7D:DB:F7:49:87:00:67:DB:BD:61:8D:77:A0:20:A5:94:31:A7:C3 SHA1 (deprecated): 8B:F7:EE:CF:D3:6A:FC:AB:CC:61:92:4E:87:E6:5E:B9:88:9D:B2:CC <-- 220 mx.zohomail.com SMTP Server ready December 24, 2018 7:19:35 PM PST --> EHLO localhost <-- 250-mx.zohomail.com Hello localhost xxxxxxxx <-- 250-AUTH LOGIN PLAIN <-- 250 SIZE 53477376 --> AUTH PLAIN xxxxxxxx <-- 235 Authentication Successful --> MAIL FROM:<xxxxx...@zoho.com> <-- 250 Sender <xxxxx...@zoho.com> OK --> RCPT TO:<xxxxx...@gmail.com> <-- 250 Recipient <xxxxx...@gmail.com> OK --> DATA <-- 354 Ok Send data ending with <CRLF>.<CRLF> --> From: xxxxx...@zoho.com --> Date: Mon, 24 Dec 2018 22:19:35 -0500 --> test --> . msmtp: the server sent an empty reply msmtp: could not send mail (account default from /etc/msmtprc) Sending via Zoho works fine with Sylpheed, or Swaks: ~$ swaks -t xxxxx...@gmail.com -f xxxxx...@zoho.com --protocol SSMTP -s smtp.zoho.com -a Username: xxxxx...@zoho.com Password: xxxxxxxx === Trying smtp.zoho.com:465... === Connected to smtp.zoho.com. === TLS started with cipher TLSv1.2:ECDHE-RSA-AES256-SHA:256 === TLS no local certificate set === TLS peer DN="/CN=*.zoho.com" <~ 220 mx.zohomail.com SMTP Server ready December 24, 2018 7:08:53 PM PST ~> EHLO xxxxxxxx <~ 250-mx.zohomail.com Hello xxxxxxxx <~ 250-AUTH LOGIN PLAIN <~ 250 SIZE 53477376 ~> AUTH LOGIN <~ 334 xxxxxxxx ~> xxxxxxxx <~ 334 xxxxxxxx ~> xxxxxxxx <~ 235 Authentication Successful ~> MAIL FROM:<xxxxx...@zoho.com> <~ 250 Sender <xxxxx...@zoho.com> OK ~> RCPT TO:<xxxxx...@gmail.com> <~ 250 Recipient <xxxxx...@gmail.com> OK ~> DATA <~ 354 Ok Send data ending with <CRLF>.<CRLF> ~> Date: Mon, 24 Dec 2018 22:08:36 -0500 ~> To: xxxxx...@gmail.com ~> From: xxxxx...@zoho.com ~> Subject: test Mon, 24 Dec 2018 22:08:36 -0500 ~> Message-Id: xxxxxxxx ~> X-Mailer: swaks v20181104.0 jetmore.org/john/code/swaks/ ~> ~> This is a test mailing ~> ~> ~> . <~ 250 Message received ~> QUIT <~ 221 mx.zohomail.com closing connection === Connection closed with remote host. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages msmtp depends on: ii debconf [debconf-2.0] 1.5.69 ii libc6 2.28-3 ii libgnutls30 3.6.5-2 ii libgsasl7 1.8.0-8+b2 ii ucf 3.0038+nmu1 Versions of packages msmtp recommends: ii ca-certificates 20180409 Versions of packages msmtp suggests: ii msmtp-mta 1.6.7-1 -- debconf information: msmtp/port: 587 msmtp/sysconfig: true msmtp/auto_from: true msmtp/tls: on /etc/ssl/certs/ca-certificates.crt msmtp/maildomain: * msmtp/host: mail.gmx.com