Re: Regexp Postfix query doesn't stop at the first matching rule

2019-06-10 Thread Webmaster
query doesn't stop at the first matching rule On Mon, Jun 10, 2019 at 03:51:17AM -0700, Den1 wrote: > Just one teeny tiny comment. Header_checks will trigger before procmail, > sieve and so on therefore I am pretty much out of luck. Empty subject fields > will be rejected before eithe

Re: Regexp Postfix query doesn't stop at the first matching rule

2019-06-10 Thread Viktor Dukhovni
On Mon, Jun 10, 2019 at 03:51:17AM -0700, Den1 wrote: > Just one teeny tiny comment. Header_checks will trigger before procmail, > sieve and so on therefore I am pretty much out of luck. Empty subject fields > will be rejected before either procmail or sieve inserts / replaces the > subject field

Re: Regexp Postfix query doesn't stop at the first matching rule

2019-06-10 Thread Den1
Just one teeny tiny comment. Header_checks will trigger before procmail, sieve and so on therefore I am pretty much out of luck. Empty subject fields will be rejected before either procmail or sieve inserts / replaces the subject field (header) in question. Are there any ways to run procmail before

Re: Regexp Postfix query doesn't stop at the first matching rule

2019-06-08 Thread Den1
Noel Jones-2 wrote > On 6/8/2019 10:11 AM, Den1 wrote: >> Hello, >> >> I would be really thankful if someone could clarify it, please. It says >> the >> following, "Postfix works as documented in regexp_table(5) and >> pcre_table(5), i.e. each query stops at the first matching rule. Now the >> fol

Re: Regexp Postfix query doesn't stop at the first matching rule

2019-06-08 Thread Den1
Viktor Dukhovni wrote >> On Jun 9, 2019, at 12:42 AM, Webmaster < > webmaster@.klaipedaville > > wrote: >> > The answer is simple. Postfix header checks DO NOT support any sort > of multi-header conditionals or logic that depends on the order in > which headers are checked against the rules. E

Re: Regexp Postfix query doesn't stop at the first matching rule

2019-06-08 Thread Viktor Dukhovni
> On Jun 9, 2019, at 12:42 AM, Webmaster > wrote: > > OK. This is gmail.com and the sequence / order of its headers is always the > same isn't it? Plus, that is always the same user, always the same email > address, always the same "empty" subject field and always the same recipient > all the

Re: Regexp Postfix query doesn't stop at the first matching rule

2019-06-08 Thread Webmaster
is the subject field. -Original Message- From: Richard Damon To: postfix-users@postfix.org Sent: Sun, 09 Jun 2019 6:31 Subject: Re: Regexp Postfix query doesn't stop at the first matching rule But if in the message Subject is before From, then the Subject will be tested before the From hea

Re: Regexp Postfix query doesn't stop at the first matching rule

2019-06-08 Thread Noel Jones
On 6/8/2019 10:11 AM, Den1 wrote: Hello, I would be really thankful if someone could clarify it, please. It says the following, "Postfix works as documented in regexp_table(5) and pcre_table(5), i.e. each query stops at the first matching rule. Now the following two rules are in conflict: /^Fro

Re: Regexp Postfix query doesn't stop at the first matching rule

2019-06-08 Thread Richard Damon
uery match and the > search goes on until it "meets" REJECT. In my opinion that's exactly > what's going on here in my case.. . Is that not right? Am I wrong? > > > -Original Message- > From: Richard Damon > To: postfix-users@postfix.org > Sent: Sun

Re: Regexp Postfix query doesn't stop at the first matching rule

2019-06-08 Thread Webmaster
; REJECT. In my opinion that's exactly what's going on here in my case.. . Is that not right? Am I wrong? -Original Message- From: Richard Damon To: postfix-users@postfix.org Sent: Sun, 09 Jun 2019 3:57 Subject: Re: Regexp Postfix query doesn't stop at the first match

Re: Regexp Postfix query doesn't stop at the first matching rule

2019-06-08 Thread Richard Damon
enever all of these 4 per 1 message are matched? > > Any more pointers, please? Many thanks! > > Den > > -Original Message----- > From: Wietse Venema > To: Postfix users > Sent: Sat, 08 Jun 2019 19:16 > Subject: Re: Regexp Postfix query doesn't stop at the

Re: Regexp Postfix query doesn't stop at the first matching rule

2019-06-08 Thread Webmaster
lease? Many thanks! Den -Original Message- From: Wietse Venema To: Postfix users Sent: Sat, 08 Jun 2019 19:16 Subject: Re: Regexp Postfix query doesn't stop at the first matching rule Den1: > Hello, > > I would be really thankful if someone could clarify it, please. It says the >

Re: Regexp Postfix query doesn't stop at the first matching rule

2019-06-08 Thread Wietse Venema
Den1: > Hello, > > I would be really thankful if someone could clarify it, please. It says the > following, "Postfix works as documented in regexp_table(5) and > pcre_table(5), i.e. each query stops at the first matching rule. Now the > following two rules are in conflict: > > /^From:\s*assistant

Regexp Postfix query doesn't stop at the first matching rule

2019-06-08 Thread Den1
Hello, I would be really thankful if someone could clarify it, please. It says the following, "Postfix works as documented in regexp_table(5) and pcre_table(5), i.e. each query stops at the first matching rule. Now the following two rules are in conflict: /^From:\s*assistant\@gmail\.com$/ REPLACE