From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.151.101.12 with SMTP id d12cs128082ybm; Wed, 5 Oct 2011 23:47:51 -0700 (PDT) Received: by 10.229.44.40 with SMTP id y40mr275504qce.80.1317883670702; Wed, 05 Oct 2011 23:47:50 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org. [205.234.109.19]) by mx.google.com with ESMTP id b9si1032244qcz.130.2011.10.05.23.47.50; Wed, 05 Oct 2011 23:47:50 -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 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 69CCF185837E; Thu, 6 Oct 2011 02:47:50 -0400 (EDT) Received: from garcia.cquest.utoronto.ca (garcia.cquest.utoronto.ca [192.82.128.9]) by rubyforge.org (Postfix) with ESMTP id 45BDE1858379 for ; Thu, 6 Oct 2011 02:36:39 -0400 (EDT) Received: from pinkfloyd.chass.utoronto.ca ([128.100.160.254]:51090 ident=93) by garcia.cquest.utoronto.ca with esmtp (Exim 4.63) (envelope-from ) id 1RBbNY-0003iJ-IS for sup-talk@rubyforge.org; Wed, 05 Oct 2011 20:00:00 -0400 Received: from bwalton by pinkfloyd.chass.utoronto.ca with local (Exim 4.72) (envelope-from ) id 1RBbNY-0004Z2-Hc for sup-talk@rubyforge.org; Wed, 05 Oct 2011 20:00:00 -0400 From: Ben Walton To: sup-talk In-reply-to: <1317841994-sup-3161@eris> References: <1317841994-sup-3161@eris> Date: Wed, 05 Oct 2011 20:00:00 -0400 Message-Id: <1317859138-sup-1659@pinkfloyd.chass.utoronto.ca> User-Agent: Sup/git Subject: Re: [sup-talk] Adding string to 'missing attachment detection' 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 Philipp's message of Wed Oct 05 15:18:49 -0400 2011: Hi Philipp, > All I'd need is a way to add the word 'Anhang' to that mechanism. Can > you tell me where to do this? I tried a web search and looked through > some source files but couldn't find the right place so far. You want to write a 'mentions-attachments' hook. You'll get the variables header, and body. Scan the body for whatever terms you want/need and return true/false as desired. HTH. -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk