I wanted to fully explore IMAP connections from the command line, if I can connect via Thunderbird, then I should be able to via telnet
?!
Microsoft detail IMAP login as :-
LOGIN NTDOMAIN/NTACCOUNT/ALIAS PASSWORD
The settings in my Thunderbird are :-
<domain>\<username>\<alias>
Various sources state slightly different IMAP commands :-
LOGIN user@domain.com <password> (1)
LOGIN <Domain_Name>/<Log_On_Name> <Password> (2)
LOGIN <LogOnName>@<DomainName>.<Top-Level_Domain_Name> <Password> (3)
LOGIN DOMAIN/USERNAME/MAILBOX (4)
LOGIN NTDOMAIN/NTACCOUNT/ALIAS PASSWORD (5)
POP attempts :-
telnet <servername> pop3
+OK Microsoft Exchange POP3 server version 5.5.2658.25 ready
user <username>
+OK
pass <password>
-ERR Logon failure: unknown user name or bad password.
user <domain>\<username>
+OK
pass <password>
-ERR There is no such mailbox on this server
The later shows that it my account access was authorised.
IMAP attempts :-
telnet <servername> imap
* OK Microsoft Exchange IMAP4rev1 server version 5.5.2658.25 (<servername>) ready
login <domain>/<username> <password>
login BAD Protocol Error: "Unidentifiable command specified"
login <username>@<domain>.<servername> <password>
login BAD Protocol Error: "Unidentifiable command specified"
login <domain>/<username>/IanVaughan
login BAD Protocol Error: "Unidentifiable command specified"
LOGIN
* BAD Protocol Error: "Tag not found in command"
login
login BAD Protocol Error: "No space following tag in IMAP command"
LOGIN <domain>/<username> <password>
LOGIN BAD Protocol Error: "Unidentifiable command specified"
LOGIN <username>@<domain> <password>
LOGIN BAD Protocol Error: "Unidentifiable command specified"