From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.142.241.17 with SMTP id o17cs40347wfh; Wed, 18 May 2011 01:09:29 -0700 (PDT) Received: by 10.224.135.133 with SMTP id n5mr1203336qat.392.1305706168393; Wed, 18 May 2011 01:09:28 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id k15si2657835qcu.56.2011.05.18.01.09.28; Wed, 18 May 2011 01:09:28 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-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-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-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 E528218581B2; Wed, 18 May 2011 04:09:27 -0400 (EDT) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by rubyforge.org (Postfix) with ESMTP id 6D65918581B2 for ; Wed, 18 May 2011 03:59:48 -0400 (EDT) Received: by wwd20 with SMTP id 20so1289235wwd.23 for ; Wed, 18 May 2011 00:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:content-type:subject:from:to:in-reply-to :references:date:message-id:user-agent:content-transfer-encoding; bh=CEzyKP5BMx4SqqZj1kDnQmir6JLajkcvfIEWiqfa4Iw=; b=lR/5hMPERRvFcM93oaLPAi3BzoB4MwnSOqfzKu+ABVDQW98nhllg8Jb0V6LSbUU1QY 4V/t1mocEZHUaWkbEmbSzvJ0NCNx3aKyWszf5fHtdk2a1uKgtwXPzw1iuqWPEHqoHJbH ZJNgHk5ufnKLPOCnm7VGD09rVI8dM7xWt6jTQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:content-type:subject:from:to:in-reply-to:references:date :message-id:user-agent:content-transfer-encoding; b=fGiM3LB6k+/OkNn4RPkJ+NINGNixGRJeBD8YdGyXuqR9NLVX3kPllKni7JTgL45bpx 97NFyi3C9wXLYpWbuqY/58iLbu6ENNDBlh+NxXvSkRASAz3eo7r2zQwgbL8YJwqvyIkc Boq5ajUVoTZM2ihoDDzins089NbA71z6Wacos= Received: by 10.227.168.133 with SMTP id u5mr1581982wby.8.1305705587288; Wed, 18 May 2011 00:59:47 -0700 (PDT) Received: from localhost (mut38-4-82-233-117-144.fbx.proxad.net [82.233.117.144]) by mx.google.com with ESMTPS id ca12sm813183wbb.2.2011.05.18.00.59.44 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 May 2011 00:59:45 -0700 (PDT) From: Damien Leone To: sup-talk In-reply-to: <1305704218-sup-213@btmwxn> References: <1305704218-sup-213@btmwxn> Date: Wed, 18 May 2011 09:59:43 +0200 Message-Id: <1305705194-sup-5588@mailer> User-Agent: Sup/git Subject: Re: [sup-talk] Sup + offlineimap + Gmail X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Hello, Are you sure that reading a e-mail from sup marks it as read in Gmail after having executed offlineimap? Because this should not work, apparently you are using sup 0.12.1 which does not support backward synchronization. [0] And by the way, starring a message in sup should update the 'F' (flagged) flag not the 'S' (seen) flag. Cheers, [0] http://www.mail-archive.com/sup-devel@rubyforge.org/msg00983.html Excerpts from Florian Unglaub's message of mer. mai 18 09:44:25 +0200 2011: > Hey guys, > > I approaching an almost ideal setup for a good gmail integration into > sup using offlineimap. My offlineimap setup pulls all Gmail folders > (aka Gmail labels) into seperate maildirs. I found a nice startup-hook > for sup to add sources dynamicly: > > Dir[ENV['HOME']+'/.maildir/gmail/*'].map do |d| > uri = "maildir:"+d > log "Processing source #{uri}" > unless SourceManager.source_for uri > source = Maildir.new uri, true, false, nil, [LabelManager.label_for(File.basename(d))] > SourceManager.add_source source > log "Added source #{d}" > end > end > > This snippet of code checks for any directories in > $HOME/.maildir/gmail and adds them as a new source with the > corresponding label. This allows me to make changes in the gmail > web interface which will be reflected in sup. > > Now there's a small issue I encountered today. If I star a message in > Sup, offlineimap claims that it adds the 'S' flag to that message, but > this won't be synced to Gmail for some reason. The other direction > (star it on my mobile phone or in the web interface) works fine, > i.e. the message can be seen in the 'Starred' label in sup. > > Is there any way to make this work? > > Regards, > Florian -- Damien Leone GPG: 0x82EB4DDF _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk