From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.218.138 with SMTP id hq10cs14522icb; Sat, 18 Dec 2010 06:43:32 -0800 (PST) Received: by 10.224.6.143 with SMTP id 15mr1993346qaz.309.1292683411626; Sat, 18 Dec 2010 06:43:31 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id i34si3113739qck.16.2010.12.18.06.43.31; Sat, 18 Dec 2010 06:43:31 -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; 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 3040A19782CD; Sat, 18 Dec 2010 09:43:31 -0500 (EST) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by rubyforge.org (Postfix) with ESMTP id 9E5E518583B3 for ; Sat, 18 Dec 2010 09:40:07 -0500 (EST) Received: by fxm16 with SMTP id 16so1579508fxm.27 for ; Sat, 18 Dec 2010 06:40:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:from:to:subject :in-reply-to:references:date:message-id:user-agent :content-transfer-encoding; bh=fAVdGhS5BVZFW9PK5A5+kpVdIMs9YuK0wW39DnyueUQ=; b=EsZz5xtHz5n+gVR3R6Op6v3m7cwVKN+yO4NC609IXPqt8fUtAAtyq71y1McNFjIy1Q W3v3qCo+LCNfqQ0o5IiHIzr3sTWbVHKDJNqmpmrsn94qQx/1HMPFT6+o5+9lYFJDs6vO j6kY8xj51kuHzfO7K0ylsHXujxGsHqDkSay6Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:from:to:subject:in-reply-to:references:date:message-id :user-agent:content-transfer-encoding; b=vWcK/vcHCJINE7FqYP73X7JBZGbKJc96ZMTEJgd9DZA30nTtFEvGVjahFh2E6EFM/K JwhWTusHdQz55JSfzIaXvKwlD7xJ0VkpQ6+R4On4NKdAT4oEsjv6EwT8fJemWxTJOLJa 0vbQ9dksjhNEqczpUvQAtZL6NJckiS8XhX6Bw= Received: by 10.223.97.8 with SMTP id j8mr2360731fan.141.1292683206912; Sat, 18 Dec 2010 06:40:06 -0800 (PST) Received: from localhost (p4FFF6EA0.dip.t-dialin.net [79.255.110.160]) by mx.google.com with ESMTPS id 5sm391756fak.47.2010.12.18.06.40.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 18 Dec 2010 06:40:05 -0800 (PST) From: =?utf-8?q?Johann_Kl=C3=A4hn?= To: sup-talk In-reply-to: References: <1292596203-sup-4988@pinkfloyd.chass.utoronto.ca> Date: Sat, 18 Dec 2010 15:39:59 +0100 Message-Id: <1292682785-sup-3227@ahoi> User-Agent: Sup/0.11 Subject: Re: [sup-talk] Hook for in-reply-to 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 FYI you can create a small script to fix already indexed mails. Be sure to quit sup before you do this and change the moodlepost address. require 'sup' include Redwood start i = Index.init i.load moodle_junk = "moodlepost0@whatever.org" i.each_message do |m| if m.replytos.include?(moodle_junk) m.replytos.delete(moodle_junk) i.update_message_state m end if m.refs.include?(moodle_junk) m.refs.delete(moodle_junk) i.update_message_state m end end i.save _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk