![]() Once a client is authenticated to the server, the following set of commands become accessible. * OK IMAP/POP3 ready - us11-011mipĪ1 login Ī1 OK Logged in Here is the example from our IMAP 101 post: $ telnet 143 This command advises the server that the client wants to login with a username and password to prove its identity. * OK IMAP/POP3 ready - us11-012mipĬ29tZXVzZXJAZXhhbXBsZS5hdG1haWxjbG91ZC5jb20=Ī OK Logged in This is an example from our IMAP 101 post: $ telnet 143 The client may only select a SASL method advertised by the server – which is shown in the response to the command CAPABILITY. This command advises the server that the client wants to initiate a SASL authentication mechanism to prove its identity. OK Pre-login capabilities listed, post-login capabilities have more. Verify error:num=18:self signed certificate Here is openssl’s s_client utility performing a successful TLS connection: $ openssl s_client -connect zeus.p:143 -starttls imap -crlf -quietĭepth=0 OU = IMAP server, CN =, emailAddress = Here is an example of connecting to an IMAP server (with netcat) and issuing the STARTTLS command: $ nc zeus.p 143 If a successful key negotiation results after this command is issued, then the session is encrypted and IMAP commands continue. This command may only be issued if the server advertised that STARTTLS is available and supported. ![]() This command instructs the server that the client wishes to encrypt the session now. ![]() The following IMAP commands can be issued to a server before authentication has taken place: RFC 3501 defines all these commands in far greater detail than what we show here, and should be considered the authoritative source. So, this post we will provide an overview of all the main IMAP commands that a client can send under RFC 3501 (and others), explain what the command does, and provide a small example snippet of usage.ĭisclaimer: We are only giving a high level overview. ![]() Following on from our IMAP 101 and Advanced IMAP posts, we’ve received a few queries on what other IMAP commands can be used, and requests for some examples of using the client commands. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |