Zoho msmtp hanging

Zoho msmtp hanging

I have setup msmtp to talk to zoho and gmail.  Gmail works just with different username, hostname, password.  For Zoho it connects successfully and starts exchanging messages.  But at some point it hangs.  Not clear why.  Here is my configuration and after that is the output of a run
  1. defaults
    port 587
    tls on
    tls_trust_file /etc/ssl/certs/ca-certificates.crt

    account zoho
    host smtp.zoho.com
    tls_starttls on
    auth on
    password somepassword

    account default : zoho

Output of one run:
  1. ~# echo "This is a test e-mail from my server using msmtp" | msmtp -d someuser@somedomain.com
    loaded system configuration file /etc/msmtprc
    loaded user configuration file /root/.msmtprc
    falling back to default account
    using account default from /root/.msmtprc
    host = smtp.zoho.com
    port = 587
    proxy host = (not set)
    proxy port = 0
    timeout = off
    protocol = smtp
    domain = localhost
    auth = choose
    password = *
    passwordeval = (not set)
    ntlmdomain = (not set)
    tls = on
    tls_starttls = on
    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)
    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
    <-- 220 mx.zohomail.com SMTP Server ready October 17, 2015 1:18:45 PM PDT
    --> EHLO localhost
    <-- 250-mx.zohomail.com Hello localhost (c-###-###-###-###.comcast.net (###.###.###.###))
    <-- 250-STARTTLS
    <-- 250 SIZE 25000000
    --> STARTTLS
    <-- 220 Ready to start TLS.
    TLS certificate information:
        Owner:
            Common Name: *.zoho.com
            Organization: ZOHO Corporation
            Organizational unit: ZOHO
            Locality: Chennai
            State or Province: Tamilnadu
            Country: IN
        Issuer:
            Common Name: COMODO RSA Organization Validation Secure Server CA
            Organization: COMODO CA Limited
            Locality: Salford
            State or Province: Greater Manchester
            Country: GB
        Validity:
            Activation time: Thu 26 Feb 2015 04:00:00 PM PST
            Expiration time: Sun 26 Feb 2017 03:59:59 PM PST
        Fingerprints:
            SHA1: F8:FA:86:1A:FD:7E:65:63:40:37:40:07:57:BE:AC:B6:11:12:17:F4
            MD5:  17:50:D6:E0:81:A8:AB:76:9D:8D:39:62:EB:E9:10:2E
    --> EHLO localhost
    <-- 250-mx.zohomail.com Hello localhost (c-###-###-###-###.comcast.net (###.###.###.###))
    <-- 250-AUTH LOGIN PLAIN
    <-- 250 SIZE 25000000
    --> AUTH PLAIN @#@#@#@#@#@##@#@#@#@##@#@#@#@=
    <-- 235 Authentication Successful
    --> MAIL FROM:< someuser@somedomain.com>
    <-- 250 Sender < someuser@somedomain.com> OK
    --> RCPT TO:< someuser@somedomain.com>
    <-- 250 Recipient < someuser@somedomain.com> OK
    --> DATA
    <-- 354 Ok Send data ending with <CRLF>.<CRLF>
    --> Date: Sat, 17 Oct 2015 13:23:41 -0700
    --> This is a test e-mail from my server using msmtp
    --> .


After sending the '.' no output is received or sent.