Subject: Re: problem running qpopper2.53 from inetd
To: Doug Junkins <junkins@foghead.com>
From: Zdenek Salvet <salvet@ics.muni.cz>
List: netbsd-help
Date: 07/28/1999 08:10:29
> I'm trying to set up a NetBSD 1.4 box as a POP server.  I've compiled
> qpopper2.53 and installed in /usr/local/libexec/popper.  I've made sure
> that pop3 is listed in /etc/services at tcp port 110 and I've added the
> following line to /etc/inetd.conf:
> 
> 	pop3 stream tcp nowait root /usr/local/libexec/popper popper -s
> 
> When I try to connect to the pop server (using telnet to port 110), the
> server clears the connection immediately.  When I run inetd in debug
> mode, it doesn't appear that it's spawning the POP server.  Here's the
> output of the debug mode first with a POP connection then a telnet
> connection that works:
> 
> 	crane# inetd -d
> 	ADD : pop3 proto=tcp, wait.max=0.40, user.group=root.(null) builtin=0 server=/usr/local/libexec/popper
> 	registered /usr/local/libexec/popper on 4
> 	ADD : ftp proto=tcp, wait.max=0.40, user.group=root.(null) builtin=0 server=/usr/libexec/tcpd
> 	registered /usr/libexec/tcpd on 5
> 	ADD : telnet proto=tcp, wait.max=0.40, user.group=root.(null) builtin=0 server=/usr/libexec/telnetd
> 	registered /usr/libexec/telnetd on 6
> 	someone wants pop3
> 	accept, ctrl 3
> 	1351 reaped, status 0x100
> 	someone wants telnet
> 	accept, ctrl 3
> 	1352 execl /usr/libexec/telnetd
> 	1352 reaped, status 0x100

Look at your /var/log/authlog, you may have restrictive access control
setting in /etc/hosts.{allow,deny}.

-- 
Zdenek Salvet                                              salvet@ics.muni.cz 
Ustav vypocetni techniky Masarykovy univerzity, Brno
tel.: ++420-5-41 512 257                           Fax: ++420-5-41 212 747
----------------------------------------------------------------------------
           If God had meant for us to be in the Army,
         we would have been born with green, baggy skin.