procmail
[Top] [All Lists]

Re: Good evening :) Have a recipe question..

2005-01-15 19:40:36
At 19:47 2005-01-15 -0500, Glenn Sieb wrote:
New to the list, and have been using procmail for a few years now. I am, however, new at trying to do some ramore advanced things in procmail...

I'm running FreeBSD v4.11, and v3.22 of procmail, using a Maildir format mailbox--and I have the following recipe in my .procmailrc that I'm trying to get to work:

:0:
* ^X-Original-To:(_dot_)*account+lj(_at_)wingfoot(_dot_)org$

the plus symbol has special significance in regexp parlance. Escape it. And while you're at it, escape the dot which you intend to match as a dot.

* ^X-Original-To:(_dot_)*account\+lj(_at_)wingfoot\(_dot_)org$


---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail