<?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: unable to sendmail in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/unable-to-sendmail/m-p/4187358#M32353</link>
    <description>Hi,&lt;BR /&gt;check your DNS is working or not.&lt;BR /&gt;check your access file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Aashique</description>
    <pubDate>Mon, 28 Apr 2008 13:54:15 GMT</pubDate>
    <dc:creator>Aashique</dc:creator>
    <dc:date>2008-04-28T13:54:15Z</dc:date>
    <item>
      <title>unable to sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-sendmail/m-p/4187353#M32348</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am unable to sendmail to my local domain.&lt;BR /&gt;&lt;BR /&gt;Let me tell u in a detailed manner:&lt;BR /&gt;&lt;BR /&gt;Domain Name: ashokleyland.com&lt;BR /&gt;&lt;BR /&gt;I have edited the /etc/mailsendmail.cf file and added the domain and uncommented.&lt;BR /&gt;&lt;BR /&gt;My /etc/resolv.conf is:&lt;BR /&gt;&lt;BR /&gt;vorap101#cat /etc/resolv.conf&lt;BR /&gt;domain ashokleyland.com&lt;BR /&gt;nameserver 10.200.221.1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And the sendmail fails with:&lt;BR /&gt;&lt;BR /&gt;vorap101#echo test | sendmail -v sridhar.hp@ashokleyland.com&lt;BR /&gt;sridhar.hp@ashokleyland.com... Connecting to mailrelay via relay...&lt;BR /&gt;sridhar.hp@ashokleyland.com... Deferred: Name server: mailrelay: host name lookup failure&lt;BR /&gt;Closing connection to mailrelay&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And the logs (/var/adm/syslog/mail.log) shows up as follows:&lt;BR /&gt;&lt;BR /&gt;Apr 27 13:52:14 vorap101 sendmail[3966]: m3R8MEL03966: from=root, size=5, class=0, nrcpts=1, msgid=&amp;lt;200804270822.m3R8MEL03966@vorap101.ashokleyland.com&amp;gt;, relay=root@localhost&lt;BR /&gt;Apr 27 13:52:48 vorap101 sendmail[3966]: m3R8MEL03966: to=sridhar.hp@ashokleyland.com, ctladdr=root (0/3), delay=00:00:34, xdelay=00:00:34, mailer=relay, pri=30005, relay=mailrelay [10.1.220.2], dsn=4.0.0, stat=Deferred: Name server: mailrelay: host name lookup failure&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And the mailq output is:&lt;BR /&gt;&lt;BR /&gt;vorap101#mailq&lt;BR /&gt;                /var/spool/mqueue (7 requests)&lt;BR /&gt;----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient------------&lt;BR /&gt;m3R89gd03782        5 Sun Apr 27 13:39 root&lt;BR /&gt;                 (reply: read error from mailrelay)&lt;BR /&gt;                                       sridhar.hp@ashokleyland.com&lt;BR /&gt;m3R8MEL03966        5 Sun Apr 27 13:52 root&lt;BR /&gt;                 (reply: read error from mailrelay)&lt;BR /&gt;                                       sridhar.hp@ashokleyland.com&lt;BR /&gt;m3R7cun03416       10 Sun Apr 27 13:08 root&lt;BR /&gt;                 (host map: lookup (ashokleyland.com): deferred)&lt;BR /&gt;                                       sridhar.hp@ashokleyland.com&lt;BR /&gt;m3R8BxN03832       10 Sun Apr 27 13:41 root&lt;BR /&gt;                 (reply: read error from mailrelay)&lt;BR /&gt;                                       sridhar.hp@ashokleyland.com&lt;BR /&gt;m3R8F0503858       10 Sun Apr 27 13:45 root&lt;BR /&gt;                 (reply: read error from mailrelay)&lt;BR /&gt;                                       sridhar.hp@ashokleyland.com&lt;BR /&gt;m3R7Eh908741       10 Sun Apr 27 12:44 root&lt;BR /&gt;                 (host map: lookup (ashokleyland.com): deferred)&lt;BR /&gt;                                       sridhar.hp@ashokleyland.com&lt;BR /&gt;m3R7LBU08825       12 Sun Apr 27 12:51 root&lt;BR /&gt;                 (host map: lookup (ashokleyland.com): deferred)&lt;BR /&gt;                                       sridhar.hp@ashokleyland.com&lt;BR /&gt;vorap101#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Kindly tell me what couls be done for this?&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance!!&lt;BR /&gt;&lt;BR /&gt;Sridhar</description>
      <pubDate>Sun, 27 Apr 2008 07:26:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-sendmail/m-p/4187353#M32348</guid>
      <dc:creator>Sridhar R</dc:creator>
      <dc:date>2008-04-27T07:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: unable to sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-sendmail/m-p/4187354#M32349</link>
      <description>My /etc/hosts file looks like:&lt;BR /&gt;&lt;BR /&gt;vorap101#cat /etc/hosts&lt;BR /&gt;## Configured using SAM by root on Mon Aug  6 16:00:53 2007&lt;BR /&gt;## Configured using SAM by root on Mon Aug  6 16:00:42 2007&lt;BR /&gt;# @(#)B11.23_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $&lt;BR /&gt;#&lt;BR /&gt;# The form for each entry is:&lt;BR /&gt;# &lt;INTERNET address=""&gt;    &lt;OFFICIAL hostname=""&gt; &lt;ALIASES&gt;&lt;BR /&gt;#&lt;BR /&gt;# For example:&lt;BR /&gt;# 192.1.2.34    hpfcrm  loghost&lt;BR /&gt;#&lt;BR /&gt;# See the hosts(4) manual page for more information.&lt;BR /&gt;# Note: The entries cannot be preceded by a space.&lt;BR /&gt;#       The format described in this file is the correct format.&lt;BR /&gt;#       The original Berkeley manual page contains an error in&lt;BR /&gt;#       the format description.&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;10.200.227.61   vorap101.ashokleyland.com    vorap101&lt;BR /&gt;10.200.227.62   cdbap101.ashokleyland.com    cdbap101&lt;BR /&gt;10.200.227.63   wwwap101.ashokleyland.com    wwwap101&lt;BR /&gt;10.200.227.64   scmap101.ashokleyland.com    scmap101&lt;BR /&gt;10.200.226.50   dmzbd101.ashokleyland.com    dmzdb101&lt;BR /&gt;10.200.226.21   cbadb101.ashokleyland.com    cbadb101&lt;BR /&gt;10.200.226.22   cbadb102.ashokleyland.com    cbadb102&lt;BR /&gt;10.200.226.23   cbadb103.ashokleyland.com    cbadb103&lt;BR /&gt;10.1.220.2      mailrelay.ashokleyland.com   mailrelay&lt;BR /&gt;127.0.0.1       localhost       loopback&lt;BR /&gt;&lt;/ALIASES&gt;&lt;/OFFICIAL&gt;&lt;/INTERNET&gt;</description>
      <pubDate>Sun, 27 Apr 2008 07:28:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-sendmail/m-p/4187354#M32349</guid>
      <dc:creator>Sridhar R</dc:creator>
      <dc:date>2008-04-27T07:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: unable to sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-sendmail/m-p/4187355#M32350</link>
      <description>Sridhar,&lt;BR /&gt;&lt;BR /&gt;Before test sendmail you should configure DNS for ashokleyland.com.&lt;BR /&gt;You should be able to get MX record for ashokleyland.com:&lt;BR /&gt;&lt;BR /&gt;#host -t mx ashokleyland.com&lt;BR /&gt;</description>
      <pubDate>Sun, 27 Apr 2008 08:31:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-sendmail/m-p/4187355#M32350</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2008-04-27T08:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: unable to sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-sendmail/m-p/4187356#M32351</link>
      <description>Sendmail won't lookup into the /etc/hosts table. Edit your sendmail configuration file and replace mailrelay with it's real ip address enclosed by brackets, like this [10.1.220.2].&lt;BR /&gt;&lt;BR /&gt;This will tell sendmail to contact directly to that IP address and avoid DNS lookups.</description>
      <pubDate>Sun, 27 Apr 2008 13:34:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-sendmail/m-p/4187356#M32351</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-04-27T13:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: unable to sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-sendmail/m-p/4187357#M32352</link>
      <description>Hi,&lt;BR /&gt;check your DNS is woring or not.&lt;BR /&gt;check your access file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Aashique</description>
      <pubDate>Mon, 28 Apr 2008 13:54:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-sendmail/m-p/4187357#M32352</guid>
      <dc:creator>Aashique</dc:creator>
      <dc:date>2008-04-28T13:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: unable to sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-sendmail/m-p/4187358#M32353</link>
      <description>Hi,&lt;BR /&gt;check your DNS is working or not.&lt;BR /&gt;check your access file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;Aashique</description>
      <pubDate>Mon, 28 Apr 2008 13:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-sendmail/m-p/4187358#M32353</guid>
      <dc:creator>Aashique</dc:creator>
      <dc:date>2008-04-28T13:54:15Z</dc:date>
    </item>
  </channel>
</rss>

