centos 7 sendmail on AWS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I am trying to get email out of AWS image to google on port 587.


When I use telnet it connects - so 587 is a valid path...
telnet smtp-relay.gmail.com 587
Trying 142.250.112.28...
Connected to smtp-relay.gmail.com.
Escape character is '^]'.
220 smtp-relay.gmail.com ESMTP
l15-20020a17090a150f00b001dfac278995sm682651pja.12 - gsmtp
^]quit

When I run interactive session:
sendmail -Am -v -t
To: X@Y
From: X@Y
Subject: test

X@Y... Connecting to aspmx.l.google.com. port 587 via esmtp...

sendmail.mc has
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`ESMTP_MAILER_ARGS', `TCP $h 587')dnl
define(`RELAY_MAILER', `esmtp')dnl
define(`null_client', `smtp-relay.gmail.com.')

I dont understand why 587 is not connecting. It connects on the manual
telnet.
It does not connect otherwise.

What might I be missing?

Jerry
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux