[ingo] Questions about .procmailrc (ingo rules)

Jan Schneider jan at horde.org
Tue Apr 25 09:00:44 PDT 2006


Zitat von Shane Williams <broot at ischool.utexas.edu>:

> I have to say, the "stop checking" option trips up a lot of people.
> Our users' expectations are that filters will not pass a copy on to
> further filters.  As such, I think it should be checked by default for
> new rules (Actually, I think it should be reworded and the logic
> flipped, so you have to check a box to pass a copy on down the line,
> but I'm not in charge).
>
> There's probably some more elegant way to do this, but replacing
> line 49 from templates/rule/footer.inc (this is in Ingo 1.1) with this
> line:
>
> <input type="checkbox" name="stop" value="1"<?php if (!   
> isset($actionID)) { echo 'checked="checked"';} else { echo   
> ($rule['stop']) ? 'checked="checked"' : '' ;}?>> <?php echo _("Stop   
> checking if this rule matches?") ?>
>
> seems to do the trick without messing anything else up.  Someone
> please let me know if I'm totally off-base on this.

No, this is the correct solution for you want to achieve.

I would like to hear other people's opinion whether this flag should  
be enabled by default.

> On Mon, 24 Apr 2006, Ben Chavet wrote:
>
>>
>> > Can i modify a file in the Ingo folder e.g. any *.php File, that this "c"
>> > not generated.
>>
>> Yes, check the box that says "Stop checking if this rule matches?"

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the ingo mailing list