Re: [Dovecot] STARTTLS does not seem to work

2010-05-26 Thread Phil Howard
On Tue, May 25, 2010 at 16:31, Jerrale Gayle wrote: > The openssl client will connect you in plain text to your imap server where > you can manually do login (AUTH LOGIN) and browse through your imap folders > just like you use your SSH shell. This is a sufficient enough test. Refer > here, after

Re: [Dovecot] STARTTLS does not seem to work

2010-05-26 Thread Jerrale Gayle
On 5/24/2010 6:13 PM, Pascal Volk wrote: On 05/25/2010 12:03 AM Phil Howard wrote: I would be looking for components in languages I know (C a lot and Pike some) or am learning (Python). Python's standard library provides all you need: - http://docs.python.org/library/poplib.html

Re: [Dovecot] STARTTLS does not seem to work

2010-05-25 Thread Phil Howard
On Mon, May 24, 2010 at 18:13, Pascal Volk wrote: > On 05/25/2010 12:03 AM Phil Howard wrote: >> I would be looking for components in languages I know (C a lot and >> Pike some) or am learning (Python). > > Python's standard library provides all you need: >    - http://docs.python.org/library/popl

Re: [Dovecot] STARTTLS does not seem to work

2010-05-24 Thread Pascal Volk
On 05/25/2010 12:03 AM Phil Howard wrote: > I would be looking for components in languages I know (C a lot and > Pike some) or am learning (Python). Python's standard library provides all you need: - http://docs.python.org/library/poplib.html - http://docs.python.org/library/imaplib.html

Re: [Dovecot] STARTTLS does not seem to work

2010-05-24 Thread Phil Howard
On Mon, May 24, 2010 at 17:59, Ken A wrote: > > Mail::POP3Client works pretty well. > Net::IMAP::Simple looks easy too, but I've not used it. > Ken > > >> >> At some point I think I need to learn the OpenSSL library API for C so >> I can write some command line tool apps of my own with it (now we'

Re: [Dovecot] STARTTLS does not seem to work

2010-05-24 Thread Ken A
On 5/24/2010 4:46 PM, Phil Howard wrote: On Mon, May 24, 2010 at 17:31, Mike Abbott wrote: Well, that kinda complicates a "STARTTLS tunnel" Perhaps you might be interested in these commands. I'm not sure about their portability but they work tolerably well in scripts on Mac OS X 10.6. $

Re: [Dovecot] STARTTLS does not seem to work

2010-05-24 Thread Phil Howard
On Mon, May 24, 2010 at 17:31, Mike Abbott wrote: >> Well, that kinda complicates a "STARTTLS tunnel" > > Perhaps you might be interested in these commands.  I'm not sure about their > portability but they work tolerably well in scripts on Mac OS X 10.6. > > $ openssl s_client -connect yourhost:i

Re: [Dovecot] STARTTLS does not seem to work

2010-05-24 Thread Mike Abbott
> Well, that kinda complicates a "STARTTLS tunnel" Perhaps you might be interested in these commands. I'm not sure about their portability but they work tolerably well in scripts on Mac OS X 10.6. $ openssl s_client -connect yourhost:imap -starttls imap $ openssl s_client -connect yourhost:pop3

Re: [Dovecot] STARTTLS does not seem to work

2010-05-24 Thread Phil Howard
On Mon, May 24, 2010 at 11:49, Mike Abbott wrote: >> Anyway, with the tag it does work on IMAP.  But it still fails on POP > > For POP3 the command is STLS. > Well, that kinda complicates a "STARTTLS tunnel" :-) ... I was thinking of trying to do that to address some issues. OK, well, put the em

Re: [Dovecot] STARTTLS does not seem to work

2010-05-24 Thread Mike Abbott
> Anyway, with the tag it does work on IMAP. But it still fails on POP For POP3 the command is STLS.

Re: [Dovecot] STARTTLS does not seem to work

2010-05-24 Thread Phil Howard
On Mon, May 24, 2010 at 11:31, Mike Abbott wrote: >> altair/phil /home/phil 162> telnet 172.30.0.24 143 >> Trying 172.30.0.24... >> Connected to 172.30.0.24. >> Escape character is '^]'. >> * OK [CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND >> UNSELECT LITERAL+ IDLE CHILDREN NAM

Re: [Dovecot] STARTTLS does not seem to work

2010-05-24 Thread Mike Abbott
> altair/phil /home/phil 162> telnet 172.30.0.24 143 > Trying 172.30.0.24... > Connected to 172.30.0.24. > Escape character is '^]'. > * OK [CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND > UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS UIDPLUS > LIST-EXTENDED I18NLEVEL=

[Dovecot] STARTTLS does not seem to work

2010-05-24 Thread Phil Howard
I believe I have the configuration set to use START TLS on IMAP4 (143) and POP3 (110) ports.  However, it does not seem to be working.  Yet "STARTTLS" is listed as a capability (which tells me I probably do have it configured right). In the session below, 172.30.0.24 is the mail server I'm putting