tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tpop3d-discuss] hostname?


From: Paul Makepeace
Subject: Re: [tpop3d-discuss] hostname?
Date: Sun, 30 Jun 2002 23:59:55 +0100
User-agent: Mutt/1.3.28i

On Sun, Jun 30, 2002 at 06:10:53PM +0100, Chris Elsworth wrote:
> On Sun, Jun 30, 2002 at 05:19:00PM +0200, Klaus Rene Hansen [ Sconk ] wrote:
> > how do i change the hostname (pukkelhval) to some thing else?
> > POP3< +OK <address@hidden>
> 
> I believe it uses the value from /etc/resolv.conf listed as domain:
> 
> domain  shagged.org

Having just been poking about in mutt sources, another possibility is
"search" in /etc/resolv.conf, after looking for "domain". Debian has a
/etc/mailname file which is created during install and is a single line
consisting of hostname.domain (or just hostname if no domain was given).
Incidently the domainname field in the utsname structure returned by
uname(2) is a GNUism.

Just fwiw, fyi,
Paul

-- 
Paul Makepeace ....................................... http://paulm.com/

"What is the so-called mulligan? Fruit of the Loom!"
   -- http://paulm.com/toys/surrealism/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]