Hello Friends
Please Help me, i am doing it first time.
Our company has purchased a cloud based server with Linux Centos Version 7. Apache, Mysql, Postfix, Sendmail all installed on it previously.
We do not have domain name purchased yet.I am facing an issue, mails are not being sent.
Even I tried sending mails using
echo "Subject: sendmail test" | sendmail -v
sgs.engineer@gmail.com
but emails are not being recieved.
After execution of this statement - echo "Subject: sendmail test" | sendmail -v
sgs.engineer@gmail.com.
I got "Message coming is Mail Delivery Status Report will be mailed to jboss"
where jboss is login user.
I tried to see mails under /etc/spool/mail/jboss
Following message is here:
<sgs.engineer@gmail.com>: connect to
alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c01::1b]:25: Network is
unreachable
--4435CB4FA9.1509949534/localhost.localdomain
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; localhost.localdomain
X-Postfix-Queue-ID: 4435CB4FA9
X-Postfix-Sender: rfc822;
jboss@localhost.localdomain
Arrival-Date: Mon, 6 Nov 2017 06:24:34 +0000 (UTC)
Final-Recipient: rfc822;
mehta.nikhil.27@gmail.com
Action: delayed
Status: 4.4.1
Diagnostic-Code: X-Postfix; connect to
alt2.gmail-smtp-in.l.google.com[2404:6800:4003:c01::1b]:25: Network is
unreachable
--4435CB4FA9.1509949534/localhost.localdomain
Content-Description: Message Headers
Content-Type: text/rfc822-headers
Return-Path: <jboss@localhost.localdomain>
Received: by localhost.localdomain (Postfix, from userid 1001)
id 4435CB4FA9; Mon, 6 Nov 2017 06:24:34 +0000 (UTC)
Subject: sendmail test
Message-Id: <20171106062434.4435CB4FA9@localhost.localdomain>
Date: Mon, 6 Nov 2017 06:24:34 +0000 (UTC)
From:
jboss@localhost.localdomain
--4435CB4FA9.1509949534/localhost.localdomain--
Please help. why i am not getting emails?
Thanks in advance.