draft-ietf-sieve-convert-04.txt   draft-ietf-sieve-convert-05.txt 
Sieve Working Group A. Melnikov Sieve Working Group A. Melnikov
Internet-Draft Isode Limited Internet-Draft Isode Limited
Intended status: Standards Track Q. Sun Intended status: Standards Track Q. Sun
Expires: March 27, 2012 B. Leiba Expires: April 20, 2012 B. Leiba
K. Li K. Li
Huawei Technologies Huawei Technologies
September 24, 2011 October 18, 2011
Sieve Extension for converting messages before delivery Sieve Extension for Converting Messages Before Delivery
draft-ietf-sieve-convert-04 draft-ietf-sieve-convert-05
Abstract Abstract
This document describes how IMAP CONVERT can be used within Sieve to This document describes how IMAP CONVERT can be used within Sieve to
transform messages before final delivery. transform messages before final delivery.
Status of this Memo Status of this Memo
This Internet-Draft is submitted in full conformance with the This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79. provisions of BCP 78 and BCP 79.
skipping to change at page 1, line 34 skipping to change at page 1, line 34
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/. Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
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."
This Internet-Draft will expire on March 27, 2012. This Internet-Draft will expire on April 20, 2012.
Copyright Notice Copyright Notice
Copyright (c) 2011 IETF Trust and the persons identified as the Copyright (c) 2011 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of (http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
skipping to change at page 5, line 7 skipping to change at page 5, line 7
implicit keep. implicit keep.
2.2. "convert" as a test 2.2. "convert" as a test
To simplify testing for supported and successful conversions, the To simplify testing for supported and successful conversions, the
"convert" action can also be used as a test. As such, it will "convert" action can also be used as a test. As such, it will
attempt to perform the requested conversion(s), and will evaluate to attempt to perform the requested conversion(s), and will evaluate to
"false" if and only if at least one conversion failed. The failure "false" if and only if at least one conversion failed. The failure
can be because a conversion was unsupported, or because the data can be because a conversion was unsupported, or because the data
could not be converted (perhaps it had been corrupted in transit, or could not be converted (perhaps it had been corrupted in transit, or
mislabelled at its origin). mislabeled at its origin).
This creates a new type of Sieve action, a "testable action". The This creates a new type of Sieve action, a "testable action". The
usage as a test is exactly the same as for an action, and it doubles usage as a test is exactly the same as for an action, and it doubles
as an action and a test of the action's result at the same time. See as an action and a test of the action's result at the same time. See
Section 3.2 for an example of how this test can be used. Section 3.2 for an example of how this test can be used.
Note that defining this new testable action does not change the Note that defining this new testable action does not change the
definitions of any other actions -- it does not imply that other definitions of any other actions -- it does not imply that other
actions can be used as tests. Future extensions might define other actions can be used as tests. Future extensions might define other
testable actions, but those specifications would be responsible for testable actions, but those specifications would be responsible for
skipping to change at page 8, line 6 skipping to change at page 8, line 6
Security considerations given in IMAP CONVERT [RFC5259] and Sieve Security considerations given in IMAP CONVERT [RFC5259] and Sieve
[RFC5228] are relevant to this document. There are no additional [RFC5228] are relevant to this document. There are no additional
security considerations resulting from combining the two. security considerations resulting from combining the two.
5. IANA Considerations 5. IANA Considerations
IANA is requested to add the following registration to the Sieve IANA is requested to add the following registration to the Sieve
Extensions registry, as defined in RFC 5228: Extensions registry, as defined in RFC 5228:
Capability name: convert Capability name: convert
Description: adds a new tag to the fileinto action that enables Description: adds a new Sieve test and action that enable Sieve
Sieve script to perform a conversion on the message being scripts to perform data conversions on the message being
delivered. delivered.
RFC number: this RFC RFC number: this RFC
Contact address: The Sieve discussion list <sieve@ietf.org> Contact address: The Sieve discussion list <sieve@ietf.org>
6. Acknowledgements 6. Acknowledgements
The authors also want to thank all who have contributed key insight The authors also want to thank all who have contributed key insight
and extensively reviewed and discussed the concepts of CONVERT. and extensively reviewed and discussed the concepts of CONVERT.
7. Normative References 7. Normative References
 End of changes. 6 change blocks. 
8 lines changed or deleted 8 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/