tpop3d-devel
[Top][All Lists]
Advanced

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

Re: [tpop3d-discuss] hostname?


From: Chris Elsworth
Subject: Re: [tpop3d-discuss] hostname?
Date: Sun, 30 Jun 2002 18:15:24 +0100
User-agent: Mutt/1.5.1i

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
> 
> is what I have, and I get:
> +OK <address@hidden>

Bah, no, it doesn't.. actually looking at the code reveals it does a
reverse lookup on the IP thats being connected to, and if found, uses
everything after the first period. If there's no entry, it uses the
uname of the system, which is presumably whats happening with you. So
really you should set up some correct rDNS for the listening IP.

I hope thats right, or I'm going to look even sillier than I already
do .. :)

-- 
Chris


reply via email to

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