Subject: imapd installation questions

From: Highway 'Nakoruru' YAH! <[email-masked]>
Date: Thu, 23 Dec 1993 23:33:02 -0500 (EST)

I'm trying to run a imapd server on a machine running linux ... does
anyone know what I must do to ensure that it runs correctly?  I mean,
is there anyone that has experience in trying to setup imapd to run
on linux?  I would like to see it happen but having troubles.

Basically, I'm clueless as to what I need to setup ... I have the files
/etc/service and /etc/inetd.conf set up as specified in the manual, but
what next?

---

From: Mark Crispin <[email-masked]>
Date: Thu, 23 Dec 1993 23:21:13 -0800 (PST)

Hello.

I am the author of imapd.  Can you be more specific as to what sort of problem
you are encountering?  Supposedly, if you have edited /etc/services and
/etc/inetd.conf, and have installed the imapd binary in the place specified in
/etc/inetd.conf, it should all work.

-- Mark --

---

From: [email-masked] (Ian Hoyle)
Date: Fri, 24 Dec 1993 18:48:50 +1100 (EST)

> /etc/inetd.conf, it should all work.

Maybe a SIGHUP of inetd ???

	ian

-- 
   /\/\     :  Ian Hoyle,  Senior Research Scientist
  / / /\    :  BHP Research - Melbourne Laboratories
 / / /  \   :  245 Wellington Rd, Mulgrave, 3170, AUSTRALIA
/ / / /\ \  :  Phone    +61-3-560-7066
\ \/ / / /  :  E-mail   [email-masked]
 \  / / /   :  
  \/\/\/    : "perl - the swiss army chainsaw of UNIX tools"
            :               -- Rob Kolstad

---

From: [email-masked] (Ian Hoyle)
Date: Fri, 24 Dec 1993 18:48:50 +1100 (EST)

ian

---

From: Ed Greshko <[email-masked]>
Date: Fri, 24 Dec 1993 16:56:32 +0800 (TPE)

> /etc/service and /etc/inetd.conf set up as specified in the manual, but

	It seems like you have everything you need.  You just want to
verify it works?

	Well, one thing you can do is:

telnet hostname 143

	and see if you get something similar to this:

cosmo[300]% telnet cosmo 143
Trying 129.179.30.2...
Connected to cosmo.twntpe.cdc.com.
Escape character is '^]'.
* OK cosmo.twntpe.cdc.com IMAP2bis Service 7.6(73) at Fri, 24 Dec 1993 
17:40:45 +0800 (TPE)

Edward M. Greshko			Control Data Taiwan
Voice: +886-2-715-2222 x287		6/F, 131 Nanking East Road, Section 3
FAX  : +886-2-712-9197			Taipei, Taiwan R.O.C

---

From: "Jason R. Thorpe" <[email-masked]>
Date: Fri, 24 Dec 1993 12:48:15 -0700 (PDT)

> on linux?  I would like to see it happen but having troubles.

I haven't set it up on Linux, but I have set Imap up on HPs, Suns (SunOS 
4.1.3 and Solaris 2.2), Sequents, NeXTs, and a NetBSD box...

> /etc/service and /etc/inetd.conf set up as specified in the manual, but

I'm assuming that you have imapd in /usr/local/etc...if not, then it's a 
matter of changing the path names that I'll describe...No problem...:-)

in /etc/services you should have the following line...

imap		143/tcp

in /etc/inetd.conf you should have the following line

imap	stream	tcp	nowait	root	/usr/local/etc/imapd	imapd

if you want to have the pre-authourized imap service (analogous to rlogin)
then you need to do the following...

ln -s /usr/local/etc/imapd /etc/rimapd

After all this then you should send a HUP signal to inetd...

kill -HUP {process number of inetd}

On an HP this doesn't always work (your services entry may not 
necessarily be recognized) but I get around this by killing inetd and 
restarting it...You probably won't have to do this...

You should be all set!  I have had imapd work flawlessly for me for 
months now..The only hitch was with an old version of imapd running on a 
Sequent...A simple hack to the code corrected this, and the good ol' Pine 
folks have since corrected the problem...Set up also has been _EXACTLY_ 
the same across all platforms I've run it on...

Hope this helps you out!

Later...

------------------------------------------------------------------------------
Jason R. Thorpe          |     'All standard...'     |    434 Weatherford Hall
OSU Computer Science     |    [email-masked]    |     Corvallis, OR 97331
Support Staff            |  '...disclaimers apply.'  |          (503) 737-9533