From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.236.177.33 with SMTP id c21cs96256yhm; Fri, 18 Nov 2011 13:06:58 -0800 (PST) Received: by 10.52.16.243 with SMTP id j19mr5158165vdd.109.1321650416895; Fri, 18 Nov 2011 13:06:56 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org. [205.234.109.19]) by mx.google.com with ESMTP id u20si402688vcv.127.2011.11.18.13.06.56; Fri, 18 Nov 2011 13:06:56 -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 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 9C80518581B2; Fri, 18 Nov 2011 16:06:56 -0500 (EST) Received: from boobierack.masterkorp.net (static.34.107.46.78.clients.your-server.de [78.46.107.34]) by rubyforge.org (Postfix) with ESMTP id 062961858363 for ; Fri, 18 Nov 2011 15:32:21 -0500 (EST) Received: by boobierack.masterkorp.net (Postfix, from userid 1000) id ACE0EF0749B; Fri, 18 Nov 2011 21:32:20 +0100 (CET) From: Alfredo Palhares To: sup-talk Date: Fri, 18 Nov 2011 21:32:20 +0100 Message-Id: <1321648096-sup-3340@masterkorp.net> User-Agent: Sup/0.11 Content-Transfer-Encoding: 8bit Content-Type: multipart/mixed; boundary="=-1321648340-671697-5748-7935-1-=" MIME-Version: 1.0 Subject: [sup-talk] Filters doesn't work 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: , Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --=-1321648340-671697-5748-7935-1-= Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Hello, i made a hook that adds labels, as referenced in the wiki[1] i created a before-add-message.rb into ~/.sip/hooks. it don't get anything in the logs, can anyone help me ? As attachement i send the script. [1] http://sup.rubyforge.org/wiki/wiki.pl?AutoAddLabelsToNewMessages ---- Regards, Alfredo Palhares --=-1321648340-671697-5748-7935-1-= Content-Disposition: attachment; filename="before-add-message.rb" Content-Type: application/x-ruby; name="before-add-message.rb" Content-Transfer-Encoding: 8bit # Before add message script # Add labels to mailing list i am subscribed # Sup talk if message.subj =~ /\[sup-talk\]/i message.add_label "sup-talk" end # Arch general if message.subj =~ /\[arch-general\]/i message.add_label "arch-general" end # Doxygen users if message.subj =~ /\[doxygen-users\]/i message.add_label "doxygen-users" end # Paparazzi-devel if message.subj =~ /\[paparazzi-devel\]/i message.add_label "paparazzi-devel" end # Latex if message.subj =~ /\[texhax\]/i message.add_label = "texhax" end --=-1321648340-671697-5748-7935-1-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk --=-1321648340-671697-5748-7935-1-=--