Re: max length of pcre rule?

2010-03-29 Thread Wietse Venema
Louis-David Mitterrand: Hi, I am using an (insanely) long pcre (see below) to reject african/chinese/etc. spam that relays through large ISP's. An now it seems I have reached a limit. When trying to add a single more expression with a set of () parens I get this error: postmap:

Re: max length of pcre rule?

2010-03-29 Thread Steve
Original-Nachricht Datum: Mon, 29 Mar 2010 14:54:47 +0200 Von: Louis-David Mitterrand vindex+lists-postfix-us...@apartia.org An: postfix-users@postfix.org Betreff: max length of pcre rule? Hi, Hello, I am using an (insanely) long pcre (see below) to reject

Re: max length of pcre rule?

2010-03-29 Thread Steve
Original-Nachricht Datum: Mon, 29 Mar 2010 16:35:49 +0200 Von: Steve stev...@gmx.net An: postfix-users@postfix.org Betreff: Re: max length of pcre rule? Original-Nachricht Datum: Mon, 29 Mar 2010 14:54:47 +0200 Von: Louis-David Mitterrand vindex

Re: max length of pcre rule?

2010-03-29 Thread Louis-David Mitterrand
On Mon, Mar 29, 2010 at 04:38:17PM +0200, Steve wrote: Ohhh boy. Now looking at the regexp I see an error. Every line starting with /[^:]*.+ should be replaced by /[^:]*:.+. Sorry for that. Hi Steve, You if/endif suggestion for the prefix is interesting. For added safety, the

Re: max length of pcre rule?

2010-03-29 Thread Steve
Original-Nachricht Datum: Mon, 29 Mar 2010 16:44:58 +0200 Von: Louis-David Mitterrand vindex+lists-postfix-us...@apartia.org An: postfix-users@postfix.org Betreff: Re: max length of pcre rule? On Mon, Mar 29, 2010 at 04:38:17PM +0200, Steve wrote: Ohhh boy. Now

Re: max length of pcre rule?

2010-03-29 Thread Henrik K
On Mon, Mar 29, 2010 at 09:13:31AM -0400, Wietse Venema wrote: Louis-David Mitterrand: Hi, I am using an (insanely) long pcre (see below) to reject african/chinese/etc. spam that relays through large ISP's. An now it seems I have reached a limit. When trying to add a single more

Re: max length of pcre rule?

2010-03-29 Thread Steve
Original-Nachricht Datum: Mon, 29 Mar 2010 16:44:58 +0200 Von: Louis-David Mitterrand vindex+lists-postfix-us...@apartia.org An: postfix-users@postfix.org Betreff: Re: max length of pcre rule? On Mon, Mar 29, 2010 at 04:38:17PM +0200, Steve wrote: Ohhh boy. Now

Re: max length of pcre rule?

2010-03-29 Thread Steve
Original-Nachricht Datum: Mon, 29 Mar 2010 17:12:58 +0200 Von: Steve stev...@gmx.net An: postfix-users@postfix.org Betreff: Re: max length of pcre rule? Original-Nachricht Datum: Mon, 29 Mar 2010 16:44:58 +0200 Von: Louis-David Mitterrand vindex

Re: max length of pcre rule?

2010-03-29 Thread Louis-David Mitterrand
On Mon, Mar 29, 2010 at 04:55:19PM +0200, Steve wrote: You if/endif suggestion for the prefix is interesting. For added safety, the individual rules should be anchored with ^ and the bracketed atom plussed, no? /^[^:]+:.+ Yes. You are right. But to be honest this should be enough

Re: max length of pcre rule?

2010-03-29 Thread Louis-David Mitterrand
On Mon, Mar 29, 2010 at 05:16:39PM +0200, Steve wrote: Ach. Again. I made errors. Sorry. It's hard to write here in such a small edit box in a web interface. The above is not 100% correct. What I wanted to write is: You need the 'itsalltext' firefox extension to edit any web textarea with

Re: max length of pcre rule?

2010-03-29 Thread Henrik K
On Mon, Mar 29, 2010 at 05:17:22PM +0200, Louis-David Mitterrand wrote: On Mon, Mar 29, 2010 at 04:55:19PM +0200, Steve wrote: You if/endif suggestion for the prefix is interesting. For added safety, the individual rules should be anchored with ^ and the bracketed atom plussed, no?

Re: max length of pcre rule?

2010-03-29 Thread Steve
Original-Nachricht Datum: Mon, 29 Mar 2010 19:00:36 +0300 Von: Henrik K h...@hege.li An: postfix-users@postfix.org Betreff: Re: max length of pcre rule? On Mon, Mar 29, 2010 at 05:17:22PM +0200, Louis-David Mitterrand wrote: On Mon, Mar 29, 2010 at 04:55:19PM +0200

Re: max length of pcre rule?

2010-03-29 Thread Henrik K
On Mon, Mar 29, 2010 at 06:13:15PM +0200, Steve wrote: Original-Nachricht Datum: Mon, 29 Mar 2010 19:00:36 +0300 Von: Henrik K h...@hege.li An: postfix-users@postfix.org Betreff: Re: max length of pcre rule? On Mon, Mar 29, 2010 at 05:17:22PM +0200, Louis-David