[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[draft-melnikov-sieve-external-lists] 2.2 Allow Extensions To Use List
- To: MTA filtering mailing list <ietf-mta-filters@xxxxxxx>
- Subject: [draft-melnikov-sieve-external-lists] 2.2 Allow Extensions To Use List
- From: Robert Burrell Donkin <robertburrelldonkin@xxxxxxxxx>
- Date: Thu, 30 Jul 2009 13:24:55 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=pRRCaYeS5aThfSdlq8kBZBE2jmeAHQeEn+o4qhSOjWU=; b=mJYXiWyRjetAvqSRVLI/vdImElSZoGllo7wn8LWm0mNR1HEZLaXiWcESOMRCIDZwYY zUHGzaUP1s0p1Yk4/BFxycuDePOAfmnHNy0HzrCU9I5kVV06BLps0VBocnJM4VYdZ4E0 THIrS0ihia4QzAVpjVGfAMYNCl7e0V1AOQNYU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=XoDOtJFFpgLkwNSfdtoHsKPbvR7YkwTUDJ2ImTiXv4tTn1CTUBNEtspwLoHQ1xf+KI t3V2yuOk+C+zMESx0pDy95Xgkm2kQ/mgWD6CpnVtMMCodO1Gqwrko2l0y3/0gNsqMypQ 1JJuQOzS6US9WNgZhyuxLPbS9gJWw77Y9m7xs=
- List-archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
- List-id: <ietf-mta-filters.imc.org>
- List-unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>
- Sender: owner-ietf-mta-filters@xxxxxxxxxxxx
Proposal - Clarify Expected Behaviour For Unsupported Tests
===========================================================
Change
------
Require implementations to raise a compile time error when list
is used with an unsupported test.
Rationale
---------
Adopting a single clear rule on error handling increases interoperability.
Requiring a compile time error seems cleaner than alternatives such as
silently failing the test.
Proposal - Allow Extension Tests To Use Link
============================================
Change
------
Add explicit permission for implementations to support list for other
tests.
Rationale
---------
Extensions which find "list" useful should be encouraged to use it
as described.
Use Case: Mailing List Local Test
---------------------------------
if mailinglist :list "tag:example.org,2009-07-24:IEFT" {
fileinto "standards";
}
--------------------------------------------------------------------------
[1] Proposal
--------------------------------------------------------------------------
2.2. :list match type
ABNF:
MATCH-TYPE =/ ":list"
; only valid for supported tests
The new ":list" match type changes the interpretation of the "key-
list" parameter to supported tests. When the match type is ":list",
the key-list becomes a list of names of externally stored lists.
The external lists are queried, perhaps through a list-specific
mechanism, and the test evaluates to "true" if any of the specified
values matches any member of one or more of the lists.
Implementations MUST support "address", "envelope" and "header" tests.
Implementations MAY support other tests but MUST raise a compile
time error when a script contains any standard test where support has
not been explicitly specified.
--------------------------------------------------------------------------
[2] Original Text
--------------------------------------------------------------------------
2.2. :list match type for "address", "envelope", and "header" tests
ABNF:
MATCH-TYPE =/ ":list"
; only valid for "address", "envelope", and "header" tests
The new ":list" match type changes the interpretation of the "key-
list" parameter to the "address"/"envelope"/"header" test. When the
match type is ":list", the key-list becomes a list of names of
externally stored lists. The external lists are queried, perhaps
through a list-specific mechanism, and the test evaluates to "true"
if any of the specified values matches any member of one or more of
the lists.