title: Sendmail issue: successfully sent but never arrives
body: <p>I'm trying to send mail via the PHP mail() function which as far as I have understood uses sendmail to deliver the goods. Now my problem is that mail() returns true but there is not even a trace of the mail in my mailbox (yea i checked spam too).</p>
  
  <p>So i tried to send some mail manually from the terminal but the problem persists. sendmail does not give me an error, except from a unable to determine domain error which i fixed by adding the domain for my dev-machine to /etc/hosts and related it to 127.0.0.1.</p>
  
  <pre><code>andreas@Andreas-PC-Ubuntu:~$ sendmail xxxxxxx@xxxxxxx.com
  Test
  .
  andreas@Andreas-PC-Ubuntu:~$
  </code></pre>
  
  <p>As well as giving no error, sendmail logs that the mail was sent successfully in /var/log/mail.log:</p>
  
  <pre><code>Apr  7 01:16:21 Andreas-PC-Ubuntu sendmail[11759]: q36NGIfD011759: from=andreas, size=5, class=0, nrcpts=1, msgid=&lt;201204062316.q36NGIfD011759@home.hagenz.com&gt;, relay=andreas@localhost
  Apr  7 01:16:21 Andreas-PC-Ubuntu sm-mta[11760]: q36NGL1J011760: from=&lt;andreas@home.hagenz.com&gt;, size=299, class=0, nrcpts=1, msgid=&lt;201204062316.q36NGIfD011759@home.hagenz.com&gt;, proto=ESMTP, daemon=MTA-v4, relay=ip6-localhost [127.0.0.1]
  Apr  7 01:16:21 Andreas-PC-Ubuntu sendmail[11759]: q36NGIfD011759: to=xxxxxxx@xxxxxxx.com, ctladdr=andreas (1000/1000), delay=00:00:03, xdelay=00:00:00, mailer=relay, pri=30005, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (q36NGL1J011760 Message accepted for delivery)
  </code></pre>
  
  <p>So yea, any suggestions?</p>