On Thu, 24 May 2001, Michael Boyiazis wrote:
:
I'm very weak in my testing abilities on IMAP but from another
post the following (I think) should work:
bash-2.03$ telnet localhost 143
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc. See
COPYING for distribution information.
login mylogin mypassword <-- where obviously i've given the correct
values to imap
login NO Error in IMAP command received by server.
Is this even the correct way to log in? [...]
Not quite. IMAP uses a label at the start of each line to match up
commands and responses to them. (Useful when several commands are sent at
once.)
Here you're sending the command 'mylogin', which you've labelled 'login'.
login NO Error in IMAP command received by server.
And this is the response to your command, so it's also labelled 'login'.
Try this:
a001 login mylogin mypassword
hope this helps,