Subject: imapd

From: "Steven E. Frazier" <[email-masked]>
Date: Sun, 7 Nov 1993 08:21:37 -500 (EST)

I am new to Pine and imapd, I don't want to take a lot of band-width up on
the questions I have on imapd, could someone, willing to help me, email 
me and I can ask for help via email?

thanks.

Steve

---

From: Mark Crispin <[email-masked]>
Date: Sun, 7 Nov 1993 10:51:49 -0800 (PST)

> me and I can ask for help via email?

I am the author of imapd.  You may send specific technical questions on
imapd to me.  Please read the documentation first, including the Pine
technical notes, since many frequently asked questions appear in this
document. 

In general, however, sending questions to a personal mailbox of a Pine
team member is a bad idea.  You may guess wrong as to who should field a
question (in which case we have to forward the message to the rest of the
team); the question may be of interest to someone else (in which case the
question will answered again); or the Pine team member in question may be
on vacation or otherwise off-line (in which case your response will be
delayed). 

So, in general, please continue to use [email-masked] and/or 
[email-masked].

---

From: "Steven E. Frazier" <[email-masked]>
Date: Sun, 7 Nov 1993 15:56:34 -500 (EST)

I have looked and hopefully well :)  I have imapd set up in /etc/services and
/etc/inetd.conf, I am trying to find an example of .imapdrc but can't.

I also couldn't find an example of pine.conf, but that doesn't seem to be 
a problem as pine made a .pinerc for me as soon as I brought it up.

Anyway to the point.  I have imapd running on eng.futurenet.com, I am
trying to run pine as a client on oak.futurenet.com and it appears imapd
may be ok on eng, but I still can't open my inbox from oak.  I am 
getting the following error when I try after it asks me for my login and
password on eng:

IMAP broken in reply

I do have a link between imapd and rimapd

I can send you my pine-debug if you need it as well.

thanks in advance

System:SCO 3.2v4.2

---

From: Mark Crispin <[email-masked]>
Date: Sun, 7 Nov 1993 13:12:51 -0800 (PST)

> /etc/inetd.conf, I am trying to find an example of .imapdrc but can't.

You should not need an ~/.imaprc or /etc/imapdrc file.  These files 
control only two aspects of behavior.  One aspect is obscure (and may be 
eliminated in the future); the other defaults to the behavior which 
should be correct 99% of the time.

There is a possibility that these files themselves may become extinct.

> getting the following error when I try after it asks me for my login and

Most likely, it is ``IMAP connection broken in reply''?  This is probably 
because the imapd has crashed.  Most likely, something in the 
server_login() routine in c-client/os_???.c (probably os_sco.c since you 
are using an SCO system) is failing for some reason.  Since I don't have 
access to any SCO system, I can't debug it myself.

Here's what you should do.  Become root (so imapd thinks it is not logged 
in and so it can log in), and then run imapd under a debugger.  After 
starting it, give a command such as:
	A001 LOGIN fred secret
(where ``fred'' is a user name and ``secret'' is a password).  If there's 
a problem, it'll probably crash at that point.  Figure out why it 
crashed, and fix it.

Another possibility may have to do with the mailbox format.  I believe 
that SCO uses MMDF format mailboxes.  The MMDF code in c-client is 
contributed code and I have no idea how well it actually works; I have 
never used either MMDF or SCO so all I can do is guess.

Good luck in debugging.  If you determine the problem and have a fix, 
please send it to me.

> I do have a link between imapd and rimapd

That would only affect passwordless access.  I don't think it is related 
to this problem.