procmail
[Top] [All Lists]

Re: Restricting length of MATCH?

1997-10-30 10:26:21
Era Eriksson wrote,

| What I ended up with next is

| * ^\/Apparently-To.(fifty-nine, I think, ".?"'s)


| but this is +slightly+ too cumbersome to use in every single recipe
| that contains a \/ -- which is practically all of them, because I want
| to log what happens and on what grounds spam is being identified.

| Can anybody come up with something neater?

Then save it in a variable:

MAX_29=".?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?.?"

MAX_59="$MAX_29.?$MAX_29"

  * $ ^\/Apparently-To:$MAX_59

<Prev in Thread] Current Thread [Next in Thread>