From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.151.101.12 with SMTP id d12cs129286ybm; Thu, 6 Oct 2011 00:52:55 -0700 (PDT) Received: by 10.220.150.11 with SMTP id w11mr110204vcv.136.1317887574666; Thu, 06 Oct 2011 00:52:54 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org. [205.234.109.19]) by mx.google.com with ESMTP id d11si857349vcp.166.2011.10.06.00.52.54; Thu, 06 Oct 2011 00:52:54 -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; DomainKey-Status: bad (test mode) 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; domainkeys=hardfail (test mode) header.From=hollunder@lavabit.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 6B73F185838A; Thu, 6 Oct 2011 03:52:54 -0400 (EDT) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by rubyforge.org (Postfix) with ESMTP id 428CF185837C for ; Thu, 6 Oct 2011 03:04:30 -0400 (EDT) Received: from d.earth.lavabit.com (d.earth.lavabit.com [192.168.111.13]) by karen.lavabit.com (Postfix) with ESMTP id EA88C11BBC6 for ; Thu, 6 Oct 2011 02:04:29 -0500 (CDT) Received: from localhost (eris.mozart.uni-klu.ac.at [143.205.216.123]) by lavabit.com with ESMTP id MS69Q7QS0KUV for ; Thu, 06 Oct 2011 02:04:29 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=K7vbbt9mWmoaXeGp1jEFLqBIgGJuUinqfCCbAqwp4rMlxT6W0+5oxQAXrvpzwQIefrpSjcJ4+awgpFEFmr8KbyoHkGhC1OocghHl/IiitTWmgEeRVKLXz4LATkr00xp3QNSVDny+YiS0xs/vRx6FjzGToDfrum77+0RBljdL3gU=; h=Content-Type:From:To:Subject:In-reply-to:References:Date:Message-Id:User-Agent:Content-Transfer-Encoding; From: =?utf-8?q?Philipp_=C3=9Cberbacher?= To: sup-talk In-reply-to: <1317859138-sup-1659@pinkfloyd.chass.utoronto.ca> References: <1317841994-sup-3161@eris> <1317859138-sup-1659@pinkfloyd.chass.utoronto.ca> Date: Thu, 06 Oct 2011 09:04:27 +0200 Message-Id: <1317884224-sup-31@eris> User-Agent: Sup/0.12.1 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 Ben Walton's message of 2011-10-06 02:00:00 +0200: > 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 Thanks, but sup does this already, it should be possible to add this single Word in the appropriate place and be done with this. After all, ruby is an interpreted language. The sup releases are infrequent, if another one follows at all, and thus modifying a file is no problem. I don't have the time to dig deep enough into ruby and sup either. I see that http://sup.rubyforge.org/wiki/wiki.pl?Hooks lists such a hook but sadly no example. Guess I can live without that. _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk