Howdy folks!

The installation instructions for iMap make things sound simple, but I'm
having no success. The installation process goes as follows:

1. Built using 'make lrh'. Here's my uname:
[root@mail xinetd.d]# uname -a
Linux mail.booksys.com 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686
unknown

This machine is RedHat 7.(something). I forget which one exactly, it's
been extensively wailed upon. ;)

Build went fine.

2. Copied imapd/imapd, ipopd/ipop2d and ipopd/ipop3d to the /bin
directory. Checked to make sure, and all three are executable.

3. Updated the services file with these lines:
[root@mail xinetd.d]# grep 'imap' /etc/services
imap2           143/tcp         imap2
imap2           143/udp         imap2
imap3           220/tcp         imap3           # IMAP
imap3           220/udp         imap3           # Protocol v3
imaps           993/tcp         imaps           # IMAP over SSL

4. Added a few files to /etc/xinetd.d. To wit:

[root@mail xinetd.d]# ls -l imap*
-rw-r--r--    1 root     root          167 Feb 13 17:20 imap2
-rw-r--r--    1 root     root          131 Feb 13 17:04 imap3
-rw-r--r--    1 root     root          131 Feb 13 17:04 imaps
[root@mail xinetd.d]# cat imap*
# default: on
service imap2
{
        disabled        = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        server          = /bin/imapd
        server_args     = imapd
        port            = 143
}
# default: on
service imap3
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        server          = /bin/imapd
        port            = 220
}
# default: on
service imaps
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        server          = /bin/imapd
        port            = 993
}

I've tried several different settings in the xinetd config files, and I
get the same results over and over. We do have some things working via
xinetd, such as our pop server. The config files above were copied from
our pop server's config file, because I knew it was working and figured
that was a good place to start. Also, our ssh server is successfully
running via xinetd

Connecting to any of those three ports results in the same stinkin result:

[root@mail xinetd.d]# telnet 127.0.0.1 143
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connection closed by foreign host.

Further, this appears in the logs:
Feb 13 17:31:18 mail xinetd[716]: refused connect from 127.0.0.1

When forcing an xinetd reload, the following lines show up in the logs:
Feb 13 17:32:12 mail xinetd[716]: Starting hard reconfiguration
Feb 13 17:32:12 mail xinetd[716]: bad attribute: disabled [line=4]
Feb 13 17:32:12 mail xinetd: xinetd -USR2 succeeded
Feb 13 17:32:13 mail xinetd[716]: Server /usr/bin/sshd is not executable
[line=10]
Feb 13 17:32:13 mail xinetd[716]: failed to parse 192.168.10. [line=11]
Feb 13 17:32:13 mail xinetd[716]: attribute user expects 1 values and 2
values were specified [line=12]
Feb 13 17:32:13 mail xinetd[716]: finger disabled, removing
Feb 13 17:32:13 mail xinetd[716]: tftp disabled, removing
Feb 13 17:32:13 mail xinetd[716]: telnet disabled, removing
Feb 13 17:32:13 mail xinetd[716]: talk disabled, removing
Feb 13 17:32:13 mail xinetd[716]: swat disabled, removing
Feb 13 17:32:13 mail xinetd[716]: linuxconf disabled, removing
Feb 13 17:32:13 mail xinetd[716]: ntalk disabled, removing
Feb 13 17:32:13 mail xinetd[716]: shell disabled, removing
Feb 13 17:32:13 mail xinetd[716]: login disabled, removing
Feb 13 17:32:13 mail xinetd[716]: exec disabled, removing
Feb 13 17:32:13 mail xinetd[716]: Service ssh missing attribute server
Feb 13 17:32:13 mail xinetd[716]: readjusting service pop3
Feb 13 17:32:13 mail xinetd[716]: readjusting service socks5
Feb 13 17:32:13 mail xinetd[716]: readjusting service imap2
Feb 13 17:32:13 mail xinetd[716]: readjusting service imaps
Feb 13 17:32:13 mail xinetd[716]: readjusting service imap3
Feb 13 17:32:13 mail xinetd[716]: Reconfigured: new=0 old=5 dropped=0
(services)

Anyone see anything glaringly obvious that I'm doing wrong?

-- 
Johnny Wales
Book Systems, Inc.

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/imap/imap-list.html
-----------------------------------------------------------------

Reply via email to