Community Discussions and Support
Content Control multiple definitions - bug?

If, in your tests, A colorizes the message, then it is triggering something in A.  Try testing with different colors for A and B, then disable B (just because you get a B color doesn't mean A didn't trigger, it just means it re-colored it) and test A first.  If it doesn't color with A, then enable B and test again.

If, in your tests, A colorizes the message, then it is triggering something in A.  Try testing with different colors for A and B, then disable B (just because you get a B color doesn't mean A didn't trigger, it just means it re-colored it) and test A first.  If it doesn't color with A, then enable B and test again.

Hello.  I'm a long time user of Pegasus as a simple POP3 client on a single computer.  Now on v. 4.31.  I just discovered a content control issue that is either a bug or an implementation I don't understand.  I created two active content control definitions (because I want each to produce a different action.  No error in the syntax checker for each.)  Call one A and one B.  If I set each ones action to simply colorize the display line for new mail (my diagnostic for checking whether a rule set is triggered), each works fine, no matter their order.  (Tested by downloading a spam that will trigger one definition but not the other.)  Now I change the action for A to "move an offending mail to xxx folder."  The ordering is A before B.  If a new piece of mail fits the A criteria, the action fires.  However, if a new piece of mail fits only the B criteria, the B action does not fire. 

IOW, just changing the *action* for the first definition from a simple color indication to a moving of the file prevents processing by the second definition.  Now I know the helpfile indicates that processing will stop when a move action *occurs.*  But it doesn't say that processing will stop when that definition is not met.  Why does it stop?

In case it matters, the test in the A definition is a single instance of an "if body contains" 'literal string' match.  The test in the B definition is a long set of conditions, including multiple regular expression matches.  .  

Hope I've explained it clearly. Is this a bug, or am I missing something?  Thanks for any help,

 Ron

<p>Hello.  I'm a long time user of Pegasus as a simple POP3 client on a single computer.  Now on v. 4.31.  I just discovered a content control issue that is either a bug or an implementation I don't understand.  I created two active content control definitions (because I want each to produce a different action.  No error in the syntax checker for each.)  Call one A and one B.  If I set each ones action to simply colorize the display line for new mail (my diagnostic for checking whether a rule set is triggered), each works fine, no matter their order.  (Tested by downloading a spam that will trigger one definition but not the other.)  Now I change the action for A to "move an offending mail to xxx folder."  The ordering is A before B.  If a new piece of mail fits the A criteria, the action fires.  However, if a new piece of mail fits only the B criteria, the B action does not fire.  </p><p>IOW, just changing the *action* for the first definition from a simple color indication to a moving of the file prevents processing by the second definition.  Now I know the helpfile indicates that processing will stop when a move action *occurs.*  But it doesn't say that processing will stop when that definition is not met.  Why does it stop?</p><p>In case it matters, the test in the A definition is a single instance of an "if body contains" 'literal string' match.  The test in the B definition is a long set of conditions, including multiple regular expression matches.  .   </p><p>Hope I've explained it clearly. Is this a bug, or am I missing something?  Thanks for any help,</p><p> Ron </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft