procmail
[Top] [All Lists]

Re: PLEASE HELP! - Procmail Recipies

1997-05-29 17:30:00
Didn't see a response to this one...
Also.. I am subscribed to the IP Masqurading list. This puts [masq] at =
the start of the subject line. How can i check for this in a recipe, I =
tried:
:0:
* ^Subject:.[masq]

.. but it does not work...?

I would appreciate any help
Thanks in Advance
ian(_at_)chiltons(_dot_)u-net(_dot_)com

The problem is that [ and ] are special characters, so you need to escape 
them.  Try

:0:
* ^Subject:.\[masq\]
whatever

or maybe it would be better to check for any number of spaces after the
colon, like so

:0:
* ^Subject: *\[masq\]
whatever


Andy
==================================================
| Andy Rowan                                     |
| Center for Remote Sensing and Spatial Analysis |
| Rutgers University, New Brunswick NJ USA       |
| e-mail: rowan(_at_)crssa(_dot_)rutgers(_dot_)edu                |
| WWW: http://deathstar.rutgers.edu/             |
==================================================

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