<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: i am not able to send mail to gmail? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/i-am-not-able-to-send-mail-to-gmail/m-p/4590203#M60422</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;User unknown&lt;BR /&gt;&lt;BR /&gt;There is no user at google sample@google.com&lt;BR /&gt;&lt;BR /&gt;Therefore their mail system is rejecting the mail.&lt;BR /&gt;&lt;BR /&gt;That part is quite simple.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Google has some standards other than this for accepting mail.&lt;BR /&gt;&lt;BR /&gt;1) The domain name of the sender must match the domain name associated with the IP address sending the mail.&lt;BR /&gt;2) The domain name of the sender must be able to be looked up with nslookup or dig. Public look up for the domain must succeed.&lt;BR /&gt;3) The domain name of the server/ip address must be able to be found in a public dns look up.&lt;BR /&gt;&lt;BR /&gt;There are other conditions and spam filters. But any discrepancies in the source of the sender will stop the mail from being delivered.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
    <pubDate>Wed, 24 Feb 2010 16:57:47 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2010-02-24T16:57:47Z</dc:date>
    <item>
      <title>i am not able to send mail to gmail?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/i-am-not-able-to-send-mail-to-gmail/m-p/4590202#M60421</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;echo "test" | mail -s "test" sample@gmail.com&lt;BR /&gt;&lt;BR /&gt;tail -100 /var/spool/mail/root:&lt;BR /&gt;&lt;BR /&gt;The original message was received at Wed, 24 Feb 2010 20:59:59 +0530&lt;BR /&gt;from root@localhost&lt;BR /&gt;&lt;BR /&gt;   ----- The following addresses had permanent fatal errors -----&lt;BR /&gt;sample@gmail.com&lt;BR /&gt;    (reason: 553 5.1.2 &lt;SAMPLE&gt;... Unrecognized host name gmail.com.)&lt;BR /&gt;    (expanded from: sample@gmail.com)&lt;BR /&gt;&lt;BR /&gt;   ----- Transcript of session follows -----&lt;BR /&gt;... while talking to [127.0.0.1]:&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; DATA&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt; 553 5.1.2 &lt;SAMPLE&gt;... Unrecognized host name gmail.com.&lt;BR /&gt;550 5.1.1 sample@gmail.com... User unknown&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt; 503 5.0.0 Need RCPT (recipient)&lt;BR /&gt;&lt;BR /&gt;--o1OFTxjV004505.1267025400/test2.domain.com&lt;BR /&gt;Content-Type: message/delivery-status&lt;BR /&gt;&lt;BR /&gt;Reporting-MTA: dns; test2.domain.com&lt;BR /&gt;Arrival-Date: Wed, 24 Feb 2010 20:59:59 +0530&lt;BR /&gt;&lt;BR /&gt;Final-Recipient: RFC822; sample@gmail.com&lt;BR /&gt;Action: failed&lt;BR /&gt;Status: 5.1.2&lt;BR /&gt;Remote-MTA: DNS; [127.0.0.1]&lt;BR /&gt;Diagnostic-Code: SMTP; 553 5.1.2 &lt;SAMPLE&gt;... Unrecognized host name gmail.com.&lt;BR /&gt;Last-Attempt-Date: Wed, 24 Feb 2010 21:00:00 +0530&lt;BR /&gt;&lt;BR /&gt;--o1OFTxjV004505.1267025400/test2.domain.com&lt;BR /&gt;Content-Type: message/rfc822&lt;BR /&gt;&lt;BR /&gt;Return-Path: &lt;ROOT&gt;&lt;BR /&gt;Received: (from root@localhost)&lt;BR /&gt;        by test2.domain.com (8.13.1/8.13.1/Submit) id o1OFTxjU004505&lt;BR /&gt;        for sample@gmail.com; Wed, 24 Feb 2010 20:59:59 +0530&lt;BR /&gt;Date: Wed, 24 Feb 2010 20:59:59 +0530&lt;BR /&gt;From: root &lt;ROOT&gt;&lt;BR /&gt;Message-Id: &amp;lt;201002241529.o1OFTxjU004505@test2.domain.com&amp;gt;&lt;BR /&gt;To: sample@gmail.com&lt;BR /&gt;Subject: test&lt;BR /&gt;&lt;BR /&gt;test&lt;BR /&gt;&lt;BR /&gt;--o1OFTxjV004505.1267025400/test2.domain.com--&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;/ROOT&gt;&lt;/ROOT&gt;&lt;/SAMPLE&gt;&lt;/SAMPLE&gt;&lt;/SAMPLE&gt;</description>
      <pubDate>Wed, 24 Feb 2010 15:33:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/i-am-not-able-to-send-mail-to-gmail/m-p/4590202#M60421</guid>
      <dc:creator>Mohammed Yusuf</dc:creator>
      <dc:date>2010-02-24T15:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: i am not able to send mail to gmail?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/i-am-not-able-to-send-mail-to-gmail/m-p/4590203#M60422</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;User unknown&lt;BR /&gt;&lt;BR /&gt;There is no user at google sample@google.com&lt;BR /&gt;&lt;BR /&gt;Therefore their mail system is rejecting the mail.&lt;BR /&gt;&lt;BR /&gt;That part is quite simple.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Google has some standards other than this for accepting mail.&lt;BR /&gt;&lt;BR /&gt;1) The domain name of the sender must match the domain name associated with the IP address sending the mail.&lt;BR /&gt;2) The domain name of the sender must be able to be looked up with nslookup or dig. Public look up for the domain must succeed.&lt;BR /&gt;3) The domain name of the server/ip address must be able to be found in a public dns look up.&lt;BR /&gt;&lt;BR /&gt;There are other conditions and spam filters. But any discrepancies in the source of the sender will stop the mail from being delivered.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Feb 2010 16:57:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/i-am-not-able-to-send-mail-to-gmail/m-p/4590203#M60422</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-02-24T16:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: i am not able to send mail to gmail?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/i-am-not-able-to-send-mail-to-gmail/m-p/4590204#M60423</link>
      <description>Looks like the message was rejected by the local MTA in Mohammed's system, even before making an attempt to deliver it to Google.&lt;BR /&gt;&lt;BR /&gt;Note that the Reporting-MTA in the error email is test2.domain.com, not &lt;ANYTHING&gt;.google.com.&lt;BR /&gt;&lt;BR /&gt;Apparently the test2.domain.com did not have access to Internet DNS servers, because it could not resolve the name "gmail.com". &lt;BR /&gt;&lt;BR /&gt;Also, test2.domain.com apparently does not have a "smarthost" (the address of the local organization's primary SMTP server) configured: otherwise test2.domain.com would have passed this message to the configured smarthost for further delivery instead of trying to deliver it directly to gmail.com.&lt;BR /&gt;&lt;BR /&gt;From the information available so far, I cannot positively identify which Mail Transfer Agent is installed on test2.domain.com (i.e. sendmail, Postfix, exim, qmail or something else?), so I cannot provide detailed configuration instructions.&lt;BR /&gt;&lt;BR /&gt;Basically, there is two alternative ways to fix this:&lt;BR /&gt;1.) the "smarthost" configuration: tell the MTA installed on test2.domain.com to deliver all outgoing mail to your primary mail server, which is probably already configured to handle the delivery to anywhere on the Internet. &lt;BR /&gt;&lt;BR /&gt;2.) the "independent" way: if test2.domain.com is supposed to be able to send email to any destination without using another mail server, then test2.domain.com must have unrestricted DNS access. &lt;BR /&gt;&lt;BR /&gt;Manually looking up the IP address of gmail.com and storing it in /etc/hosts is not enough: there is a special DNS record type specifically for controlling email delivery, called a MX record. Any MTA that is not using the smarthost configuration must be able to look up the MX records.&lt;BR /&gt;&lt;BR /&gt;For testing the necessary level of DNS access, try running this command on test2.domain.com:&lt;BR /&gt;&lt;BR /&gt;nslookup -query=MX gmail.com&lt;BR /&gt;&lt;BR /&gt;Because Google has servers all over the world and uses world-wide load balancing, you and I might get different answers to this query; but if the query is not successful at all, you don't have the necessary DNS access.&lt;BR /&gt;&lt;BR /&gt;MK&lt;/ANYTHING&gt;</description>
      <pubDate>Wed, 24 Feb 2010 20:36:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/i-am-not-able-to-send-mail-to-gmail/m-p/4590204#M60423</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-02-24T20:36:26Z</dc:date>
    </item>
  </channel>
</rss>

