[UCLA-LUG] INETD and POP3

Drew drewm@ucla.edu
Mon, 01 Nov 1999 00:10:20 -0800


thefonz wrote:
> 
> Hey,
> 
> Im new to the list but I hang out in #lug (fonz) sometimes.  I was at the
> last installfest.  Just though I should introduce myself.  Anyway Ive been
> having some trouble with both identd and pop3.   I think the issues may be
> some what connected to each other in some way or another.
> 
> Im running Red Hat 6.1 on a P60 w/16MB RAM and a 1.27 gig hd.  I use the
> machine for IPMASQ and a firewall as well as a httpd, ftp, mail (if i ever
> get pop3 working) and dns server.
> 
> 1) IDENTD
> 
> For some reason IDENTD doesn't seem to work.  I have opened port 113 on my
> firewall but still nothing.
> I think it may be starting up twice because of the errors im seeing in the
> /var/log/messages:
> This error is constantly repeating.
> Oct 31 21:16:46 potsie inetd[969]: auth/tcp: bind: Address already in use
> 
> the auth line in my INETD is:
> auth stream tcp nowait root /usr/sbin/in.identd in.identd -e -o

Go ahead and change the line to read
auth stream tcp nowait root /usr/sbin/tcpd in.identd -i -o
I noticed it being the same as mine.... strange that Redhat would come
like that.... starting two in.identd processes...... also the -i flag
tells it to run out of inetd, see if that works for you, I hope it does,
I just did this out of my head, and never tested it...

> 
> netstat doesn't so anything about identd as far as i can tell.
> 
> 2) POP3
> 
> I configured my sendmail server earlier today.  Everything works fine except
> for POP3.  Mail has been comming in and going out fine.  Only problem is
> when I try to connect to the mail server using a client that supports POP3
> it wont connect to download mail.  It sends mail out no problem but it
> refuses to download any mail.  Connection never goes through.  At first I
> thought it was a firewall issue but then I relelised on my internal network
> all connections are accepted so POP3 should work.  To make sure I added an
> ipchains rule that let connections on port 110 in.  Still no luck.  I have
> restarted INETD about a hundred times. Also the pop 3 line in INETD is:
> pop-3   stream  tcp     nowait  root    /usr/sbin/tcpd ipop3d
> 
> netstat -a shows this for pop-3:
> 
> tcp        0      0 *:pop-3                 *:*                     LISTEN
> 
> telneting to port 110 doesn't work either connection never gets through.  I
> have tried this by telneting to the localhost, telneting from another
> computer on my network as well as remotely from computers on the internet

just make sure your firewall isn't blocking port 110, that's the pop3
port, that's probably your problem... I believe....

> 
> Thanks for your help,
> Ilan
> 
> PS here is my full netstat -a if it helps....
> 
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address           Foreign Address         State
> tcp        0      0 potsie.house:telnet     192.168.1.20:1056
> ESTABLISHED
> tcp        0      0 *:linuxconf             *:*                     LISTEN
> tcp        0      0 *:finger                *:*                     LISTEN
> tcp        0      0 *:imap2                 *:*                     LISTEN
> tcp        0      0 *:pop-3                 *:*                     LISTEN
> tcp        0      0 *:login                 *:*                     LISTEN
> tcp        0      0 *:shell                 *:*                     LISTEN
> tcp        0      0 *:telnet                *:*                     LISTEN
> tcp        0      0 *:ftp                   *:*                     LISTEN
> tcp        0      0 *:netbios-ssn           *:*                     LISTEN
> tcp        0      0 *:www                   *:*                     LISTEN
> tcp        0      0 *:smtp                  *:*                     LISTEN
> tcp        0      0 potsie.pacbell.n:domain *:*                     LISTEN
> tcp        0      0 potsie.house:domain     *:*                     LISTEN
> tcp        0      0 localhost:domain        *:*                     LISTEN
> tcp        0      0 *:auth                  *:*                     LISTEN
> udp        0      0 potsie.hous:netbios-dgm *:*
> udp        0      0 potsie.house:netbios-ns *:*
> udp        0      0 *:netbios-dgm           *:*
> udp        0      0 *:netbios-ns            *:*
> Active UNIX domain sockets (servers and established)
> Proto RefCnt Flags       Type       State         I-Node Path
> unix  11     [ ]         DGRAM                    293    /dev/log
> unix  0      [ ACC ]     STREAM     LISTENING     441    /var/run/ndc
> unix  0      [ ACC ]     STREAM     LISTENING     541    /dev/gpmctl
> unix  0      [ ACC ]     STREAM     LISTENING     574
> /tmp/.font-unix/fs-1
> unix  0      [ ]         DGRAM                    1412
> unix  0      [ ]         DGRAM                    1245
> unix  0      [ ]         DGRAM                    991
> unix  0      [ ]         DGRAM                    968
> unix  0      [ ]         DGRAM                    736
> unix  0      [ ]         DGRAM                    579
> unix  0      [ ]         DGRAM                    518
> unix  0      [ ]         DGRAM                    439
> unix  0      [ ]         DGRAM                    409
> unix  0      [ ]         DGRAM                    333
> 
> _______________________________________________
> UCLALUG Linux mailing list - Linux@linux.ucla.edu
> http://linux.ucla.edu/mailman/listinfo/linux