Open main menu

CDOT Wiki β

Changes

OPS335 Dovecot

4,386 bytes added, 19:00, 14 February 2012
Testing IMAP port 993
= Testing IMAP port 993 =
* Login to a Linux system which has network connectivity to your IMAP server.* Run the command "openssl s_client -connect 192.168.122.184:993" to establish a secure connection to your IMAP server running on 192.168.122.184.* The following is a successful IMAPs session:  [root@f14host conf.d]# openssl s_client -connect 192.168.122.184:993 CONNECTED(00000003) depth=0 OU = IMAP server, CN = imap.example.com, emailAddress = postmaster@example.com verify error:num=18:self signed certificate verify return:1 depth=0 OU = IMAP server, CN = imap.example.com, emailAddress = postmaster@example.com verify return:1 --- Certificate chain 0 s:/OU=IMAP server/CN=imap.example.com/emailAddress=postmaster@example.com i:/OU=IMAP server/CN=imap.example.com/emailAddress=postmaster@example.com --- Server certificate -----BEGIN CERTIFICATE----- MIICQzCCAaygAwIBAgIJAIqa1Dj3KJcWMA0GCSqGSIb3DQEBBQUAMFgxFDASBgNV BAsTC0lNQVAgc2VydmVyMRkwFwYDVQQDExBpbWFwLmV4YW1wbGUuY29tMSUwIwYJ KoZIhvcNAQkBFhZwb3N0bWFzdGVyQGV4YW1wbGUuY29tMB4XDTEyMDIwOTAwMTgw NFoXDTEzMDIwODAwMTgwNFowWDEUMBIGA1UECxMLSU1BUCBzZXJ2ZXIxGTAXBgNV BAMTEGltYXAuZXhhbXBsZS5jb20xJTAjBgkqhkiG9w0BCQEWFnBvc3RtYXN0ZXJA ZXhhbXBsZS5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAL/p6PaA9DyW x17ccTonKVsWG9H2Tio6Tg36KoRPJJqegwMyhyOf11viE1fA247xJHe1YP/P5fr9 gK3OXvwfnlR/WQhwsN6q//XSO3W598WYRtoGUfSWSLM8YsWVU5/uMNL36avJDP8B 9DFkdX+MYRI6f0bKgxFX4clOVUJa+7ARAgMBAAGjFTATMBEGCWCGSAGG+EIBAQQE AwIGQDANBgkqhkiG9w0BAQUFAAOBgQBk9ObMMK5xZSar6r5ZgHM/+xbUrsMaEtXa ASwCJ5v9LGxsMzpkQtUHRPKxuMIbMYzhvmGNyDtCLKI3WpwnFH7yVt3eDXAYATLH JJmyO9sHd7Q9CT5EQdjedDgKRa8z6dKzpGiXpKJv7kwQ4kjiyXCf+7iwk1hMlP9W E0kwkwTJxg== -----END CERTIFICATE----- subject=/OU=IMAP server/CN=imap.example.com/emailAddress=postmaster@example.com issuer=/OU=IMAP server/CN=imap.example.com/emailAddress=postmaster@example.com --- No client certificate CA names sent --- SSL handshake has read 1301 bytes and written 311 bytes --- New, TLSv1/SSLv3, Cipher is DHE-RSA-AES256-SHA Server public key is 1024 bit Secure Renegotiation IS supported Compression: zlib compression Expansion: zlib compression SSL-Session: Protocol : TLSv1 Cipher : DHE-RSA-AES256-SHA Session-ID: 04950A9F03AE841C7EF605358EA9F8FE54D8FDDC30B061BB666CC3BE0A0AFF69 Session-ID-ctx: Master-Key: 35E07181CB2EC3CB8FCD659D6FDD15C462333F9A7F196AC9E7E970AC0A952E426A8775992EE9AED6B699279694F238CC Key-Arg : None Krb5 Principal: None PSK identity: None PSK identity hint: None TLS session ticket: 0000 - bb 8b c0 2e 4d b2 ef 0e-12 59 a1 c0 8e 04 06 29 ....M....Y.....) 0010 - 51 8e 69 b3 96 15 09 16-0f d9 69 8b 7e 5d 8c 49 Q.i.......i.~].I 0020 - f7 57 e9 09 9e fb a3 61-3c ca 3c 5e d3 34 11 ae .W.....a<.<^.4.. 0030 - a7 57 f1 80 e7 11 b0 b9-99 3b 7c 8b fd ed b7 37 .W.......;|....7 0040 - 8c 65 1a 58 31 1e bd 7a-23 91 29 03 fe 49 fc 7f .e.X1..z#.)..I.. 0050 - 77 7b e8 f8 c9 c4 eb fc-4c eb f8 b1 85 ae 13 6a w{......L......j 0060 - 7f a0 c3 f6 b1 0b f3 9f-25 bd 8d ef 14 53 5f a1 ........%....S_. 0070 - 97 db 4d e1 7c 60 1c 15-94 38 b9 71 d8 41 8c 4c ..M.|`...8.q.A.L 0080 - 81 1f 83 2d 3c b2 a4 98-09 ee c0 d8 e9 39 3d 73 ...-<........9=s 0090 - 9c 6a 65 96 ae 7c 6d 9a-11 a3 01 03 6a 6b d3 ff .je..|m.....jk.. Compression: 1 (zlib compression) Start Time: 1329263161 Timeout : 300 (sec) Verify return code: 18 (self signed certificate) --- * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot ready. t0010 login ops335 seneca99 t0010 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in t0020 select inbox * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted. * 2 EXISTS * 0 RECENT * OK [UIDVALIDITY 1329189595] UIDs valid * OK [UIDNEXT 3] Predicted next UID * OK [HIGHESTMODSEQ 1] Highest t0020 OK [READ-WRITE] Select completed. t0040 fetch 1 body[text] * 1 FETCH (BODY[TEXT] {15} Test message. ) t0040 OK Fetch completed. t0050 close t0050 OK Close completed. t0060 logout * BYE Logging out t0060 OK Logout completed. closed
1,760
edits