[Linux-disciples] wild cards question
Stephen R Laniel
steve at laniels.org
Thu Mar 9 14:48:15 EST 2006
On Thu, Mar 09, 2006 at 02:43:09PM -0500, Stephen R Laniel wrote:
> Though you might want to be a little more specific and do
> something like
>
> * !(To|Cc).*jamie at curdnerds?.com
I meant to mention that procmail has a special syntax to
cover all the cases you're trying to hit with the '(To|Cc)':
If the regular expression contains ^TO_ it will be substituted by (^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-
Envelope|Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?), which should catch all destination specifications
containing a specific address.
So sayeth procmailrc(5). So you could do
* !TO_jamie at curdnerds?\.com
--
Stephen R. Laniel
steve at laniels.org
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20060309/fe3c6f37/attachment.pgp
More information about the Linux-disciples
mailing list