Machine name: localhost

Eamonn Sullivan eamonn.sullivan at gmail.com
Sat Sep 9 17:14:00 UTC 2006


On 9/9/06, David Abrahams <dave at boost-consulting.com> wrote:
>
> In /var/log/syslog and elsewhere, I see the default name "localhost"
> where my machine's name should appear.  I'm not sure where this is
> coming from; I did name the machine when I installed ubuntu, and I see
> the machine's name (pereiro) in some places, including /etc/hostname.
>
> I was just ignoring it, but now it's become a problem.  When sending
> through a different SMTP server than I use at home, my mails are
> getting rejected (see enclosed).  How can I fix this problem?
>
> Thanks in advance!
>
>
>
> Return-Path: <MAILER-DAEMON at stlport.com>
> Received: by stlport.com (CommuniGate Pro PIPE 4.2)
>   with PIPE id 1550190; Sat, 09 Sep 2006 09:32:46 -0700
> Subject: Undeliverable mail: Re: Linux Laptop
> From: <MAILER-DAEMON at stlport.com>
> To: <dave at localhost>
> Date: Sat, 09 Sep 2006 09:32:31 -0700
> Message-ID: <receipt-1550174 at stlport.com>
> X-MAPI-Message-Class: REPORT.IPM.Note.NDR
> MIME-Version: 1.0
> Content-Type: multipart/report; report-type="delivery-status";
>         boundary="_===1550174====stlport.com===_"
> X-Spambayes-Classification: ham; 0.14
> X-Mailer: CommuniGate Pro CLI mailer
>
>
> --_===1550174====stlport.com===_
> Content-Type: text/plain; charset="utf-8"
>
> Failed to deliver to 'Jens.Maurer at gmx.net'
> SMTP module(domain gmx.net) reports:
>  return-path address <dave at localhost> rejected by mx0.gmx.de:
>  550 5.1.8 Cannot resolve your domain {mx091}
>
>
> --_===1550174====stlport.com===_
> Content-Type: message/delivery-status
>
> Reporting-MTA: dns; stlport.com
>
> Original-Recipient: rfc822;<Jens.Maurer at gmx.net>
> Final-Recipient: rfc822;<Jens.Maurer at gmx.net>
> Action: failed
> Status: 5.0.0
>
> --_===1550174====stlport.com===_
> Content-Type: text/rfc822-headers
>
> Received: from [66.240.35.66] (account dave HELO localhost)
>   by stlport.com (CommuniGate Pro SMTP 4.2)
>   with ESMTP-TLS id 1550184; Sat, 09 Sep 2006 09:32:30 -0700
> Received: from dave by localhost with local (Exim 4.60)
>         (envelope-from <dave at localhost>)
>         id 1GM5kq-00061g-B6; Sat, 09 Sep 2006 12:32:28 -0400
> To: Jens Maurer <Jens.Maurer at gmx.net>
> Subject: Re: Linux Laptop
> References: <871wqu5blf.fsf at pereiro.peloton> <45007008.1040405 at gmx.net>
>         <87r6yn1lwl.fsf at pereiro.peloton> <45028AC6.7030600 at gmx.net>
> From: David Abrahams <dave at boost-consulting.com>
> Date: Sat, 09 Sep 2006 12:32:28 -0400
> In-Reply-To: <45028AC6.7030600 at gmx.net> (Jens Maurer's message of "Sat, 09 Sep 2006 11:35:02 +0200")
> Message-ID: <87ac59t2zn.fsf at pereiro.peloton>
> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Sender: "David Abrahams,,," <dave at localhost>
>
> --_===1550174====stlport.com===_--
>
>

localhost is a standard name. You want it in there. What are you using
to send the email? It looks like (from above) that you're using emacs,
is that correct?

-Eamonn




More information about the ubuntu-users mailing list