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

Sven Mueller sven at incase.de
Tue Apr 18 21:05:02 UTC 2006


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



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