From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.52.26.109 with SMTP id k13cs93430vdg; Fri, 13 Jan 2012 15:37:27 -0800 (PST) Received: by 10.229.105.75 with SMTP id s11mr1258240qco.78.1326497846647; Fri, 13 Jan 2012 15:37:26 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org. [205.234.109.19]) by mx.google.com with ESMTP id gc3si8893494qab.94.2012.01.13.15.37.26; Fri, 13 Jan 2012 15:37:26 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 499051D783DE; Fri, 13 Jan 2012 18:37:26 -0500 (EST) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by rubyforge.org (Postfix) with ESMTP id D8C201678369 for ; Fri, 13 Jan 2012 17:56:13 -0500 (EST) Received: by werp11 with SMTP id p11so972469wer.23 for ; Fri, 13 Jan 2012 14:56:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=H2vT8IirTx7QNkrMMSrxUWomhiwU6h5a9bQ/7AgBOS0=; b=L/jeX0mkoRF3GGMeSvUfGYP1mJpXBuBD++tynyUCe4nD/NoDiE+2jHFwvf4IHUb9HS h/s7fyjmnJDrfKrgx+/iILX/Pe4GkuYg18iMnoT72X8jPHspfZ3cLNBrQeUqT05H/upD sZFUflT0JUetKBE1x0J/+n5ShUu5xXQRmDy6c= Received: by 10.216.139.35 with SMTP id b35mr1368875wej.7.1326495373220; Fri, 13 Jan 2012 14:56:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.156.77 with HTTP; Fri, 13 Jan 2012 14:55:52 -0800 (PST) From: Matthieu Rakotojaona Date: Fri, 13 Jan 2012 23:55:52 +0100 Message-ID: To: sup-devel Subject: [sup-devel] IMAP interface X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org Hello everyone, I've made some changes to imaptrope, my IMAP interface [0], to be usable with Thunderbird. A few things : - You will need Trollop, because it's cool - I don't understand Thunderbird's authentication mechanisms quite well. If you want to use it, set "localhost:10142" as the IMAP server. There's no need for encryption It looks like Thunderbird authenticates itself for each operation. It's a cool thing if your server is remote, but I have a few problems with security (next point) - When asking for authentication methods to a IMAP server, imaptrope answers that it can authenticate with plain text password and cram-md5 encryption. I don't know how the latter works, so it isn't tested ... yet, as soon as Thunderbird sees both, it tries to use cram-md5, but fails and then uses plain authetication. So basically, you have a few seconds to wait before each operation. I suppose you can remove this auth from the CAPABILITY answer. - Communications clearly are suboptimal ... many calls to the same method in heliotrope just for one thing, basically. - You may want to use one client at a time. Overall the server is stateless, save for the session management, but I haven't had time to test its multi-threading capabilities - I still have some encoding errors, with "=0D" at the end of each line... I don't have much time at the moment, but will keep you informed. cya, [0] https://github.com/rakoo/imaptrope -- Matthieu RAKOTOJAONA _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel