At 15:32 96-06-03, Sebastian Bernheim wrote:
I've looked through the headers and the only thing that contains
the right string to trip the ^TO{dummy|sebby|sbern|dummy} condition is the
From: field.
Akkkk! Don't know why I didn't spot the problem before (or why
procmail doesn't holler). You've got the wrong syntax -- the braces
should be parenthesis:
* ^TO(dummy|sebby|sbern|dummy)
or
* ^TO_(dummy|sebby|sbern|dummy)
And you really don't need the duplicated 'dummy' entries....
That doesn't work. When I replace the brackets with parenthesis the
condition does not match for any of the strings. The "dummy" entries are
there because through trial and error I have discovered that procmail is
ignoring the first and last strings, so that the condition doesn't trip if
the string that should trip it is either first or last in the brackets.
+-----------------------------------------------------------------------+
|Sebastian @ Eclipse Tech Support - (800)483-1223 -
support(_at_)eclipse(_dot_)net |
+-----------------------------------------------------------------------+
| A computer lets you make more mistakes faster than any invention in |
| human history--with the possible exceptions of handguns and tequila. |
| - Mitch Ratcliffe, _Technology Review_, April, 1992 |
+-----------------------------------------------------------------------+