procmail
[Top] [All Lists]

grep external file in condition line?

1998-11-17 16:45:21
I need to make a recipe as follows:

:0:
* ^From.*(addy1|addy2|...|addyn)
somefolder

But I would really like to avoid overloading the condition line with a
huge amount '|'-separated addresses.

I was wondering if I could put the addresses (currently about 30) in
an external file and have the condition line grep the external file of
addresses for a match.

If that isn't possible, are there any non-brute-force suggestions that
anyone could offer?

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