draft-ietf-sieve-3431bis-02.txt   draft-ietf-sieve-3431bis-03.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: May 21, 2006 November 17, 2005 Expires: June 4, 2006 December 1, 2005
Sieve Extension: Relational Tests Sieve Extension: Relational Tests
draft-ietf-sieve-3431bis-02 draft-ietf-sieve-3431bis-03
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 May 21, 2006. This Internet-Draft will expire on June 4, 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 4, line 7 skipping to change at page 4, line 7
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].
2. Introduction 2. Introduction
[Sieve] is a language for filtering e-mail messages at the time of The RELATIONAL extension to the Sieve mail filtering language [Sieve]
final delivery. It is designed to be implementable on either a mail provides relational operators on the address, envelope, and header
client or mail server. It is meant to be extensible, simple, and tests. This extension also provides a way of counting the entities
independent of access protocol, mail architecture, and operating in a message header or address field.
system. It is suitable for running on a mail server where users may
not be allowed to execute arbitrary programs, such as on black box
Internet Messages Access Protocol (IMAP) servers, as it has no
variables, loops, nor the ability to shell out to external programs.
The RELATIONAL extension provides relational operators on the
address, envelope, and header tests. This extension also provides a
way of counting the entities in a message header or address field.
With this extension, the Sieve script may now determine if a field is With this extension, the Sieve script may now determine if a field is
greater than or less than a value instead of just equivalent. One greater than or less than a value instead of just equivalent. One
use is for the x-priority field: move messages with a priority use is for the x-priority field: move messages with a priority
greater than 3 to the "work on later" folder. Mail could also be greater than 3 to the "work on later" folder. Mail could also be
sorted by the from address. Those userids that start with 'a'-'m' go sorted by the from address. Those userids that start with 'a'-'m' go
to one folder, and the rest go to another folder. to one folder, and the rest go to another folder.
The Sieve script can also determine the number of fields in the The Sieve script can also determine the number of fields in the
header, or the number of addresses in a recipient field. For header, or the number of addresses in a recipient field. For
skipping to change at page 13, line 10 skipping to change at page 13, line 10
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 10. References
10.1 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, November 1997. Specifications: ABNF", RFC 4234, October 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", I-D draft-ietf-sieve-3028bis, July 2005. Language", work in progress, draft-ietf-sieve-3028bis,
July 2005.
10.2 Non-Normative References 10.2 Non-Normative References
[Comp] Newman, C., Duerst, M., and A. Gulbrandsen, "Internet [Comp] Newman, C., Duerst, M., and A. Gulbrandsen, "Internet
Application Protocol Collation Registry", Application Protocol Collation Registry", work in
I-D draft-newman-i18n-comparator, September 2005. 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
 End of changes. 7 change blocks. 
19 lines changed or deleted 12 lines changed or added

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