marc olejak wrote:
>
> --Ken Murchison <[EMAIL PROTECTED]> schrieb am Freitag, 22. Februar 2002 15:05
> Uhr -0500:
>
> >> marc olejak wrote:
> >> the script:
> >> ===========
> >> bash-2.04$ less /var/imap/sieve/m/marc/default
> >> require "fileinto";
> >> require "reject";
> >>
> >> if header :contains "To:" "@bigfoot.com" {
> >> fileinto "INBOX.Trash";
> >> }
> >>
> >> if header :contains "Subject:" "marctest1" {
> >> fileinto "INBOX.marc.Privat.test";
> >> }
> >>
> >> if header :contains "Subject:" "marctest2" {
> >> fileinto "INBOX.Privat.test";
> >> }
> >
> > Didn't notice this before... get rid of the ':' in the header names.
> > You're bascially telling sieve to look for lines like:
> >
> > subject:: blah
>
> NOOOOOOO.... this can't be... YOU ARE RIGHT! yeah! thx to the world,
> publishing false documentations, and i am dumb enough to copy only a part
> of it!
FYI. I just committed a header validity check to the sieve parser,
which will catch errors like this.
Ken
--
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