[Pine-info] INBOX-Path parameters
Joseph Tam
tam at math.ubc.ca
Mon Jan 29 16:00:30 PST 2007
Matt Ackeret <mattack at apple.com> 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 <tam at math.ubc.ca>
More information about the Pine-info
mailing list