From: Conor Daly (conor.daly at domain oceanfree.net)
Date: Wed 23 May 2001 - 08:13:14 IST
I've got the following in my .procmailrc
:0:
* ^Subject: [Volunteers]
Lists/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?
:0:
* ^Subject: \[Volunteers\]
Lists/volunteers
I can't test until more mail comes in with that in the subject line.
Conor
-- Conor Daly <conor.daly at domain oceanfree.net> Domestic Sysadmin :-) --------------------- Faenor.cod.ie 11:03pm up 3 days, 11:11, 0 users, load average: 0.00, 0.00, 0.00 Hobbiton.cod.ie 11:04pm up 2 days, 12:05, 3 users, load average: 0.00, 0.00, 0.00
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:25 GMT