procmail
[Top] [All Lists]

Re: Closing brace unexpected

2004-01-23 21:01:10
Am 2004-01-23 07:29:58, schrieb David W. Tamkin:
Michelle Konzack asked,

What daoes "Closing brace unexpected" mean ?

It means that you have at least one more right brace (the "}" character) 
than you have left braces, and somewhere you're telling procmail to exit 
one more nesting level than it had entered.

If you can't spot the extra right brace by reading (sometimes these 
things elude you, especially if you're the person who typed it in), try 
temporarily inserting VERBOSE=on and VERBOSE=off settings at assorted 
places in your .procmailrc until you can spot the section of code where 
the error is popping up.

My .procmailrc is working perfectly, which mean, all rules
are working for month... I don't anderstand anything !

Hello, 

Thanks for the Tip with "VERBOSE=on". I have found the error immediatly 
but I do not know how to sove:

procmail: [22781] Sat Jan 24 04:35:12 2004
procmail: Executing "date,+%Y-%m"
procmail: [22781] Sat Jan 24 04:35:12 2004
procmail: Assigning "MONTHFOLDER=2004-01"
procmail: Executing "date,+%Y"
procmail: Assigning "YEARFOLDER=2004"
procmail: No match on "^To(_dot_)*mutt-users(_at_)mutt(_dot_)org"
procmail: No match on "^X-Mailing-List.*pgsql"
procmail: No match on "^To(_dot_)*speedtouch(_at_)ml(_dot_)free(_dot_)fr"
procmail: No match on 
"^X-BeenThere(_dot_)*netfilter(_at_)lists(_dot_)netfilter(_dot_)org"
procmail: No match on "^From.*(MAILER-DAEMON)"
procmail: No match on "^From.*(Cron Daemon)"
procmail: No match on "^To(_dot_)*binaries4michelle(_at_)freenet(_dot_)de"
procmail: No match on "> 140000"
procmail: No match on "> 10000"
procmail: No match on "> 100000"
procmail: No match on "^Content-type.*(multipart\/alternative)"
procmail: Closing brace unexpected
procmail: No match on "^Content-type.*(multipart\/mixed)"
procmail: Closing brace unexpected
procmail: No match on "^Content-type.*(multipart\/mixed)"
procmail: Closing brace unexpected
procmail: No match on "^Subject.*\[AL\]"
procmail: No match on "^Subject.*\[courier\-users\]"
procmail: No match on "^Subject.*\[Exim\]"
procmail: No match on "^Subject.*FVWM\:"
...

The ~/.procmailrc part is:

:0
* ^Content-type.*multipart/alternative
* > 10000
* < 165000
* B ?? Content-Type.*(.exe|.bat|.com|.pif|.scr)
VIRUS-1/
}

:0
* ^Content-type.*multipart/mixed
* > 140000
* < 165000
* B ?? Content-Type.*(x-msdownload)
VIRUS-2/
}

:0
* ^Content-type.*multipart/mixed
* > 10000
* < 20000
* B ?? Content-Disposition.*(.exe|.bat|.com|.pif|.scr)
VIRUS-3/
}


I do not know, Why it give me errors...
Because the filter IS WORKING !

I get tonns of this M$-Bullshit in the Folders...

Greetings
Michelle

-- 
Registered Linux-User #280138 with the Linux Counter, http://counter.li.org/ 

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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