Re: INBOX-Path parameters

Joseph Tam <[email protected]>
Newsgroups gmane.mail.pine.general
Message-ID <[email protected]>
Matt Ackeret <[email protected]> writes

> On Sat, 27 Jan 2007, Chris Wilson wrote:
> > I don't know if any way to disable that [INSECURE] prompt, other than to use
> > TLS or SSL, sorry.
> 
> How do I tell if my server supports TLS or SSL?  (I presume it doesn't support
> TLS, since I have /notls turned on.. but it could've been something it didn't
> support in the past.)

You can telnet or netcat to the IMAP port and read the capability banner string

 	> telnet imapserver 143
 	* OK [CAPABILITY IMAP4REV1 LITERAL+ SASL-IR LOGIN-REFERRALS STARTTLS LOGINDISABLED] imapsrv IMAP4rev1 2004.357 at Mon, 29 Jan 2007 15:49:21 -0800 (PST)

If it doesn't give a capability banner, you can try to initiate a TLS session and see
if it barfs:

 	xx STARTTLS

It should reply

 	xx OK STARTTLS completed

If you can connect to port 993, that's also a pretty good sign it supports IMAP/SSL. 
If you have openssl, you can talk over an encrypted channel directly

 	openssl s_client -connect imapserver:993

Joseph Tam <[email protected]>
_______________________________________________
Pine-info mailing list
[email protected]
http://mailman1.u.washington.edu/mailman/listinfo/pine-info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.