I've got the following in my .procmailrc
* ^Subject: [Volunteers]
I'm trying to match on "[Volunteers]" in the mailman list name style.
Trouble is, other messages are triggering this rule and ending up in the
wrong place. I've decided that the '[' and ']' are becoming a
"match one of the included chars" type regexp. Question is, how do I
escape the '[' in a procmail regexp? Will the folowing work?
* ^Subject: \[Volunteers\]
I can't test until more mail comes in with that in the subject line.
Conor Daly <conor.daly at oceanfree.net>
Domestic Sysadmin :-)
11:03pm up 3 days, 11:11, 0 users, load average: 0.00, 0.00, 0.00
11:04pm up 2 days, 12:05, 3 users, load average: 0.00, 0.00, 0.00
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!