Open main menu

CDOT Wiki β

Changes

OPS335 Dovecot

875 bytes added, 18:54, 14 February 2012
Testing IMAP port 143
t0006 OK Logout completed.
Connection closed by foreign host.
 
In the above IMAP session, five IMAP commands were used to verify that the IMAP server was running properly, they five IMAP commands are: login, select, fetch, close, and logout. Notice that each command was preceded by a tag, i.e. t0001, t0002, etc. The tag was used by the IMAP client to match the responses from the IMAP sever with the command sent.
 
* login: to provide the user name and password for the IMAP server to authenticate the mail box user.
* select: to open a mailbox (or mail folder).
* fetch: to download a message in the mailbox.
* close: close the mailbox and removes all messages that are marked for deletion.
* logout: close the IMAP connection.
 
Note that the user name and password were also send in clear text to the IMAP server. In this sample session, both the IMAP server and the IMAP client (done manually using telnet) were on the same system.
= Testing IMAP port 993 =
* openssl s_client -connect 192.168.122.184:993
1,760
edits