Issue #3191 has been updated by Karl Baum.


The problem is that the ruby process just exits after the login attempt:

    ruby-1.8.7-tv1_8_7_72 >imap = Net::IMAP.new('imap.aol.com', 993, true)
 => #<Net::IMAP:0x4526a8 @parser=#<Net::IMAP::ResponseParser:0x452658 @token=nil, @pos=18, @str="* OK IMAP4 ready\r\n", @lex_state=:EXPR_BEG>, @debug_output_bol=true, @host="imap.aol.com", @response_arrival=#<MonitorMixin::ConditionVariable:0x452518 @monitor=#<Net::IMAP:0x4526a8 ...>, @waiters=[]>, @usessl=true, @tagno=0, @logout_command_tag=nil, @sock=#<OpenSSL::SSL::SSLSocket:0x4525e0>, @tagged_responses={}, @responses={}, @mon_waiting_queue=[], @tag_prefix="RUBY", @mon_entering_queue=[], @continuation_request=nil, @mon_count=0, @client_thread=#<Thread:0x1361a4 run>, @response_handlers=[], @receiver_thread=#<Thread:0x4524c8 sleep>, @greeting=#<struct Net::IMAP::UntaggedResponse name="OK", data=#<struct Net::IMAP::ResponseText code=nil, text="IMAP4 ready">, raw_data="* OK IMAP4 ready\r\n">, @port=993, @mon_owner=nil> 
ruby-1.8.7-tv1_8_7_72 >     imap.login('jerry', 'springer')

 (Net::IMAP::ByeResponseError).8.7-tv1_8_7_72/lib/ruby/1.8/net/imap.rb:954:in `receive_responses': * BYE IMAP server terminating connection
	from /Users/karl/.rvm/rubies/ruby-1.8.7-tv1_8_7_72/lib/ruby/1.8/monitor.rb:242:in `synchronize'
	from /Users/karl/.rvm/rubies/ruby-1.8.7-tv1_8_7_72/lib/ruby/1.8/net/imap.rb:938:in `receive_responses'
	from /Users/karl/.rvm/rubies/ruby-1.8.7-tv1_8_7_72/lib/ruby/1.8/net/imap.rb:923:in `initialize'
	from /Users/karl/.rvm/rubies/ruby-1.8.7-tv1_8_7_72/lib/ruby/1.8/net/imap.rb:922:in `start'
	from /Users/karl/.rvm/rubies/ruby-1.8.7-tv1_8_7_72/lib/ruby/1.8/net/imap.rb:922:in `initialize'
	from (irb):3:in `new'
	from (irb):3:in `irb_binding'
	from /Users/karl/.rvm/rubies/ruby-1.8.7-tv1_8_7_72/lib/ruby/1.8/irb/workspace.rb:52:in `irb_binding'
	from /Users/karl/.rvm/rubies/ruby-1.8.7-tv1_8_7_72/lib/ruby/1.8/irb/workspace.rb:52
  petrushka:weshopnetwork karl$
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3191

----------------------------------------
http://redmine.ruby-lang.org