From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Sat, 24 May 2008 19:45:14 -0700 Subject: [sup-talk] IMAP server restart causes Sup exception In-Reply-To: References: <1210728028-sup-3439@black-opal> <1211238704-sup-2539@south> <1211295759-sup-614@tomsk> <1211299258-sup-2226@south> Message-ID: <1211683173-sup-855@south> Reformatted excerpts from Ben Walton's message of 2008-05-20: > I think you'll find that things get better if you do plain IMAP with > stunnel instead of relying on the ssl support in ruby/ruby-imap. I > had horrible (to the point where I almost had to switch away from > ruby) problems with a project that relied on the ability to do imaps. > The imap library may be partially to blame (and the imap spec > requiring threading doesn't help...), but I found that things got much > better without ssl being handled by ruby. Interesting. I didn't know about stunnel. Kevin, if you're seeing this on a regular basis, you could try that... or switch to offlineimap like everyone else has for performance reasons. Sup's IMAP support leaves a lot to be desired and I'm happy to blame this library. Irritatingly slow, and prone to insane errors like this one. I don't want to disable it, though, and I sure as heck don't want to write my own IMAP library. So for the time being we're stuck with it. -- William