ietf-mta-filters
[Top] [All Lists]

RE: Proposed Sieve extensions (examples corrected)

1998-11-12 11:45:08
The example under the "Action append" definition was incorrect; here is the
correct
example.

        if allof( header ["To"] :contains "ietf-mta-filters",
                  not header ["X-Filed"] :contains "ietf")
      {
                append :new :header "X-Filed" "ietf"
                fileinto "Lists/IETF"
                keep
        }

The example under the "Action replace" definition was also incorrect; it
should read:

        if allof( header ["To"] :contains "ietf-mta-filters",
                not header ["X-Filed"] :contains "ietf")
      {
                if not header ["Subject"] :contains "[IETF]" {
                        replace :header "Subject" "[IETF] $SUBJECT"
                }
                append :header "X-Filed" "ietf"
                resend "Local-IETF-List"
        }

        The above example modifies the original Subject header by inserting a 
list
        identifier into the subject.


<Prev in Thread] Current Thread [Next in Thread>