procmail
[Top] [All Lists]

Re: recipe help: to me OR to ONE list (should be simple)

1996-10-15 20:40:23
On Mon, 14 Oct 1996, Alan K. Stebbens wrote:

If A is a nested block or a complex action, then this recipe is really
unwieldy, and the following pattern is better:

  :0
  * !P
  * !Q
  * !R
  * !S
  {}

  :0 E
  A

        what if I want to match against a list of
        names say:


        :0
        * ^from.*aaa
        * ^from.*bbb
        * ^from.*ccc
        * ^from.*ddd
        * ^from.*eee
        * ^from.*fff
        * ^from.* and so on...
        {}

        :0 E
        # bounce

        Is there an easier way of doing this?