[ale] UW-imapd problem

Joe Steele joe at madewell.com
Wed Apr 11 13:41:15 EDT 2001


Quoting from RFC 2060:

      The PREAUTH response is always untagged, and is one of three
      possible greetings at connection startup.  It indicates that the
      connection has already been authenticated by external means and
      thus no LOGIN command is needed.


In your inetd.conf entry, what username is imapd being started with?  
If it is something other than root, then access is automatically granted 
using that name without further authentication.

The same result can be seen if a user runs /usr/sbin/imapd from a shell 
prompt -- the server responds with PREAUTH and access is automatically 
granted to the user.

--Joe

-----Original Message-----
From:	Brandon Hall [SMTP:brandon.hall at alumni.duke.edu]
Sent:	Tuesday, April 10, 2001 10:44 PM
To:	ale at ale.org
Subject:	[ale] UW-imapd problem

Friendly ALErs,

Been hung up on this for months, time to get it resolved:

I downloaded the Univ. of Wash. imapd source (imap-2000a), built and
installed it on my Debian potato box (gets fired up via inetd).  When
I connect, it always opens with the following:

* PREAUTH [CAPABILITY IMAP4 IMAP4REV1 NAMESPACE IDLE MAILBOX-REFERRALS
SCAN SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND]
blah blah blah

I've built it with and without SSL auth mechanism, and it always
starts the session with "PREAUTH", which means I'm unable to login as
a particular user.  I can even do this:

a001 SELECT INBOX
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1] UID validity status
* OK [UIDNEXT 1] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS ()] Permanent flags
a001 OK [READ-WRITE] SELECT completed

but I have no idea whose mailbox imapd thinks it's selecting.  Don't I
want imapd to be giving me "* OK IMAP4rev1 server ready" so I can
login properly?  It doesn't look like imapd takes any command line
arguments, and there's no config file, so I'm not sure how to change
its behavior.

Or perhaps it's doing what I want it to after all and I just don't
understand IMAP.

My undying gratitude to whomever can help me set this up right (my
original goal was just to get a webmail interface working, but now I
want to figure this out).

Thanks,
Brandon

Your palindrome for today: Man, Eve let an irate tar in at eleven a.m.

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list