procmail
[Top] [All Lists]

RE: bizzar problem...

2005-03-07 11:56:21
-----Original Message-----
Michelle Konzack

Hello,

since yesterday I have a wired problem:

-snip-
| procmail: Skipped "{"
-snip-
| procmail: Closing brace unexpected
-snip-

From what I can see it looks like it's related to this part:

    ################################################################
    # 
    # Filter all Bug lists Messages in folder "BTS_Debian"
    # with alphanumerical subfolders
    # 
    ################################################################
    :0
    * ^Subject:.*(Bug list for package |Processed: Bugindex )
    {
      {
        SUB = `formail -zX Subject: |sed -e "s/Bug\ list\ 
for\ package\ //" -e "s/Processed://" -e "s/Bugindex//" -e "s/,//"`
        
        :0 fh
        | formail -i "$SUB"
        
        :0
        * $ ^Subject:.*\/[^$SP]+$
        * MATCH ?? ^\/[^$]+
        {
          PACKAGE = `grep "$MATCH" 
$HOME/.procmail/LIST_srcbin |cut -d ":" -f1`
          
          :0
          * PACKAGE ?? ^\/.
          .BTS_debian.$MATCH.$PACKAGE/
        }
      }
    }    

I'm not a procmail expert but it looks like you have an 'extra' set of
braces there. The first brace is followed by another right off and
contains nothing in it save the other braces (and their formulas).

I don't know how procmail deals with empty braces so maybe it doesn't
like them much and is dropping the first redundant one it sees, thus
making the closing brace (that is still there) "unexpected".

Just a thought. Hope that helps.

Paul Pettit
CTO and IS Manager
Consistent Computer Bargains Inc.

I've heard it said that the proof of lunacy is when you repeat the same
steps expecting different results.  I say it's proof that you're a
Microsoft user. - comment by deshi777 on experts-exchange.com


____________________________________________________________
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

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