draft-ietf-sieve-3431bis-03.txt   draft-ietf-sieve-3431bis-04.txt 
Sieve Working Group W. Segmuller Sieve Working Group W. Segmuller
Internet-Draft B. Leiba Internet-Draft B. Leiba
Obsoletes: 3431 (if approved) IBM T.J. Watson Research Center Obsoletes: 3431 (if approved) IBM T.J. Watson Research Center
Expires: June 4, 2006 December 1, 2005 Expires: June 30, 2006 December 27, 2005
Sieve Extension: Relational Tests Sieve Extension: Relational Tests
draft-ietf-sieve-3431bis-03 draft-ietf-sieve-3431bis-04
Status of this Memo Status of this Memo
By submitting this Internet-Draft, each author represents that any By submitting this Internet-Draft, each author represents that any
applicable patent or other IPR claims of which he or she is aware applicable patent or other IPR claims of which he or she is aware
have been or will be disclosed, and any of which he or she becomes have been or will be disclosed, and any of which he or she becomes
aware will be disclosed, in accordance with Section 6 of BCP 79. aware will be disclosed, in accordance with Section 6 of BCP 79.
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that Task Force (IETF), its areas, and its working groups. Note that
skipping to change at page 1, line 34 skipping to change at page 1, line 34
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt. http://www.ietf.org/ietf/1id-abstracts.txt.
The list of Internet-Draft Shadow Directories can be accessed at The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html. http://www.ietf.org/shadow.html.
This Internet-Draft will expire on June 4, 2006. This Internet-Draft will expire on June 30, 2006.
Copyright Notice Copyright Notice
Copyright (C) The Internet Society (2005). Copyright (C) The Internet Society (2005).
Abstract Abstract
This document describes the RELATIONAL extension to the Sieve mail This document describes the RELATIONAL extension to the Sieve mail
filtering language defined in RFC 3028. This extension extends filtering language defined in RFC 3028. This extension extends
existing conditional tests in Sieve to allow relational operators. existing conditional tests in Sieve to allow relational operators.
skipping to change at page 2, line 19 skipping to change at page 2, line 19
This document and the Sieve language itself are being discussed on This document and the Sieve language itself are being discussed on
the MTA Filters mailing list at mailto:ietf-mta-filters@imc.org. the MTA Filters mailing list at mailto:ietf-mta-filters@imc.org.
Subscription requests can be sent to Subscription requests can be sent to
mailto:ietf-mta-filters-request@imc.org?body=subscribe (send an email mailto:ietf-mta-filters-request@imc.org?body=subscribe (send an email
message with the word "subscribe" in the body). More information on message with the word "subscribe" in the body). More information on
the mailing list along with a WWW archive of back messages is the mailing list along with a WWW archive of back messages is
available at http://www.imc.org/ietf-mta-filters/. available at http://www.imc.org/ietf-mta-filters/.
Table of Contents Table of Contents
1. Conventions used in this document . . . . . . . . . . . . . 3 1. Conventions used in this document . . . . . . . . . . . . . . 3
2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4 2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 4
3. Comparators . . . . . . . . . . . . . . . . . . . . . . . . 5 3. Comparators . . . . . . . . . . . . . . . . . . . . . . . . . 5
4. Match Types . . . . . . . . . . . . . . . . . . . . . . . . 6 4. Match Types . . . . . . . . . . . . . . . . . . . . . . . . . 6
4.1 Match Type VALUE . . . . . . . . . . . . . . . . . . . . . . 6 4.1 Match Type VALUE . . . . . . . . . . . . . . . . . . . . . . . 6
4.2 Match Type COUNT . . . . . . . . . . . . . . . . . . . . . . 6 4.2 Match Type COUNT . . . . . . . . . . . . . . . . . . . . . . . 6
5. Interaction With Other Sieve Actions . . . . . . . . . . . . 8 5. Interaction With Other Sieve Actions . . . . . . . . . . . . . 8
6. Example . . . . . . . . . . . . . . . . . . . . . . . . . . 9 6. Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
7. Extended Example . . . . . . . . . . . . . . . . . . . . . . 10 7. Extended Example . . . . . . . . . . . . . . . . . . . . . . . 10
8. IANA Considerations . . . . . . . . . . . . . . . . . . . . 11 8. Changes Since RFC 3431 . . . . . . . . . . . . . . . . . . . . 11
9. Security Considerations . . . . . . . . . . . . . . . . . . 12 9. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 12
10. References . . . . . . . . . . . . . . . . . . . . . . . . . 13 10. Security Considerations . . . . . . . . . . . . . . . . . . . 13
10.1 Normative References . . . . . . . . . . . . . . . . . . . . 13
10.2 Non-Normative References . . . . . . . . . . . . . . . . . . 13
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . 13 11. Normative References . . . . . . . . . . . . . . . . . . . . . 13
Intellectual Property and Copyright Statements . . . . . . . 14 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . 13
Intellectual Property and Copyright Statements . . . . . . . . 15
1. Conventions used in this document 1. Conventions used in this document
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in BCP 14, RFC 2119. document are to be interpreted as described in BCP 14, RFC 2119.
Conventions for notations are as in [Sieve] section 1.1, including Conventions for notations are as in [Sieve] section 1.1, including
the use of [Kwds] and the use of [ABNF]. the use of [Kwds] and the use of [ABNF].
skipping to change at page 11, line 5 skipping to change at page 11, line 5
} }
if allof ( address :count "eq" :comparator "i;ascii-numeric" if allof ( address :count "eq" :comparator "i;ascii-numeric"
["to", "cc"] ["1"] , ["to", "cc"] ["1"] ,
address :all :comparator "i;ascii-casemap" address :all :comparator "i;ascii-casemap"
["to", "cc"] ["me@foo.example.com"] ) ["to", "cc"] ["me@foo.example.com"] )
{ {
fileinto "Only me"; fileinto "Only me";
} }
8. IANA Considerations 8. Changes Since RFC 3431
Apart from several minor editorial/wording changes, the following
list describes the notable changes to this specification since RFC
3431.
o Updated references, including changing the comparator reference
from ACAP to the "Internet Application Protocol Collation
Registry" document.
o Updated and corrected the examples.
o Added definition comments to ABNF for "gt", "lt", etc.
o Clarified what RFC 2822 elements are counted in the COUNT test.
o Removed the requirement to strip white space from header fields
before comparing; a more general version of this requirement has
been added to the Sieve base spec.
9. IANA Considerations
This document requests that the IANA update the entry for the This document requests that the IANA update the entry for the
"relational" Sieve extension to point to this document. "relational" Sieve extension to point to this document.
9. Security Considerations 10. Security Considerations
An implementation MUST ensure that the test for envelope "to" only An implementation MUST ensure that the test for envelope "to" only
reflects the delivery to the current user. It MUST not be possible reflects the delivery to the current user. It MUST not be possible
for a user to determine if this message was delivered to someone else for a user to determine if this message was delivered to someone else
using this test. using this test.
Additional security considerations are discussed in [Sieve]. Additional security considerations are discussed in [Sieve].
10. References 11. Normative References
10.1 Normative References
[ABNF] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax [ABNF] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax
Specifications: ABNF", RFC 4234, October 2005. Specifications: ABNF", RFC 4234, October 2005.
[Comp] Newman, C., Duerst, M., and A. Gulbrandsen, "Internet
Application Protocol Collation Registry", work in
progress, draft-newman-i18n-comparator, September 2005.
[Kwds] Bradner, S., "Key words for use in RFCs to Indicate [Kwds] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", RFC 2119, March 1997. Requirement Levels", RFC 2119, March 1997.
[RFC2822] Resnick, P., "Internet Message Format", RFC 2822, [RFC2822] Resnick, P., "Internet Message Format", RFC 2822,
April 2001. April 2001.
[Sieve] Guenther, P. and T. Showalter, "Sieve: An Email Filtering [Sieve] Guenther, P. and T. Showalter, "Sieve: An Email Filtering
Language", work in progress, draft-ietf-sieve-3028bis, Language", work in progress, draft-ietf-sieve-3028bis,
July 2005. July 2005.
10.2 Non-Normative References
[Comp] Newman, C., Duerst, M., and A. Gulbrandsen, "Internet
Application Protocol Collation Registry", work in
progress, draft-newman-i18n-comparator, September 2005.
Authors' Addresses Authors' Addresses
Wolfgang Segmuller Wolfgang Segmuller
IBM T.J. Watson Research Center IBM T.J. Watson Research Center
19 Skyline Drive 19 Skyline Drive
Hawthorne, NY 10532 Hawthorne, NY 10532
US US
Phone: +1 914 784 7408 Phone: +1 914 784 7408
Email: werewolf@us.ibm.com Email: werewolf@us.ibm.com
 End of changes. 20 change blocks. 
30 lines changed or deleted 46 lines changed or added

This html diff was produced by rfcdiff 1.28, available from http://www.levkowetz.com/ietf/tools/rfcdiff/