Sieve Email Filtering: Detecting Duplicate Deliveries
draft-ietf-appsawg-sieve-duplicate-04
APPSAWG S. Bosch
Internet-Draft May 22, 2014
Intended status: Standards Track
Expires: November 23, 2014
Sieve Email Filtering: Detecting Duplicate Deliveries
draft-ietf-appsawg-sieve-duplicate-04
Abstract
This document defines a new test command "duplicate" for the "Sieve"
email filtering language. This test adds the ability to detect
duplications. The main application for this new test is handling
duplicate deliveries commonly caused by mailing list subscriptions or
redirected mail addresses. The detection is normally performed by
matching the message ID to an internal list of message IDs from
previously delivered messages. For more complex applications, the
"duplicate" test can also use the content of a specific header or
other parts of the message.
Status of this Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on November 23, 2014.
Copyright Notice
Copyright (c) 2014 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
Bosch Expires November 23, 2014 [Page 1]
Internet-Draft Sieve: Detecting Duplicate Deliveries May 2014
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
2. Conventions Used in This Document . . . . . . . . . . . . . . 3
3. Test "duplicate" . . . . . . . . . . . . . . . . . . . . . . . 3
3.1. Arguments ":header" and ":uniqueid" . . . . . . . . . . . 5
3.2. Argument ":handle" . . . . . . . . . . . . . . . . . . . . 6
3.3. Arguments ":seconds" and ":last" . . . . . . . . . . . . . 7
3.4. Interaction with Other Sieve Extensions . . . . . . . . . 8
4. Sieve Capability Strings . . . . . . . . . . . . . . . . . . . 8
5. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . 8
5.2. Example 2 . . . . . . . . . . . . . . . . . . . . . . . . 9
5.3. Example 3 . . . . . . . . . . . . . . . . . . . . . . . . 9
5.4. Example 4 . . . . . . . . . . . . . . . . . . . . . . . . 10
6. Security Considerations . . . . . . . . . . . . . . . . . . . 11
7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 11
8. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 12
9. References . . . . . . . . . . . . . . . . . . . . . . . . . . 12
9.1. Normative References . . . . . . . . . . . . . . . . . . . 12
9.2. Informative References . . . . . . . . . . . . . . . . . . 13
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 13
Bosch Expires November 23, 2014 [Page 2]
Internet-Draft Sieve: Detecting Duplicate Deliveries May 2014
1. Introduction
This document specifies an extension to the Sieve filtering language
defined by RFC 5228 [SIEVE]. It adds a test to track whether or not
a text string was seen before by the delivery agent in an earlier
execution of the Sieve script. This can be used to detect and handle
duplicate message deliveries.
Duplicate deliveries are a common side-effect of being subscribed to
a mailing list. For example, if a member of the list decides to
reply to both the user and the mailing list itself, the user will
often get one copy of the message directly and another through the
mailing list. Also, if someone cross-posts over several mailing
lists to which the user is subscribed, the user will likely receive a
copy from each of those lists. In another scenario, the user has
several redirected mail addresses all pointing to his main mail
Show full document text