On Thursday, May 1, 2003, at 10:20 US/Central, Miguel Manso wrote:
Hi there,
I've just installed IMAP with qmail and everything's working ok.
Now, I'm trying to connect to the server with a perl module and I'm
gettting this:
3 NO NAMESPACE not supported by server
In my imapd configuration file I've:
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
Shoudn't this capability be activated?
Thanks for the help
Are you sure you have Courier's IMAP running? This doesn't sound like a
response Courier would give. In fact, I couldn't find "not supported by
server" in the Courier sources at all after doing a quick search.
Without ever doing *anything* about NAMESPACE or IMAP_CAPABILITY in my
install I get this kind of response:
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS]
Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc. See
COPYING for distribution information.
. login james XXpassXX
. OK LOGIN Ok.
3 namespace
* NAMESPACE (("INBOX." ".")) NIL (("shared." "."))
3 OK NAMESPACE completed.
, logout
* BYE Courier-IMAP server shutting down
, OK LOGOUT completed
Even if I don't log in (which is required by NAMESPACE, AFAIK) I get
this rather than your error:
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS]
Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc. See
COPYING for distribution information.
3 namespace
3 NO Error in IMAP command received by server.
. logout
* BYE Courier-IMAP server shutting down
. OK LOGOUT completed
So, I'd definitely check that you don't have another IMAP service
running somewhere instead of Courier. Try to telnet to your IMAP
service and check what the initial server greeting is as a first step
and see if it mentions the name of the server... Courier does.
-jab