title: How to configure sendmail and avoid localhost.localdomain?
body: <p>I have been added to the CBL list because our servers with fedora 17 (we have been updated them) now are sending mails identifying themselves as localhost.localdomain.</p>
  
  <p>I have run this command from one server with fedora 17</p>
  
  <p>echo “This will go into the body of the mail.” | sendmail -s "Hello world" abraham.sustaita@gmail.com</p>
  
  <p>And this is that is in the mail:</p>
  
  <pre><code>Received: from app03.site.com (localhost.localdomain [127.0.0.1])
      by app03.site.com (8.14.5/8.14.5) with ESMTP id q6UHk0xp018117;
      Mon, 30 Jul 2012 17:46:00 GMT
  </code></pre>
  
  <p>But from other server with fedora 12, the same command send the mail with this:</p>
  
  <pre><code>Received: by app05.site.com (Postfix, from userid 0)
      id 2DFFF24E67E; Mon, 30 Jul 2012 17:46:38 +0000 (UTC)
  </code></pre>
  
  <p>How can I configure sendmail so it doesn't send localhost.localdomain? I have follow this guide: <a href="http://www.redhat.com/magazine/025nov06/features/email/index.html" rel="nofollow">http://www.redhat.com/magazine/025nov06/features/email/index.html</a> but it didn't worked...</p>