Sendmail - External email getting connection refused
Hello. I am trying to send an email message outside of my company from my Oracle Linux Database server (REL 5.10). The server is configured to use Sendmail, and I can get email to deliver internally (corp network).
When I try and send an email to Gmail, Yahoo or AT&T (for getting pages on my cellphone) I get a connection refused error.
Here is the output from /var/log/maillog for trying to send to a Gmail address:
Aug 13 15:58:11 blanked_hostname sendmail[18423]: s7DLwBeV018423: from=oracle, size=57, class=0, nrcpts=1, msgid=<201408132158.s7DLwBeV018423@blanked_hostname.xxxx.xx.xx>, relay=oracle@localhost
Aug 13 15:58:12 blanked_hostname sendmail[18428]: s7DLwBd3018428: from=<oracle@blanked_hostname.xxxx.xx.xx>, size=382, class=0, nrcpts=1, msgid=<201408132158.s7DLwBeV018423@blanked_hostname.xxxx.xx.xx>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Aug 13 15:58:12 blanked_hostname sendmail[18423]: s7DLwBeV018423: to=destination_email@gmail.com, ctladdr=oracle (505/507), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30057, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (s7DLwBd3018428 Message accepted for delivery)
Aug 13 15:58:12 blanked_hostname sendmail[18430]: s7DLwBd3018428: to=<destination_email@gmail.com>, ctladdr=<oracle@blanked_hostname.xxxx.xx.xx>, (505/507), delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=120382, relay=alt4.gmail-smtp-in.l.google.com. [74.125.131.27], dsn=4.0.0, stat=Deferred: Connection refused by alt4.gmail-smtp-in.l.google.com.
I am able to connect to Gmail via telnet. Here's the output:
DBNAME 15:14:46 $ telnet smtp.gmail.com 465
Trying 74.125.25.109...
Connected to smtp.gmail.com (74.125.25.109).
Escape character is '^]'.
Connection closed by foreign host.
This is happening on both of my Oracle Linux Database servers, however my AIX 6.1 Database servers are able to send email externally.
Any advice on where to go from here?
Thanks.
|