LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] procmail and regexps

[ILUG] procmail and regexps

Conor Daly conor.daly at oceanfree.net
Wed May 23 12:33:51 IST 2001


On Wed, May 23, 2001 at 08:38:51AM +0100 or so it is rumoured hereabouts, 
Steffen Higel thought:
> On Tue, May 22, 2001 at 11:10:10PM +0100, Conor Daly articulated:
> > 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?
> 
> It should, but is there anything stopping you from sending a mail to
> yourself with [whatever] in the subject?

Yeah, it gets snagged by my "Mail to self" filter before that.  Maybe I'l
turn that off and see what happens.

Conor
-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
  9:35am  up 3 days, 21:44,  0 users,  load average: 0.00, 0.07, 0.05
Hobbiton.cod.ie
  9:36am  up 2 days, 22:37,  2 users,  load average: 0.02, 0.04, 0.01




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell