Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Newbie zsh setup warts (history, pipes, export, ...).
- X-seq: zsh-users 8124
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Jason Price <jprice@xxxxxxxxxxxxxxxxxxxx>, mailing list zsh-users <zsh-users@xxxxxxxxxx>, Nikolai Weibull <zsh-users-list@xxxxxxxxxxxxx>
- Subject: Re: Newbie zsh setup warts (history, pipes, export, ...).
- Date: Tue, 26 Oct 2004 09:27:53 -0700 (PDT)
- In-reply-to: <20041026155416.GM9745@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20041024230623.GA3675@xxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.61.0410241803320.23496@xxxxxxxxxxxxxxxxxx> <20041025060804.GA20740@xxxxxxxxx> <20041025162529.GA10681@xxxxxxxxxxxxxxxxxxx> <20041025151633.A27126@xxxxxxxxxxxxxxxxxx> <20041026035758.GA17578@xxxxxxxxxxxxxxxxxxx> <20041026114817.GG9745@xxxxxxxxxxxxxxxxxx> <20041026151619.GE22674@xxxxxxxxxxxxxxxxxxx> <20041026155416.GM9745@xxxxxxxxxxxxxxxxxx>
- Reply-to: zsh-users@xxxxxxxxxx
I suggest that further procmail discussion be re-routed to the procmail
list <procmail@xxxxxxxxxxxxxxxxxxxx>.
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@xxxxxxxxxx
(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.
- References:
- Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
- Re: Newbie zsh setup warts (history, pipes, export, ...).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author