advertisement

Article:
  Setting up a Site Server with Jaguar
Subject:   inetd will not register imapd
Date:   2003-07-28 23:57:15
From:   anonymous2
Everything went smoothly, but inetd will not register imapd.
I am posting what I have done. Can anyone help make this work?


Caveat: I am using 10.1.3, and I do not have the SSL headers.


Here is the problem, in a nutshell. More details given below.


% sudo /usr/sbin/inetd -d
ADD : imap proto=tcp, wait=0, user=root builtin=0 server=/usr/libexec/tcpd
FREE: imap proto=tcp, wait=0, user=root builtin=0 server=/usr/libexec/tcpd


Here is a detailed list of what I did to install IMAP server.


% curl ftp://ftp.cac.washington.edu/imap/imap.tar.Z > imap.tar.Z
% uncompress imap.tar.Z
% tar xf imap.tar
% cd imap-2002d
% make osx SSLTYPE=none
% sudo mkdir -p /usr/local/bin
% sudo cp -p imapd/imapd /usr/local/bin/imapd
% sudo chown root:wheel /usr/local/bin/imapd
% sudo chmod 755 /usr/local/bin/imapd


% ls -ls /usr/local/bin/imapd
2792 -rwxr-xr-x 1 root wheel 1425988 Jul 28 19:07 /usr/local/bin/imapd


% grep imap /etc/services
imap 143/tcp imap2 imap4 #Interim Mail Access Protocol v2
imap 143/udp imap2 imap4 #Interim Mail Access Protocol v2
imap3 220/tcp #Interactive Mail Access Protocol v3
imap3 220/udp #Interactive Mail Access Protocol v3
imap4-ssl 585/tcp #IMAP4+SSL (use of 585 is not recommended,
imap4-ssl 585/udp # use 993 instead)
imaps 993/tcp


% grep imap /etc/inetd.conf
##imap4 stream tcp nowait root /usr/libexec/tcpd /usr/local/libexec/imapd
imap stream tcp nowait root /usr/libexec/tcpd /usr/local/bin/imapd


% ps -ax | grep inetd
239 ?? Ss 0:00.00 inetd
10114 std R+ 0:00.00 grep inetd


% sudo kill -HUP 239


I could not connect, so I killed inetd, and used debug mode.


% ls -ls /usr/sbin/inetd
48 -r-xr-xr-x 1 root wheel 24076 Dec 8 2001 /usr/sbin/inetd


% sudo /usr/sbin/inetd -d
ADD : imap proto=tcp, wait=0, user=root builtin=0 server=/usr/libexec/tcpd
FREE: imap proto=tcp, wait=0, user=root builtin=0 server=/usr/libexec/tcpd


Apparently, imap is not registered. Using netstat -a confirms this.
Another post indcated this happens when it is missing from services,
but as you can see above, imap is a standard service inside Darwin.


Can anyone help me? Thanks!


1 to 1 of 1
  1. inetd will not register imapd
    2003-10-30 19:28:16  anonymous2 [View]

    • inetd will not register imapd
      2003-11-30 10:57:58  ianwsmith [View]

1 to 1 of 1