24 lines
		
	
	
		
			977 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			977 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
 | |
| ## -------------------------------------- ##
 | |
| ## -          some litle tests            ##
 | |
| ## -------------------------------------- ##
 | |
| 
 | |
| ## - test smtp (STARTTLS), submission (587) (STARTTLS), smtp (SSL),
 | |
| ## - pop3 (SSL), pop3 (STARTTLS), imap (SSL) and imap (STARTTLS)
 | |
| ## -
 | |
| openssl s_client -crlf -starttls smtp -connect localhost:25 [-state -debug]
 | |
| openssl s_client -crlf -starttls smtp -connect localhost:587
 | |
| openssl s_client -crlf -connect localhost:465
 | |
| openssl s_client -crlf -connect localhost:995
 | |
| openssl s_client -crlf -starttls pop3 -connect localhost:110
 | |
| openssl s_client -crlf -connect localhost:993
 | |
| openssl s_client -crlf -starttls imap -connect localhost:143
 | |
| 
 | |
| 
 | |
| # Test RSA based TLS connection
 | |
| #
 | |
| echo "quit" | openssl s_client -connect a.mx.oopen.de:25 -starttls smtp -tls1_2 -cipher ECDHE-RSA-AES256-GCM-SHA384
 | |
| 
 | |
| echo "quit" | openssl s_client -connect a.mx.oopen.de:25 -starttls smtp -tls1_2
 | |
| echo "quit" | openssl s_client -connect a.mx.oopen.de:25 -starttls smtp
 |