<div><br><br>Danny,</div>
<div> </div>
<div>I&#39;ve done as you explained and get the same messages at /var/log/maillog</div>
<div> </div>
<div> </div>
<div> </div>
<div>What I&#39;ve seen at /var/spool/mail/root the following</div>
<div> </div>
<div> </div>
<div>Subject: Returned mail: see transcript for details<br>Auto-Submitted: auto-generated (failure)<br>This is a MIME-encapsulated message<br>--n7OCj49W003606.1251117904/localhost.localdomain<br>The original message was received at Mon, 24 Aug 2009 14:45:03 +0200<br>
from MYSERVER [127.0.0.1]<br>   ----- The following addresses had permanent fatal errors -----<br>&lt;<a href="mailto:j.gallego@prosima.es">j.gallego@prosima.es</a>&gt;<br>    (reason: 550 5.1.8 &lt;<a href="mailto:root@localhost.localdomain">root@localhost.localdomain</a>&gt;: Sender address rejected: Domain not found)<br>
   ----- Transcript of session follows -----<br>... while talking to <a href="http://mx1.datagrama.net">mx1.datagrama.net</a>.:<br>&gt;&gt;&gt; DATA<br>&lt;&lt;&lt; 550 5.1.8 &lt;<a href="mailto:root@localhost.localdomain">root@localhost.localdomain</a>&gt;: Sender address rejected: Domain not found<br>
550 5.1.1 &lt;<a href="mailto:testuser@mydomain.com">testuser@mydomain.com</a>&gt;... User unknown   <br>&lt;&lt;&lt; 554 5.5.1 Error: no valid recipients<br>--n7OCj49W003606.1251117904/localhost.localdomain<br>Content-Type: message/delivery-status<br>
Reporting-MTA: dns; localhost.localdomain<br>Received-From-MTA: DNS; MYSERVER<br>Arrival-Date: Mon, 24 Aug 2009 14:45:03 +0200<br>Final-Recipient: RFC822; <a href="mailto:testuser@mydomain.com">testuser@mydomain.com</a><br>
Action: failed<br>Status: 5.1.8<br>Remote-MTA: DNS; <a href="http://mx1.datagrama.net">mx1.datagrama.net</a><br>Diagnostic-Code: SMTP; 550 5.1.8 &lt;<a href="mailto:root@localhost.localdomain">root@localhost.localdomain</a>&gt;: Sender address rejected: Domain not found<br>
Last-Attempt-Date: Mon, 24 Aug 2009 14:45:04 +0200<br>--n7OCj49W003606.1251117904/localhost.localdomain<br>Content-Type: message/rfc822<br>Return-Path: &lt;<a href="mailto:root@localhost.localdomain">root@localhost.localdomain</a>&gt;<br>
Received: from localhost.localdomain (MYSERVER [127.0.0.1])<br>        by localhost.localdomain (8.13.8/8.13.8) with ESMTP id n7OCiw9W003604<br>        for &lt;<a href="mailto:testuser@mydomain.com">testuser@mydomain.com</a>&gt;; Mon, 24 Aug 2009 14:45:03 +0200<br>
Received: (from <a href="mailto:root@localhost">root@localhost</a>)<br>        by localhost.localdomain (8.13.8/8.13.8/Submit) id n7OCivth003603;<br>        Mon, 24 Aug 2009 14:44:57 +0200<br>Date: Mon, 24 Aug 2009 14:44:57 +0200<br>
From: =?ISO-8859-1?Q?=22Asterisk=22?= &lt;<a href="mailto:asterisk@mydomain.com">asterisk@mydomain.com</a>&gt;<br>To: &quot;Test User&quot; &lt;<a href="mailto:testuser@mydomain.com">testuser@mydomain.com</a>&gt;<br>Subject: =?ISO-8859-1?Q?=5BPBX=5DRecibido_mensaje_numero_1_en_su_buzon_de?=          <br>
 =?ISO-8859-1?Q?_voz?=<br>Message-ID: &lt;<a href="mailto:Asterisk-1-227856683-222-3479@MYSERVER">Asterisk-1-227856683-222-3479@MYSERVER</a>&gt;<br>X-Asterisk-CallerID: 222<br>X-Asterisk-CallerIDName: Test User<br>MIME-Version: 1.0<br>
Content-Type: multipart/mixed; boundary=&quot;----voicemail_122234791383843144&quot;</div>
<div>This is a multi-part message in MIME format.<br>------voicemail_122234791383843144<br>Content-Type: text/plain; charset=ISO-8859-1<br>Content-Transfer-Encoding: 8bit     </div>
<div> </div>
<div> </div>
<div> </div>
<div><br>Notice:<br>Diagnostic-Code: SMTP; 550 5.1.8 &lt;<a href="mailto:root@localhost.localdomain">root@localhost.localdomain</a>&gt;: Sender address rejected: Domain not found</div>
<div>By configuring serveremail = <a href="mailto:asterisk@mydomain.com">asterisk@mydomain.com</a>, sendmail should use this email adress as sender, is it right?</div>