Verify Sieve Rule (Was: Re: 2.2.12-5, 2.2.12-4bpo1 and 2.2.13-0.9)

Benjamin Seidenberg astronut at dlgeek.net
Tue Apr 18 21:08:55 UTC 2006


Sven Mueller wrote:
> Benjamin Seidenberg wrote on 18/04/2006 22:58:
>   
>> I have a somewhat more complicated sieve rule than I'm used to and I
>> wanted someone to confirm it should work as intended. Don't want to lose
>> mail I shouldn't.
>>
>> # Drop duplicate off-list reply
>> if allof (
>>     header :contains ["To", "Cc"]
>> "pkg-cyrus-imapd-debian-devel at lists.alioth.debian.org
>> <mailto:pkg-cyrus-imapd-debian-devel at lists.alioth.debian.org>",
>>     header :contains "From" "hmh at debian.org <mailto:hmh at debian.org>",
>>     not (
>>          header :contains "List-Id"
>> "pkg-cyrus-imapd-debian-devel.lists.alioth.debian.org"
>>      ) {
>>         drop;
>>         stop;
>> }
>>     
>
> Basically looks good, however, the check for "From" should skip the "
> <mailto:hmh at debian.org>" part. It won't find that in the original
> message headers ;-)
>
> cu,
> sven
>
>   
D'oh. It got that when I pasted. Thanks.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cyrus-imapd-debian-devel/attachments/20060418/0b0f3478/signature.pgp


More information about the Pkg-Cyrus-imapd-Debian-devel mailing list