title: SendMail Error Message: 553 5.1.8 … Domain of sender address … does not exist
body: <p>I setup sendmail server with inhmail.walkingtree.in in local</p>
  
  <p>when i tried to sen dmail from other email servers i am getting the following error ,</p>
  
  <pre><code>This message was created automatically by mail delivery software.
  
  A message that you sent could not be delivered to one or more of its
  recipients. This is a permanent error. The following address(es) failed:
  
    mail1@inhmail.walkingtree.in
      SMTP error from remote mail server after MAIL FROM:&lt;srinivasa.nallapati@walkingtree.in&gt; SIZE=2548:
      host inhmail.walkingtree.in [122.175.35.121]:
      553 5.1.8 &lt;srinivasa.nallapati@walkingtree.in&gt;... Domain of sender address srinivasa.nallapati@walkingtree.in does not exist
  
  ------ This is a copy of the message, including all the headers. ------
  </code></pre>
  
  <p>I installed sendmail server in 192.168.1.145. the domain name of .145 is inhmail.walkingtree.in</p>
  
  <p>i opened port 25 in firewall in system and router as well .</p>
  
  <p>Mail receiving and sending in 192.168.1.0/24 is working fine with @inhmail.walkingtree.in.</p>
  
  <p>Please help that <strong><code>how  sendmail  can receive mails from external email servers.</code></strong></p>
  
  <p><strong>UPADTED</strong></p>
  
  <pre><code>&gt; [srinivas@localhost ~]$ echo "check_mail jd@walkingtree.in" | sendmail -d8.20 -bt
  ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
  Enter &lt;ruleset&gt; &lt;address&gt;
  &gt; check_mail         input: jd @ walkingtree . in
  Basic_check_mail   input: jd @ walkingtree . in
  tls_client         input: $| MAIL
  D                  input: &lt; &gt; &lt; ? &gt; &lt; ! "TLS_Clt" &gt; &lt; &gt;
  D                returns: &lt; ? &gt; &lt; &gt; &lt; ? &gt; &lt; ! "TLS_Clt" &gt; &lt; &gt;
  A                  input: &lt; &gt; &lt; ? &gt; &lt; ! "TLS_Clt" &gt; &lt; &gt;
  A                returns: &lt; &gt; &lt; ? &gt; &lt; ! "TLS_Clt" &gt; &lt; &gt;
  TLS_connection     input: $| &lt; &gt; &lt; ? &gt; &lt; ! "TLS_Clt" &gt; &lt; &gt;
  TLS_connection   returns: OK
  tls_client       returns: OK
  CanonAddr          input: &lt; jd @ walkingtree . in &gt;
  canonify           input: &lt; jd @ walkingtree . in &gt;
  Canonify2          input: jd &lt; @ walkingtree . in &gt;
  dns_getcanonname(walkingtree.in, trymx=1)
  dns_getcanonname: trying walkingtree.in. (AAAA)
      NO: errno=0, h_errno=4
  dns_getcanonname: trying walkingtree.in. (A)
      NO: errno=0, h_errno=4
  dns_getcanonname: trying walkingtree.in. (MX)
      NO: errno=0, h_errno=4
  dns_getcanonname: trying walkingtree.in.localdomain (AAAA)
      NO: errno=0, h_errno=1
  Canonify2        returns: jd &lt; @ walkingtree . in &gt;
  canonify         returns: jd &lt; @ walkingtree . in &gt;
  Parse0             input: jd &lt; @ walkingtree . in &gt;
  Parse0           returns: jd &lt; @ walkingtree . in &gt;
  CanonAddr        returns: jd &lt; @ walkingtree . in &gt;
  SearchList         input: &lt; + From &gt; $| &lt; F : jd @ walkingtree . in &gt; &lt; U : jd @ &gt; &lt; D : walkingtree . in &gt; &lt; &gt;
  F                  input: &lt; jd @ walkingtree . in &gt; &lt; ? &gt; &lt; + From &gt; &lt; &gt;
  F                returns: &lt; ? &gt; &lt; &gt;
  SearchList         input: &lt; + From &gt; $| &lt; U : jd @ &gt; &lt; D : walkingtree . in &gt; &lt; &gt;
  U                  input: &lt; jd @ &gt; &lt; ? &gt; &lt; + From &gt; &lt; &gt;
  U                returns: &lt; ? &gt; &lt; &gt;
  SearchList         input: &lt; + From &gt; $| &lt; D : walkingtree . in &gt; &lt; &gt;
  D                  input: &lt; walkingtree . in &gt; &lt; ? &gt; &lt; + From &gt; &lt; &gt;
  D                  input: &lt; in &gt; &lt; ? &gt; &lt; + From &gt; &lt; &gt;
  D                returns: &lt; ? &gt; &lt; &gt;
  D                returns: &lt; ? &gt; &lt; &gt;
  SearchList       returns: &lt; ? &gt;
  SearchList       returns: &lt; ? &gt;
  SearchList       returns: &lt; ? &gt;
  Basic_check_mail returns: $# error $@ 5 . 1 . 8 $: "553 Domain of sender address " " does not exist"
  check_mail       returns: $# error $@ 5 . 1 . 8 $: "553 Domain of sender address " " does not exist"
  &gt; [srinivas@localhost ~]$
  </code></pre>
  
  <p><strong>Working:</strong></p>
  
  <p>Yes thanks ,now it is working .</p>
  
  <p>problem is i am unable to ping walkingtree.in ,due to local DNS server settings.I removed dbs server in network connections  now i am able to get mails from GMail and walkingtree.in</p>
  
  <p>when  i am using dns server , i am  able to  ping www.walkingtree.in  but not walkingtree.in . can you please help me to able to ping walkingtree.in</p>