Ralf Haferkamp wrote:
>
> Hi,
>
> Is it possible to write a SIEVE filterrule that checks all mail headers for
> a specific string? Something like:
>
> if header :contains [*] "blahblah"{
> discard; ^
> } |
> |
> |___________________________
> What do I have do put here to
> test _all_ mail headers?
You can't use a wildcard to match all headers. You'll have to list the
headers that you want to check, ie:
if header :contains ["to", "from", "subject", "x-mailer", ...]
"blahblah" {
discard;
}
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp