[tpop3d-discuss] hostname?

Allan Joergensen dw at nowhere.dk
Sun, 30 Jun 2002 19:22:13 +0200


On 30-Jun-2002, Chris Elsworth wrote:

> 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 .. :)

> host 194.255.24.145
145.24.255.194.in-addr.arpa domain name pointer coredump.nowhere.dk.

+OK <1574b161e2e25c61dae6abdd184cd863@coredump>

It would seem that thins break if you have "0.0.0.0" as the listen
address.

Jun 30 19:22:48 coredump tpop3d[28365]: listener_new: gethostbyaddr(0.0.0.0): cannot resolve name
Jun 30 19:22:48 coredump tpop3d[28365]: listener_new: 0.0.0.0: no domain suffix can be appended for this address
Jun 30 19:22:48 coredump tpop3d[28365]: listener_new: 0.0.0.0: using fallback domain suffix `coredump'
Jun 30 19:22:48 coredump tpop3d[28365]: listening on address 0.0.0.0, port 110, domain coredump

-- 
Allan Joergensen aka [DW] on eu.openprojects.net

"Relax, Quark.  No one's accusing you of anything." -- Odo