Hi All,
If you would suffer an RHEL 6.3 question, I am trying to get "nail" to work with zoho mail. I have the same script for gmail and it works.
#!/bin/bash
echo "nail test" | nail -v -s `dnsdomainname`" zoho smtp test subject" \
-S smtp-use-starttls \
-S smtp-auth=plain \
-S ssl-verify=ignore \
-S smtp=smtps://smtp.zoho.com:465 \
-S from=xxxx@zoho.com \
-S smtp-auth-user=xxxx \
-S smtp-auth-password="hahahahaha" \
-S nss-config-dir=/home/linuxutil/mailcerts/ \
yyyyy@zoho.com
Error message:
250 AUTH LOGIN PLAIN
>>> STARTTLS
220 Ready to start TLS
SSL/TLS handshake failed: Unknown error -5938.
Anyone know what causes this and how to fix it?
Many thanks,
-T
---------- Post added at 07:14 PM ---------- Previous post was at 06:12 PM ----------
Okay. I figured it out. I commented out "-S smtp-use-starttls".
Go figure.
[editorial comment] AAAAAAAAAAAAAAHHHHHH!!!!!! [/editorial comment]
-T
If you would suffer an RHEL 6.3 question, I am trying to get "nail" to work with zoho mail. I have the same script for gmail and it works.
#!/bin/bash
echo "nail test" | nail -v -s `dnsdomainname`" zoho smtp test subject" \
-S smtp-use-starttls \
-S smtp-auth=plain \
-S ssl-verify=ignore \
-S smtp=smtps://smtp.zoho.com:465 \
-S from=xxxx@zoho.com \
-S smtp-auth-user=xxxx \
-S smtp-auth-password="hahahahaha" \
-S nss-config-dir=/home/linuxutil/mailcerts/ \
yyyyy@zoho.com
Error message:
250 AUTH LOGIN PLAIN
>>> STARTTLS
220 Ready to start TLS
SSL/TLS handshake failed: Unknown error -5938.
Anyone know what causes this and how to fix it?
Many thanks,
-T
---------- Post added at 07:14 PM ---------- Previous post was at 06:12 PM ----------
Okay. I figured it out. I commented out "-S smtp-use-starttls".
Go figure.
[editorial comment] AAAAAAAAAAAAAAHHHHHH!!!!!! [/editorial comment]
-T