From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5557 invoked from network); 26 Oct 2004 16:33:02 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 26 Oct 2004 16:33:02 -0000 Received: (qmail 55739 invoked from network); 26 Oct 2004 16:32:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Oct 2004 16:32:55 -0000 Received: (qmail 3281 invoked by alias); 26 Oct 2004 16:29:00 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8124 Received: (qmail 3255 invoked from network); 26 Oct 2004 16:28:59 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 26 Oct 2004 16:28:59 -0000 Received: (qmail 47588 invoked from network); 26 Oct 2004 16:28:00 -0000 Received: from moonbase.zanshin.com (64.84.47.139) by a.mx.sunsite.dk with SMTP; 26 Oct 2004 16:27:58 -0000 Received: from toltec.zanshin.com (toltec.zanshin.com [64.84.47.166]) by moonbase.zanshin.com (8.13.1/8.13.1) with ESMTP id i9QGRrpo022658; Tue, 26 Oct 2004 09:27:53 -0700 Date: Tue, 26 Oct 2004 09:27:53 -0700 (PDT) From: Bart Schaefer Reply-To: zsh-users@sunsite.dk To: Jason Price , mailing list zsh-users , Nikolai Weibull Subject: Re: Newbie zsh setup warts (history, pipes, export, ...). In-Reply-To: <20041026155416.GM9745@puritan.pcp.ath.cx> Message-ID: References: <20041024230623.GA3675@infidel.spots.ab.ca> <20041025060804.GA20740@blorf.net> <20041025162529.GA10681@infidel.spots.ab.ca> <20041025151633.A27126@redfish.gatech.edu> <20041026035758.GA17578@infidel.spots.ab.ca> <20041026114817.GG9745@puritan.pcp.ath.cx> <20041026151619.GE22674@infidel.spots.ab.ca> <20041026155416.GM9745@puritan.pcp.ath.cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 I suggest that further procmail discussion be re-routed to the procmail list . On Mon, 25 Oct 2004, Jason Price wrote: > ### PROCMAIL STUFF > > This works fairly well for me: > > :0 > * (^TO_|^Sender:[ ]+owner-)zsh > zsh-list.spool I think you may want ^TO rather than ^TO_ there. ^TO_ is for matching an address, not a word. Also, the zsh lists have not set a Sender: header for a very long time; rather, they have Delivered-To: mailing list zsh-user@sunsite.dk (or zsh-workers, as appropriate). > I have no idea what PWS or Bart are/were doing with their mail to break > that procmail recipe Probably, sending you a personal copy, like I did with this message. On Mon, 25 Oct 2004, s. keeling wrote: > > Here's what I'm using now: > > :0 > * 1^0 ^(TO_|Sender:[ ]+owner-)zsh This is broken, or at least useless. The magic tokens are ^TO_ or ^TO (all the characters have to be consecutive). You can't use TO_ or TO just anywhere. On Tue, 26 Oct 2004, Nikolai Weibull wrote: > > > What are the 1^0 supposed to do? > > > That's "scoring" (man procmailsc). > > It's how you build OR rules in procmail. > > Again, my guess, but definitely a weird way of having to do it. You don't HAVE to do it that way. This works, too: :0 * (^TO_|^Sender:[ ]+owner-)zsh\ |^From:.*(schaefer@brasslantern\.com\ |duvall@comfychair\.org\ |pws@csr\.com\ )\ |^(Delivered\-To|Mailing\-List|Received):.*zsh\-\ |^Newsgroups:.*comp\.shells\.zsh\ |^Posted\-To:.*zsh Just don't forget the backslashes at the ends of lines (and they must not have any spaces following them, before the newline). > > All procmail recipes start with a beginning score of -1. No, they start with a score of zero. Only rules that accumulate a score greater than zero trigger an action.