On Sat Jun 14 10:28:51 2008, Stephen Liu wrote:
a01 login satimiscyrus abc
a01 OK User logged in
This "a01" is a tag - IMAP syntax has every command tagged. You can
use any short string, basically - most often I use a dot, or a single
letter, when I'm speaking IMAP directly. So typically you'll type
something like:
tag COMMAND arg1 arg2
list "Mail" "*"
list BAD Null command
Here you supplied a tag, but no command - you want:
a list "Mail" "*"
Or more likely:
a list "" "*"
logout
* BAD Invalid tag
No tag at all - you want:
. logout
But I can't make it connected twice. Continued;
Closed Xterm and restarted a new Xterm
$ telnet lampserver 143
Trying 127.0.1.1...
Connected to lampserver.
Escape character is '^]'.
* OK lampserver Cyrus IMAP4 v2.2.12-Debian-2.2.12-4ubuntu1 server
ready
login cyrus xyz
login BAD Please login first
login satimiscyrus abc
login BAD Please login first
Again, you've not used a tag anywhere here, so Cyrus decides you're
trying to do the commands "cyrus" and "satimiscyrus", neither of
which are in its table - so it thinks you're probably just not
authorized to use them.
I can't connect the server the second time including reboot the
server.
"CAPABILITY" and "logout/LOGOUT don't work.
They probably do if you use the right syntax:
. CAPABILITY
. LOGOUT
Dave.
--
Dave Cridland - mailto:dave@xxxxxxxxxxxx - xmpp:dwd@xxxxxxxxxxxxxxxxx
- acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
- http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade