From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.213.28.69 with SMTP id l5cs413609ebc; Mon, 18 Jan 2010 20:45:05 -0800 (PST) Received: by 10.224.8.72 with SMTP id g8mr5043639qag.291.1263876304354; Mon, 18 Jan 2010 20:45:04 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 5si8315924qwg.38.2010.01.18.20.45.03; Mon, 18 Jan 2010 20:45:04 -0800 (PST) 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 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id C310018582F8; Mon, 18 Jan 2010 23:45:03 -0500 (EST) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by rubyforge.org (Postfix) with ESMTP id 9A68518582E5 for ; Mon, 18 Jan 2010 23:44:57 -0500 (EST) Received: by pxi12 with SMTP id 12so4132232pxi.33 for ; Mon, 18 Jan 2010 20:44:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.189.28 with SMTP id m28mr2052004waf.165.1263876296388; Mon, 18 Jan 2010 20:44:56 -0800 (PST) In-Reply-To: <1263760826-sup-7073@masanjin.net> References: <1262776632-sup-1333@deepthought> <1262780979-sup-2146@changeling.local> <1262804701-sup-8673@deepthought> <6c0c31751001160921y6efe36cft6614df8e46175a57@mail.gmail.com> <1263672001-sup-2219@tilus.net> <1263740027-sup-751@masanjin.net> <6c0c31751001170952ne597517s3824b6de02ed25b1@mail.gmail.com> <1263760826-sup-7073@masanjin.net> Date: Mon, 18 Jan 2010 23:44:56 -0500 Message-ID: <6c0c31751001182044x5d59f243ya947f5c9470e0a1e@mail.gmail.com> From: Scott Henson To: William Morgan Cc: sup-talk Subject: Re: [sup-talk] Questions about offlineimap+msmtp+maildir+gmail syncing 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: , Content-Type: multipart/mixed; boundary="===============0308560180==" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --===============0308560180== Content-Type: multipart/alternative; boundary=0016e64cd628afb1fa047d7d2122 --0016e64cd628afb1fa047d7d2122 Content-Type: text/plain; charset=ISO-8859-1 I'm using Redwood::PollManager.each_message_from source like sup-sync-back uses. Looking at the definition of that function, it will load all messages from the source without discrimination. I've put my repo up on github ( http://github.com/shenson/sup) with my code in the release branch. It includes my code to change the source id to the maildir id. The code I'm actually running is in bin/sup-clean. As far as I can tell, I'm using the same basic structure as sup-sync-back, so I should be getting back all the messages. If anyone wants to clue me in on what I'm doing wrong, I'd be very grateful. Thanks. On Sun, Jan 17, 2010 at 3:42 PM, William Morgan wrote: > Reformatted excerpts from Scott Henson's message of 2010-01-17: > > I'm down to the last few issues with my new maildir sync back code, I > > just can't get sup to show me the deleted and spam messages. > > If you're going through index.each_message or each_id, you need to > specify :load_spam => true and load_deleted => true. > -- > William > _______________________________________________ > sup-talk mailing list > sup-talk@rubyforge.org > http://rubyforge.org/mailman/listinfo/sup-talk > -- Scott Henson --0016e64cd628afb1fa047d7d2122 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I'm using Redwood::PollManager.each_message_from source like sup-sy= nc-back uses.=A0 Looking at the definition of that function, it will load a= ll messages from the source without discrimination.=A0 I've put my repo= up on github (http://github.com/= shenson/sup) with my code in the release branch.=A0 It includes my code= to change the source id to the maildir id.=A0 The code I'm actually ru= nning is in bin/sup-clean.

As far as I can tell, I'm using the same basic structure as sup-syn= c-back, so I should be getting back all the messages.=A0 If anyone wants to= clue me in on what I'm doing wrong, I'd be very grateful.=A0 Thank= s.


On Sun, Jan 17, 2010 at 3:42 PM, Willia= m Morgan <= wmorgan-sup@masanjin.net> wrote:
Reformatted excerpts from Scott Henson's message of 2010-01-17:
> I'm down to the last few issues with my new mail= dir sync back code, I
> just can't get sup to show me the deleted and spam messages.

If you're going through index.each_message or each_id, you need t= o
specify :load_spam =3D> true and load_deleted =3D> true.
--
William <wmorgan-sup@masanji= n.net>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk



--
Scott Henso= n
--0016e64cd628afb1fa047d7d2122-- --===============0308560180== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk --===============0308560180==--