Tuesday, September 22, 2009

Basic IMAP command with an Exchange server

Just in case you need it, I've been testing how an Exchange server shows a folder structure via IMAP and type here what command I've been using may helps some other mailadmins...

you: telnet imap.domain.com 143
server: Trying xx.xxx.xxx.xxx...
server: Connected to imap.domain.com (xxx.xxx.xxx.xxx).
server: Escape character is '^]'.
server: * OK The Microsoft Exchange IMAP4 service is ready.
you: ? login user@domain.com pasword
server: ? OK LOGIN completed.
you: ? OK LOGIN completed.? LIST "" "*"
[here appears your folders list, and it shows if each folder has or hasn't subfolder]
you: ? logout

For further information about imap commands via telnet you may have a look to this blog annotations: http://adityo.blog.binusian.org/?tag=telnet-imap-command
If you want more detailed explanations, specially related with Exchange go to this technet page http://technet.microsoft.com/en-us/library/dd789687.aspx