Danny, my sendmail.cf is not at /etc but at /etc/mail.
These lines you mention are not at the end of this file. Enclosed you'll find my /etc/mail/sendmail.cf Many thanks 2009/8/24 Danny Nicholas <da...@debsinc.com> > In /etc/sendmail.cf, do you have these lines at the end? > > Tuser Asterisk > > Tuser asterisk > > > > > ------------------------------ > > *From:* asterisk-users-boun...@lists.digium.com [mailto: > asterisk-users-boun...@lists.digium.com] *On Behalf Of *Joan Antoni Terre > *Sent:* Monday, August 24, 2009 9:59 AM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* Re: [asterisk-users] Problems sending voicemail emails > > > > > > Danny, > > > > I've done as you explained and get the same messages at /var/log/maillog > > > > > > > > What I've seen at /var/spool/mail/root the following > > > > > > Subject: Returned mail: see transcript for details > Auto-Submitted: auto-generated (failure) > This is a MIME-encapsulated message > --n7OCj49W003606.1251117904/localhost.localdomain > The original message was received at Mon, 24 Aug 2009 14:45:03 +0200 > from MYSERVER [127.0.0.1] > ----- The following addresses had permanent fatal errors ----- > <j.gall...@prosima.es> > (reason: 550 5.1.8 <r...@localhost.localdomain>: Sender address > rejected: Domain not found) > ----- Transcript of session follows ----- > ... while talking to mx1.datagrama.net.: > >>> DATA > <<< 550 5.1.8 <r...@localhost.localdomain>: Sender address rejected: > Domain not found > 550 5.1.1 <testu...@mydomain.com>... User unknown > <<< 554 5.5.1 Error: no valid recipients > --n7OCj49W003606.1251117904/localhost.localdomain > Content-Type: message/delivery-status > Reporting-MTA: dns; localhost.localdomain > Received-From-MTA: DNS; MYSERVER > Arrival-Date: Mon, 24 Aug 2009 14:45:03 +0200 > Final-Recipient: RFC822; testu...@mydomain.com > Action: failed > Status: 5.1.8 > Remote-MTA: DNS; mx1.datagrama.net > Diagnostic-Code: SMTP; 550 5.1.8 <r...@localhost.localdomain>: Sender > address rejected: Domain not found > Last-Attempt-Date: Mon, 24 Aug 2009 14:45:04 +0200 > --n7OCj49W003606.1251117904/localhost.localdomain > Content-Type: message/rfc822 > Return-Path: <r...@localhost.localdomain> > Received: from localhost.localdomain (MYSERVER [127.0.0.1]) > by localhost.localdomain (8.13.8/8.13.8) with ESMTP id > n7OCiw9W003604 > for <testu...@mydomain.com>; Mon, 24 Aug 2009 14:45:03 +0200 > Received: (from r...@localhost) > by localhost.localdomain (8.13.8/8.13.8/Submit) id n7OCivth003603; > Mon, 24 Aug 2009 14:44:57 +0200 > Date: Mon, 24 Aug 2009 14:44:57 +0200 > From: =?ISO-8859-1?Q?=22Asterisk=22?= <aster...@mydomain.com> > To: "Test User" <testu...@mydomain.com> > Subject: > =?ISO-8859-1?Q?=5BPBX=5DRecibido_mensaje_numero_1_en_su_buzon_de?= > =?ISO-8859-1?Q?_voz?= > Message-ID: <asterisk-1-227856683-222-3...@myserver> > X-Asterisk-CallerID: 222 > X-Asterisk-CallerIDName: Test User > MIME-Version: 1.0 > Content-Type: multipart/mixed; boundary="----voicemail_122234791383843144" > > This is a multi-part message in MIME format. > ------voicemail_122234791383843144 > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: 8bit > > > > > > > > > Notice: > Diagnostic-Code: SMTP; 550 5.1.8 <r...@localhost.localdomain>: Sender > address rejected: Domain not found > > By configuring serveremail = aster...@mydomain.com, sendmail should use > this email adress as sender, is it right? > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
sendmail.mc
Description: Binary data
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users