From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.58.247.3 with SMTP id ya3csp827677vec; Thu, 23 Aug 2012 08:28:42 -0700 (PDT) Received: by 10.50.159.135 with SMTP id xc7mr6469084igb.1.1345735722370; Thu, 23 Aug 2012 08:28:42 -0700 (PDT) Return-Path: Received: from rubyforge.org (50-56-192-79.static.cloud-ips.com. [50.56.192.79]) by mx.google.com with ESMTP id bj9si36002590igc.2.2012.08.23.08.28.41; Thu, 23 Aug 2012 08:28:42 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 50.56.192.79 as permitted sender) client-ip=50.56.192.79; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 50.56.192.79 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id C537B2E06B; Thu, 23 Aug 2012 15:28:41 +0000 (UTC) Received: from dmz-mailsec-scanner-2.mit.edu (DMZ-MAILSEC-SCANNER-2.MIT.EDU [18.9.25.13]) by rubyforge.org (Postfix) with ESMTP id D805F2E05D for ; Thu, 23 Aug 2012 15:28:30 +0000 (UTC) X-AuditID: 1209190d-b7fd56d000000933-d7-50364c1d1637 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id 24.28.02355.D1C46305; Thu, 23 Aug 2012 11:28:30 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q7NFSTGJ019250; Thu, 23 Aug 2012 11:28:29 -0400 Received: from localhost ([64.119.153.34]) (authenticated bits=0) (User authenticated as ezyang@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q7NFSMm1028723; Thu, 23 Aug 2012 11:28:24 -0400 (EDT) From: "Edward Z. Yang" To: Alvaro Herrera References: <1345559230-sup-5105@javelin> <1345614331-17294-1-git-send-email-ezyang@mit.edu> <1345614564-sup-5523@javelin> <1345665956-sup-4988@javelin> <1345732781-sup-2983@javelin> <1345733453-sup-9957@alvh.no-ip.org> In-reply-to: <1345733453-sup-9957@alvh.no-ip.org> Date: Thu, 23 Aug 2012 11:28:22 -0400 Message-Id: <1345735597-sup-2272@javelin> User-Agent: Sup/git X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLIsWRmVeSWpSXmKPExsUixG6nrivnYxZg0DuN2eLC5D/sFo+n72F3 YPK48msiu8e+fROZA5iiuGxSUnMyy1KL9O0SuDImPzvOVvCco2LFslbWBsa/bF2MHBwSAiYS s9rUuxg5gUwxiQv31rOB2EIC+xglNiz172LkArI3MEr8bTzCCOE8Y5Q4OPEYI0gzs4C6xPp5 QiANbEDmo2NPWUFsEQEdiaXrb7ND1N9mlDg//yY7SIJTwFBi18uzYL3CAokSKyd5goSZBcwk +qdA9LIIqEo8PPAO7AheAU2JO78ngMVFBYQlnhxpZoaol5do3jqbeQKjwCyEK2YhySxgZFrF KJuSW6Wbm5iZU5yarFucnJiXl1qka6SXm1mil5pSuokRFIqckrw7GN8dVDrEKMDBqMTD+8Lc NECINbGsuDL3EKMkB5OSKO9EF7MAIb6k/JTKjMTijPii0pzU4kOMEhzMSiK8XpxAOd6UxMqq 1KJ8mJQ0B4uSOO+VlJv+QgLpiSWp2ampBalFMFkZDg4lCd50b6BGwaLU9NSKtMycEoQ0Ewcn yHAeoOGqIDW8xQWJucWZ6RD5U4yKUuK89SAJAZBERmkeXC8sVbxiFAd6RZg3EaSKB5hm4Lpf AQ1mAhqsdtUYZHBJIkJKqoFRrvL0mxCxDRFaFa2Klzk0bSLyPCZsUhJSyfle5XAx0vWHVp/C EsOQ42cYerY51nks0D9176yZ8JWl69dmddUr5bEWyv2fo2wt2lyk+zwpQSi14LLcyoJNfQFG 3/deYeeUufZC4DCfR0njHbdZx+Y/l1dW2XYz+X3vVJN5Zb/ffr/54Vn6DX8lluKMREMt5qLi RACe1yBC8AIAAA== Cc: Sup developer discussion Subject: Re: [sup-devel] [PATCH] Implement moving message between Maildir sources based on label. 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: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org Yes. The current plan is to snoop the message ID of newly added messages in maildirs, and do moved message detection based on that. If you have a better idea I'm all ears. (Another possibility is to add sha1sum to the index and compare that.) Also note that it won't destroy the labels *unless you run OfflineIMAP*. The trouble is OfflineIMAP reuploads your message and then reassigns the UID based on the IMAP server, but doesn't communicate this back to Sup. Edward Excerpts from Alvaro Herrera's message of Thu Aug 23 10:52:21 -0400 2012: > Excerpts from Edward Z. Yang's message of jue ago 23 10:40:22 -0400 2012: > > It looks like the current patchset will *destroy* all labels you have > > on messages, so be careful! (This was masked for me since most of my > > labels are from before-add-message.rb, and that hook gets reapplied) > > Thanks for the notice. Most of my labels come from that hook too, but a > few do not, so I could easily lose some! I was planning on trying out > your patch, but with this caveat I'm likely to refrain. Are you > planning on submitting a fixed version? > _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel