From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.151.101.12 with SMTP id d12cs69203ybm; Sun, 9 Oct 2011 22:49:16 -0700 (PDT) Received: by 10.52.69.9 with SMTP id a9mr12514053vdu.17.1318225755910; Sun, 09 Oct 2011 22:49:15 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org. [205.234.109.19]) by mx.google.com with ESMTP id pe3si3120749vcb.163.2011.10.09.22.49.15; Sun, 09 Oct 2011 22:49:15 -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=@koffein.net Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 81A53167835D; Mon, 10 Oct 2011 01:49:15 -0400 (EDT) X-Greylist: delayed 1098 seconds by postgrey-1.31 at rubyforge.org; Mon, 10 Oct 2011 00:57:36 EDT Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by rubyforge.org (Postfix) with ESMTP id 23C3D185834E for ; Mon, 10 Oct 2011 00:57:35 -0400 (EDT) Received: from homiemail-a62.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by hapkido.dreamhost.com (Postfix) with ESMTP id E8C8717CEDC for ; Sun, 9 Oct 2011 21:39:15 -0700 (PDT) Received: from homiemail-a62.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTP id CA5B5634075 for ; Sun, 9 Oct 2011 21:38:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=koffein.net; h=content-type :subject:from:to:in-reply-to:references:date:message-id: content-transfer-encoding; q=dns; s=koffein.net; b=452d3mHI5C1s7 MKdNJM94xSNt5oXJRA3hOKBs5RON1PoEb42Q+4Qv215cSEZws0HJgiRVg4cSbPxP SJpobdE6VKiiwKatLmEo+XSxEyiEJV1UxeQ4MqFFgP1yn+JxqD81G71tZJX+3dxk gygyJxYmkBEJOM4yThQDfs0INGgcGo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=koffein.net; h= content-type:subject:from:to:in-reply-to:references:date :message-id:content-transfer-encoding; s=koffein.net; bh=G0rG59T Je98XhiQ5M61VJCOtatk=; b=PuYGDDSvpXK8BZA7LKKJgZYNIX7AsOuhLJ9pCPP voSiGpGAfiDQuvkdM4X27v0WHbNTt3NPiRt4tAlAZPwRE8E5abH2JE6+zlBj/WiW 4Qm4PDspP6IZLJA2UjXpeDec3s+lohW7WHTLwzKlNRk8vHOvfKmBuZgdbmG8wXFS WCEQ= Received: from localhost (soma.koffein.net [59.167.208.146]) (Authenticated sender: stl@koffein.net) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTPA id 4518263406C for ; Sun, 9 Oct 2011 21:38:51 -0700 (PDT) From: Steven Lawrance To: sup-talk In-reply-to: References: Date: Mon, 10 Oct 2011 14:38:49 +1000 Message-Id: <1318221253-sup-6406@soma.koffein.net> User-Agent: Sup/git Subject: Re: [sup-talk] mis-identified signature block in message body 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 Excerpts from Jim Cheetham's message of Mon Oct 10 13:36:45 +1000 2011: > I have a set of emails that contain a chunk of text at the end that > seems very much like a signature block :- it is in fact a formatted > list of things from a DB query. > > Is there a hook that would allow me to intercept the message display, > and make my own decision about these? There's no hook but FWIW I have run into the same issue but with Bugzilla mails. I just tweaked the matching in message.rb to check for a "real" signature marker after a match: http://gitorious.org/~stl/sup/stl-sup/commit/48b397f2a82d32992eb6d48e845762200c4c5fd0 It's not the perfect solution, but it works for me. cheers, -- Steven Lawrance stl@koffein.net _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk