[ingo] Fwd: Re: [Tickets #4035] RESOLVED: Filtering on body with Procmail

Ben Chavet ben at horde.org
Wed Jun 14 09:38:08 PDT 2006


Quoting Ben Chavet <ben at horde.org>:

>> Tweaked and commited, thanks!
>
> Thanks. But I think that removing my code to add the flags for each
> condition is a mistake : that means that the "B" flag will only be
> added at the start of a recipe, when you want in fact add the "B" flag
> for each individual match, such as this :
>
> 14: ##### [msec] INFECTED #####
>  15: :0
>  16: * ^Subject:.*\[msec\]
>  17: {
>  18:   :0 DB
>  19:   * .*INFECTED
>  20:   AxperiaSARL/Admin/INFECTED\ chkrootkit
>  21: }
>
> and not
>
> 14: ##### [msec] INFECTED #####
>  15: :0 DB
>  16: * ^Subject:.*\[msec\]
>  17: {
>  18:   :0
>  19:   * .*INFECTED
>  20:   AxperiaSARL/Admin/INFECTED\ chkrootkit
>  21: }

Ah, nice catch!  Try what I just committed.

--Ben


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/ingo/attachments/20060614/abd84871/attachment.bin


More information about the ingo mailing list