Re: Body rules hit on Subject

2018-02-03 Thread John Hardin
On Sat, 3 Feb 2018, Alex wrote: Hi, The only "solution" I've ever come up with is to create a meta rule group to account for the Subject hit: body __FOO /foo/ header __SUBJ_FOO Subject =~ /foo/ meta FOO __FOO && !__SUBJ_FOO I have to admit it's annoyed me on occasion that I can't create

Re: Body rules hit on Subject

2018-02-03 Thread Bill Cole
On 3 Feb 2018, at 16:37 (-0500), Bill Cole wrote: On 2 Feb 2018, at 16:59 (-0500), Kevin A. McGrail wrote: There is no solution at the moment.  The subject is appended to the body of the text for rule parsing.  The 2nd sentence is wrong: the subject is *prepended* to the body. Also: the

Re: Body rules hit on Subject

2018-02-03 Thread Bill Cole
On 2 Feb 2018, at 16:59 (-0500), Kevin A. McGrail wrote: There is no solution at the moment.  The subject is appended to the body of the text for rule parsing.  The 2nd sentence is wrong: the subject is *prepended* to the body. Also: the 1st sentence is wrong, there's no *PRETTY* solution.

Re: Body rules hit on Subject

2018-02-03 Thread Kevin A. McGrail
On 2/3/2018 2:28 PM, Alex wrote: I've also had a problem when trying to write rules that rely on or otherwise measure the length of the body. A more complicated set of rules are needed for that, if it's even possible/reliable. Take a look at these rules for an example: 72_active.cf:   

Re: Body rules hit on Subject

2018-02-03 Thread Kevin A. McGrail
On 2/2/2018 6:09 PM, John Hardin wrote: There is no solution at the moment.  The subject is appended to the body of the text for rule parsing.  I've added a task I plan to submit for GSOC consideration to add a tflag to disable this behavior. Globally, or per-rule? A tflag affect just

Re: Body rules hit on Subject

2018-02-03 Thread Alex
Hi, >> The only "solution" I've ever come up with is to create a meta rule group to >> account for the Subject hit: >> >> body __FOO /foo/ >> header __SUBJ_FOO Subject =~ /foo/ >> meta FOO __FOO && !__SUBJ_FOO >> >> I have to admit it's annoyed me on occasion that I can't create a single >>

Re: Body rules hit on Subject

2018-02-03 Thread @lbutlr
On 2 Feb 2018, at 14:27, Kris Deugau wrote: > The only "solution" I've ever come up with is to create a meta rule group to > account for the Subject hit: > > body __FOO /foo/ > header __SUBJ_FOO Subject =~ /foo/ > meta FOO __FOO && !__SUBJ_FOO > > I have to admit it's

Re: Body rules hit on Subject

2018-02-02 Thread John Hardin
On Fri, 2 Feb 2018, Kevin A. McGrail wrote: On 2/2/2018 1:41 PM, Alex wrote: Hi, I recall a conversation in the past about body rules hitting on the Subject of an email, but I don't believe there was ever a solution, or I otherwise missed it. It's now affecting me again, and I hoped someone

Re: Body rules hit on Subject

2018-02-02 Thread Martin Gregorie
On Fri, 2018-02-02 at 16:59 -0500, Kevin A. McGrail wrote: > There is no solution at the moment. The subject is appended to the > body of the text for rule parsing. I've added a task I plan to > submit for GSOC consideration to add a tflag to disable this > behavior. > Would it sensible leave

Re: Body rules hit on Subject

2018-02-02 Thread John Hardin
On Fri, 2 Feb 2018, Alex wrote: I recall a conversation in the past about body rules hitting on the Subject of an email, but I don't believe there was ever a solution, or I otherwise missed it. This behavior is by design. -- John Hardin KA7OHZ

Re: Body rules hit on Subject

2018-02-02 Thread Kevin A. McGrail
On 2/2/2018 1:41 PM, Alex wrote: Hi, I recall a conversation in the past about body rules hitting on the Subject of an email, but I don't believe there was ever a solution, or I otherwise missed it. It's now affecting me again, and I hoped someone had some ideas on how to prevent body rules

Re: Body rules hit on Subject

2018-02-02 Thread Kris Deugau
Alex wrote: Hi, I recall a conversation in the past about body rules hitting on the Subject of an email, but I don't believe there was ever a solution, or I otherwise missed it. It's now affecting me again, and I hoped someone had some ideas on how to prevent body rules from hitting on the

Re: Body rules hit on Subject

2018-02-02 Thread David Jones
On 02/02/2018 02:19 PM, Alex wrote: Hi, I recall a conversation in the past about body rules hitting on the Subject of an email, but I don't believe there was ever a solution, or I otherwise missed it. It's now affecting me again, and I hoped someone had some ideas on how to prevent body

Re: Body rules hit on Subject

2018-02-02 Thread Alex
Hi, >> I recall a conversation in the past about body rules hitting on the >> Subject of an email, but I don't believe there was ever a solution, or >> I otherwise missed it. >> >> It's now affecting me again, and I hoped someone had some ideas on how >> to prevent body rules from hitting on the

Re: Body rules hit on Subject

2018-02-02 Thread David Jones
On 02/02/2018 12:41 PM, Alex wrote: Hi, I recall a conversation in the past about body rules hitting on the Subject of an email, but I don't believe there was ever a solution, or I otherwise missed it. It's now affecting me again, and I hoped someone had some ideas on how to prevent body rules

Body rules hit on Subject

2018-02-02 Thread Alex
Hi, I recall a conversation in the past about body rules hitting on the Subject of an email, but I don't believe there was ever a solution, or I otherwise missed it. It's now affecting me again, and I hoped someone had some ideas on how to prevent body rules from hitting on the subject too since