Hi, I am having this SMTP issue and need your help. Thanks in advance for your input.
I have been using aspmx.l.google.com:25 as SMTP server (no auth) and it worked well until last week. Error I get is:
Status : failedMessage : Failed to send email through the smtp server
If I ran send-test-email under ncli, it returns error "TimeOut 5000". But I have no problem to resolve or ping or telnet from the cluster/all cvms to google smtp. So I have changed the SMTP to an internal email server, and this time I get error "Exception reading response".
But if I do a straight mailx test to either aspmx.l.google.com or my internal mail server, the emails send through and no errors at all. Command run as below to google smtp and similar output if was internal mail server:
$ echo "This is a test email" | mailx -v -s "test smtp" -r "email@example.com" -S smtp="aspmx.l.google.com:25" firstname.lastname@example.orgResolving host aspmx.l.google.com . . . done.Connecting to 18.104.22.168 . . . connected.220 mx.google.com ESMTP t3si3635587qkb.18 - gsmtp>>> HELO NTNX-XXXXXXXXX-B-CVM250 mx.google.com at your service>>> MAIL FROM:250 2.1.0 OK t3si3635587qkb.18 - gsmtp>>> RCPT TO:250 2.1.5 OK t3si3635587qkb.18 - gsmtp>>> DATA354 Go ahead t3si3635587qkb.18 - gsmtp>>> .250 2.0.0 OK 1499904651 t3si3635587qkb.18 - gsmtp>>> QUIT221 2.0.0 closing connection t3si3635587qkb.18 - gsmtp
What can I do to fix this issue?