<div><br><br>Danny,</div>
<div> </div>
<div>I've done as you explained and get the same messages at /var/log/maillog</div>
<div> </div>
<div> </div>
<div> </div>
<div>What I'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><<a href="mailto:j.gallego@prosima.es">j.gallego@prosima.es</a>><br> (reason: 550 5.1.8 <<a href="mailto:root@localhost.localdomain">root@localhost.localdomain</a>>: 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>>>> DATA<br><<< 550 5.1.8 <<a href="mailto:root@localhost.localdomain">root@localhost.localdomain</a>>: Sender address rejected: Domain not found<br>
550 5.1.1 <<a href="mailto:testuser@mydomain.com">testuser@mydomain.com</a>>... User unknown <br><<< 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 <<a href="mailto:root@localhost.localdomain">root@localhost.localdomain</a>>: 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: <<a href="mailto:root@localhost.localdomain">root@localhost.localdomain</a>><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 <<a href="mailto:testuser@mydomain.com">testuser@mydomain.com</a>>; 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?= <<a href="mailto:asterisk@mydomain.com">asterisk@mydomain.com</a>><br>To: "Test User" <<a href="mailto:testuser@mydomain.com">testuser@mydomain.com</a>><br>Subject: =?ISO-8859-1?Q?=5BPBX=5DRecibido_mensaje_numero_1_en_su_buzon_de?= <br>
=?ISO-8859-1?Q?_voz?=<br>Message-ID: <<a href="mailto:Asterisk-1-227856683-222-3479@MYSERVER">Asterisk-1-227856683-222-3479@MYSERVER</a>><br>X-Asterisk-CallerID: 222<br>X-Asterisk-CallerIDName: Test User<br>MIME-Version: 1.0<br>
Content-Type: multipart/mixed; boundary="----voicemail_122234791383843144"</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 <<a href="mailto:root@localhost.localdomain">root@localhost.localdomain</a>>: 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>