RFC 5235 PROPOSED STANDARD EMAIL · SIEVE · SPAM

Sieve spamtest: Sieve Email Filtering: Spamtest and Virustest Extensions

Portable Sieve tests that read a spam or virus score instead of a scanner's own header format.

On rfc-editor.org ↗
PUBLISHED
January 2008
AUTHORS
C. Daboo
STREAM
IETF
BUILDS ON
RFC 3685 — Sieve spamtest
SPAMTEST RANGE
0 to 10
SPAMTEST :PERCENT RANGE
0 to 100
VIRUSTEST RANGE
0 to 5
CAPABILITY NAMES
spamtest, spamtestplus, virustest
REQUIRED COMPANION
Sieve relational extension
DOI
10.17487/RFC5235

RFC text

Contents
Original text · RFC Editor View on rfc-editor.org ↗
Network Working Group                                           C. Daboo
Request for Comments: 5235                                  January 2008
Obsoletes: 3685
Category: Standards Track


        Sieve Email Filtering: Spamtest and Virustest Extensions

Status of This Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Abstract

   The Sieve email filtering language "spamtest", "spamtestplus", and
   "virustest" extensions permit users to use simple, portable commands
   for spam and virus tests on email messages.  Each extension provides
   a new test using matches against numeric "scores".  It is the
   responsibility of the underlying Sieve implementation to do the
   actual checks that result in proper input to the tests.

Table of Contents

   1. Introduction and Overview .......................................2
   2. Conventions Used in This Document ...............................2
   3. Sieve Extensions ................................................3
      3.1. General Considerations .....................................3
      3.2. Test spamtest ..............................................3
           3.2.1. spamtest without :percent Argument ..................4
           3.2.2. spamtest with :percent Argument .....................5
      3.3. Test virustest .............................................7
   4. Security Considerations .........................................9
   5. IANA Considerations .............................................9
      5.1. spamtest Registration ......................................9
      5.2. virustest Registration ....................................10
      5.3. spamtestplus Registration .................................10
   6. References .....................................................10
      6.1. Normative References ......................................10
      6.2. Informative References ....................................11
   Appendix A. Acknowledgments .......................................12
   Appendix B. Important Changes since RFC 3685 ......................12

1.  Introduction and Overview

   Sieve scripts are frequently being used to do spam and virus
   filtering either based on implicit script tests (e.g., tests for
   "black-listed" senders directly encoded in the Sieve script), or via
   testing messages modified by some external spam or virus checker that
   handled the message prior to Sieve.  The use of third-party spam and
   virus checker tools poses a problem since each tool has its own way
   of indicating the result of its checks.  These usually take the form
   of a header added to the message, the content of which indicates the
   status using some syntax defined by the particular tool.  Each user
   has to then create their own Sieve scripts to match the contents of
   these headers to do filtering.  This requires the script to stay in
   synchronization with the third-party tool as it gets updated or
   perhaps replaced with another.  Thus, scripts become tied to specific
   environments and lose portability.

   The purpose of this document is to introduce two Sieve tests that can
   be used to implement "generic" tests for spam and viruses in messages
   processed via Sieve scripts.  The spam and virus checks themselves
   are handled by the underlying Sieve implementation in whatever manner
   is appropriate, so that the Sieve spam and virus test commands can be
   used in a portable way.

   In order to do numeric comparisons against the returned strings,
   server implementations MUST also support the Sieve relational
   [RFC5231] extension, in addition to the extensions described here.
   All examples below assume the relational extension is present.

2.  Conventions Used in This Document

   Conventions for notations are as in [RFC5228] Section 1.1.

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC2119].

   The term "spam" is used in this document to refer to unsolicited or
   unwanted email messages.  This document does not attempt to define
   what exactly constitutes spam, or how it should be identified, or
   what actions should be taken when detected.

   The term "virus" is used in this document to refer to any type of
   message whose content can cause malicious damage.  This document does
   not attempt to define what exactly constitutes a virus, or how it
   should be identified, or what actions should be taken when detected.

3.  Sieve Extensions

3.1.  General Considerations

   The "spamtest" and "virustest" tests described below evaluate the
   results of implementation-specific spam and virus checks in a
   portable way.  The implementation may, for example, check for third-
   party spam tool headers and determine how those map into the way the
   test commands are used.  To do this, the underlying Sieve
   implementation provides a normalized result string as one of the
   inputs to each test command.  The normalized result string is
   considered to be the value on the left-hand side of the test, and the
   comparison values given in the test command are considered to be on
   the right-hand side.

   The normalized result starts with a digit string, with its numeric
   value within the range of values used by the specific test,
   indicating the severity of spam or viruses in a message or whether
   any tests were done at all.  This may optionally be followed by a
   space (%x20) character and arbitrary text, or in one specific case a
   single keyword is returned.  The numeric value can be compared to
   specific values using the Sieve relational [RFC5231] extension in
   conjunction with the "i;ascii-numeric" comparator [RFC4790], which
   will test for the presence of a numeric value at the start of the
   string, ignoring any additional text in the string.  The optional
   text can be used to carry implementation-specific details about the
   tests and descriptive comments about the result.  Tests can be done
   using standard string comparators against this text if it helps to
   refine behavior; however, this will break portability of the script
   as the text will likely be specific to a particular implementation.

   In addition, the Sieve relational [RFC5231] ":count" match type can
   be used to determine if the underlying implementation actually did a
   test.  If the underlying spam or virus test was done, the ":count" of
   the normalized result will return the numeric value "1", whilst if
   the test was not done, or the Sieve implementation could not
   determine if a test was done or not done, the ":count" value will be
   "0" (zero).

3.2.  Test spamtest

           Usage:    spamtest [":percent"] [COMPARATOR] [MATCH-TYPE]
                     <value: string>

   Sieve implementations that implement the "spamtest" test use an
   identifier of either "spamtest" or "spamtestplus" for use with the
   capability mechanism.

   If the ":percent" argument is not used with any spamtest test, then
   one or both of "spamtest" or "spamtestplus" capability identifiers
   MUST be present.

   If the ":percent" argument is used with any spamtest test, then the
   "spamtestplus" capability identifier MUST be present.  Sieve
   implementations MUST return an error if the ":percent" argument is
   used and "spamtestplus" is not specified.

   In the interests of brevity and clarity, scripts SHOULD NOT specify
   both "spamtestplus" and "spamtest" capability identifiers together.

   The "spamtest" test evaluates to true if the normalized spamtest
   result matches the value.  The type of match is specified by the
   optional match argument, which defaults to ":is" if not specified.

3.2.1.  spamtest without :percent Argument

   When the ":percent" argument is not present in the "spamtest" test,
   the normalized result string provided for the left-hand side of the
   test starts with a numeric value in the range "0" (zero) through
   "10", with meanings summarized below:

   +----------+--------------------------------------------------------+
   | spamtest | interpretation                                         |
   | value    |                                                        |
   +----------+--------------------------------------------------------+
   | 0        | message was not tested for spam, or Sieve could not    |
   |          | determine whether any test was done                    |
   |          |                                                        |
   | 1        | message was tested and is clear of spam                |
   |          |                                                        |
   | 2 - 9    | message was tested and may contain spam; a higher      |
   |          | number indicates a greater likelihood of spam          |
   |          |                                                        |
   | 10       | message was tested and definitely contains spam        |
   +----------+--------------------------------------------------------+

   The underlying Sieve implementation will map whatever spam check is
   done into this numeric range, as appropriate.

   Examples:

           require ["spamtest", "fileinto", "relational", "comparator-
                    i;ascii-numeric"];

           if spamtest :value "eq" :comparator "i;ascii-numeric" "0"
           {
               fileinto "INBOX.unclassified";
           }
           elsif spamtest :value "ge" :comparator "i;ascii-numeric" "3"
           {
               fileinto "INBOX.spam-trap";
           }

   In this example, any message that has not passed through a spam check
   tool will be filed into the mailbox "INBOX.unclassified".  Any
   message with a normalized result value greater than or equal to "3"
   is filed into a mailbox called "INBOX.spam-trap" in the user's
   mailstore.

3.2.2.  spamtest with :percent Argument

   When the ":percent" argument is present in the "spamtest" test, the
   normalized result string provided for the left-hand side of the test
   starts with a numeric value in the range "0" (zero) through "100",
   with meanings summarized below:

   +----------+-------------------------------------------------------+
   | spamtest | interpretation                                        |
   | value    |                                                       |
   +----------+-------------------------------------------------------+
   | 0        | message was tested and is clear of spam, or was not   |
   |          | tested for spam, or Sieve could not determine whether |
   |          | any test was done                                     |
   |          |                                                       |
   | 1 - 99   | message was tested and may contain spam; a higher     |
   |          | percentage indicates a greater likelihood of spam     |
   |          |                                                       |
   | 100      | message was tested and definitely contains spam       |
   +----------+-------------------------------------------------------+

   The underlying Sieve implementation will map whatever spam check is
   done into the numeric range, as appropriate.

   To determine whether or not the message was tested for spam, two
   options can be used:

   a.  a test with or without the ":percent" argument and ":count" match
       type, testing for the value "0" as described in Section 3.1.

   b.  a test without the ":percent" argument using the ":value" match
       type, testing for the normalized result value "0" as described in
       Section 3.2.1.

   Examples:

           require ["spamtestplus", "fileinto", "relational",
                    "comparator-i;ascii-numeric"];

           if spamtest :value "eq"
                       :comparator "i;ascii-numeric" "0"
           {
               fileinto "INBOX.unclassified";
           }
           elsif spamtest :percent :value "eq"
                          :comparator "i;ascii-numeric" "0"
           {
               fileinto "INBOX.not-spam";
           }
           elsif spamtest :percent :value "lt"
                          :comparator "i;ascii-numeric" "37"
           {
               fileinto "INBOX.spam-trap";
           }
           else
           {
               discard;
           }

   In this example, any message that has not passed through a spam check
   tool will be filed into the mailbox "INBOX.unclassified".  Any
   message that is classified as definitely not containing spam
   (normalized result value "0") will be filed into the mailbox
   "INBOX.not-spam".  Any message with a normalized result value less
   than "37" is filed into a mailbox called "INBOX.spam-trap" in the
   user's mailstore.  Any other normalized result value will result in
   the message being discarded.

   Alternatively, the Sieve relational [RFC5231] ":count" match type can
   be used:

   Examples:

           if spamtest :percent :count "eq"
                       :comparator "i;ascii-numeric" "0"
           {
               fileinto "INBOX.unclassified";
           }
           elsif spamtest :percent :value "eq"
                          :comparator "i;ascii-numeric" "0"
           {
               fileinto "INBOX.not-spam";
           }
           elsif spamtest :percent :value "lt"
                          :comparator "i;ascii-numeric" "37"
           {
               fileinto "INBOX.spam-trap";
           }
           else
           {
               discard;
           }

   This example will result in exactly the same behavior as the previous
   one.

3.3.  Test virustest

           Usage:    virustest [COMPARATOR] [MATCH-TYPE]
                     <value: string>

   Sieve implementations that implement the "virustest" test have an
   identifier of "virustest" for use with the capability mechanism.

   The "virustest" test evaluates to true if the normalized result
   string matches the value.  The type of match is specified by the
   optional match argument, which defaults to ":is" if not specified.

   The normalized result string provided for the left side of the test
   starts with a numeric value in the range "0" (zero) through "5", with
   meanings summarized below:

   +-----------+-------------------------------------------------------+
   | virustest | interpretation                                        |
   | value     |                                                       |
   +-----------+-------------------------------------------------------+
   | 0         | message was not tested for viruses, or Sieve could    |
   |           | not determine whether any test was done               |
   |           |                                                       |
   | 1         | message was tested and contains no known viruses      |
   |           |                                                       |
   | 2         | message was tested and contained a known virus that   |
   |           | was replaced with harmless content                    |
   |           |                                                       |
   | 3         | message was tested and contained a known virus that   |
   |           | was "cured" such that it is now harmless              |
   |           |                                                       |
   | 4         | message was tested and possibly contains a known      |
   |           | virus                                                 |
   |           |                                                       |
   | 5         | message was tested and definitely contains a known    |
   |           | virus                                                 |
   +-----------+-------------------------------------------------------+

   The underlying Sieve implementation will map whatever virus checks
   are done into this numeric range, as appropriate.  If the message has
   not been categorized by any virus checking tools, then the virustest
   result is "0".

   Example:

           require ["virustest", "fileinto", "relational", "comparator-
                    i;ascii-numeric"];

           if virustest :value "eq" :comparator "i;ascii-numeric" "0"
           {
               fileinto "INBOX.unclassified";
           }
           if virustest :value "eq" :comparator "i;ascii-numeric" "4"
           {
               fileinto "INBOX.quarantine";
           }
           elsif virustest :value "eq" :comparator "i;ascii-numeric" "5"
           {
               discard;
           }

   In this example, any message that has not passed through a virus
   check tool will be filed into the mailbox "INBOX.unclassified".  Any
   message with a normalized result value equal to "4" is filed into a
   mailbox called "INBOX.quarantine" in the user's mailstore.  Any
   message with a normalized result value equal to "5" is discarded
   (removed) and not delivered to the user's mailstore.

4.  Security Considerations

   Sieve implementations SHOULD ensure that "spamtest" and "virustest"
   tests only report spam and virus test results for messages that
   actually have gone through a legitimate spam or virus check process.
   In particular, if such checks rely on the addition and subsequent
   checking of private header fields, it is the responsibility of the
   implementation to ensure that such headers cannot be spoofed by the
   sender or intermediary and thereby prevent the implementation from
   being tricked into returning the wrong result for the test.

   Server administrators must ensure that the virus checking tools are
   kept up to date, to provide reasonable protection for users using the
   "virustest" test.  Users should be made aware of the fact that the
   "virustest" test does not provide a 100% reliable way to remove all
   viruses, and they should continue to exercise caution when dealing
   with messages of unknown content and origin.

   Beyond that, the "spamtest" and "virustest" extensions do not raise
   any security considerations that are not present in the base
   [RFC5228] protocol, and these issues are discussed in [RFC5228].

5.  IANA Considerations

   The following templates specify the IANA registration of the Sieve
   extensions specified in this document.  The registrations for
   "spamtest" and "virustest" replace those from [RFC3685]:

5.1.  spamtest Registration

      To: iana@iana.org
      Subject: Registration of new Sieve extension

      Capability name: spamtest
      Description:     Provides a test to check for varying likelihood of
                       an email message being spam.
      RFC number:      RFC 5235
      Contact address: The Sieve discussion list <ietf-mta-filters@imc.org>

   This information has been added to the list of Sieve extensions given
   on http://www.iana.org/assignments/sieve-extensions.

5.2.  virustest Registration

      To: iana@iana.org
      Subject: Registration of new Sieve extension

      Capability name: virustest
      Description:     Provides a test to check for varying likelihood of
                       there being malicious content in an email message.
      RFC number:      RFC 5235
      Contact address: The Sieve discussion list <ietf-mta-filters@imc.org>

   This information has been added to the list of Sieve extensions given
   on http://www.iana.org/assignments/sieve-extensions.

5.3.  spamtestplus Registration

      To: iana@iana.org
      Subject: Registration of new Sieve extension

      Capability name: spamtestplus
      Description:     Provides a test to check for varying likelihood of
                       an email message being spam, possibly using a
                       percentage range.
      RFC number:      RFC 5235
      Contact address: The Sieve discussion list <ietf-mta-filters@imc.org>

   This information has been added to the list of Sieve extensions given
   on http://www.iana.org/assignments/sieve-extensions.

6.  References

6.1.  Normative References

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC4790]  Newman, C., Duerst, M., and A. Gulbrandsen, "Internet
              Application Protocol Collation Registry", RFC 4790, March
              2007.

   [RFC5228]  Guenther, P., Ed., and T. Showalter, Ed., "Sieve: An Email
              Filtering Language", RFC 5228, January 2008.

   [RFC5231]  Segmuller, W. and B. Leiba, "Sieve Email Filtering:
              Relational Extension", RFC 5231, January 2008.

6.2.  Informative References

   [RFC3685]  Daboo, C., "SIEVE Email Filtering: Spamtest and VirusTest
              Extensions", RFC 3685, February 2004.

Appendix A.  Acknowledgments

   Thanks to Mark E. Mallett, Tony Hansen, Jutta Degener, Ned Freed,
   Ashish Gawarikar, Alexey Melnikov, Nigel Swinson, and Aaron Stone for
   comments and corrections.

Appendix B.  Important Changes since RFC 3685

   Listed below are some of the major changes from the previous
   specification [RFC3685], which this one supersedes.

   1. A ":percent" argument has been added to the "spamtest" test adding
      a new 0-100 numerical range for test results.

   2. A "spamtestplus" requires item has been added to indicate the
      presence of this extension in scripts.

   3. The "count" match type from [RFC5231] can now be used to determine
      whether or not a message was tested.

   4. Clarified that "test not done" also means "Sieve system could not
      determine if a test was done".

Author's Address

   Cyrus Daboo

   EMail: cyrus@daboo.name

Full Copyright Statement

   Copyright (C) The IETF Trust (2008).

   This document is subject to the rights, licenses and restrictions
   contained in BCP 78, and except as set forth therein, the authors
   retain all their rights.

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND
   THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS
   OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
   THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Intellectual Property

   The IETF takes no position regarding the validity or scope of any
   Intellectual Property Rights or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; nor does it represent that it has
   made any independent effort to identify any such rights.  Information
   on the procedures with respect to rights in RFC documents can be
   found in BCP 78 and BCP 79.

   Copies of IPR disclosures made to the IETF Secretariat and any
   assurances of licenses to be made available, or the result of an
   attempt made to obtain a general license or permission for the use of
   such proprietary rights by implementers or users of this
   specification can be obtained from the IETF on-line IPR repository at
   http://www.ietf.org/ipr.

   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights that may cover technology that may be required to implement
   this standard.  Please address the information to the IETF at
   ietf-ipr@ietf.org.

AI ELI5

On this page
PROBLEMEvery spam or virus checker reports its result in its own header syntax, so each user's Sieve script ends up tied to one tool and stops being portable.
MECHANISMThe spamtest and virustest tests compare a normalized numeric score, supplied by the Sieve implementation, against values in the script, using the relational extension.
WHY IT MATTERSScripts can filter on a generic score, such as 0 to 10 for spam or 0 to 5 for viruses. This RFC obsoletes RFC 3685 and adds a 0 to 100 percent scale.

§1Why Generic Spam and Virus Tests

Sieve scripts are often used to filter spam and viruses. Usually a third-party checker handles the message first and adds a header whose syntax only that tool understands. Each user then writes a script that matches those headers, so the script has to stay in step with the tool and loses portability.

RFC 5235 introduces generic tests instead. The spam and virus checks themselves are done by the underlying Sieve implementation in whatever way suits it, and the script only sees a normalized result. Implementations MUST also support the Sieve relational extension (RFC 5231), because the tests rely on numeric comparison.

Every spam checker speaks its own language. These tests are a translator, so your filter rules work with any checker.

§2The Normalized Result String

Both tests compare a normalized result string on the left-hand side with the value given in the script on the right. The string starts with a digit string whose numeric value falls in the range for that test. It may be followed by a space and arbitrary text, which can carry implementation-specific detail. Matching against that text with ordinary string comparators is possible, but it breaks portability.

Numbers are compared with the relational extension and the i;ascii-numeric comparator from RFC 4790, which looks only at the number at the start of the string. The :count match type tells a script whether any test was done at all: it returns 1 if the check ran and 0 if it did not, or if the implementation could not tell.

The RFC deliberately does not define what counts as spam or a virus, how to detect them, or what to do when one is found.

The checker writes a number on each email, maybe with a little note after it. Your rule only looks at the number.

§3.2The spamtest Test

The usage is spamtest [":percent"] [COMPARATOR] [MATCH-TYPE] <value: string>. It is true when the normalized result matches the value, and the match type defaults to :is. The capability identifier is either spamtest or spamtestplus.

Without :percent, the score runs from 0 to 10. A 0 means the message was not tested, or Sieve could not tell. A 1 means it was tested and is clear of spam. Values 2 to 9 mean it may contain spam, with higher numbers meaning greater likelihood, and 10 means it definitely contains spam.

With :percent, the score runs from 0 to 100. Here 0 covers both clear of spam and not tested, 1 to 99 means it may be spam, and 100 means definitely spam. Using :percent requires the spamtestplus capability, and an implementation MUST return an error otherwise. Scripts SHOULD NOT name both spamtest and spamtestplus. To find out whether a message was tested when using percent, use :count or a plain :value test for 0.

The score is like a spiciness rating. A low number means mild, a high number means very spicy, and zero can mean nobody tasted it.

SPAMTEST SCALES WITH AND WITHOUT :PERCENT
FormRangeCapabilityDefinitely spam
spamtest0 to 10spamtest or spamtestplus10
spamtest :percent THIS RFC0 to 100spamtestplus100

§3.2.1Spamtest in a Script

The RFC's first example files untested mail and likely spam into separate mailboxes. A message with result 0 goes to INBOX.unclassified, and one with a value of 3 or more goes to INBOX.spam-trap.

The percent example uses spamtestplus and chains four outcomes. Untested mail goes to INBOX.unclassified, a percent score of 0 goes to INBOX.not-spam, anything below 37 goes to INBOX.spam-trap, and everything else is discarded. The RFC shows the same behavior written with :count for the first check.

It is like sorting mail into piles: not checked, safe, maybe junk, and straight to the bin.

§3.3The virustest Test

The usage is virustest [COMPARATOR] [MATCH-TYPE] <value: string>, with the capability identifier virustest. It is true when the normalized result matches the value, defaulting to :is. The score runs from 0 to 5.

  • 0: not tested, or Sieve could not tell. This is also the result when no virus tool has categorized the message.
  • 1: tested and contains no known viruses.
  • 2: contained a known virus that was replaced with harmless content.
  • 3: contained a known virus that was cured so it is now harmless.
  • 4: possibly contains a known virus.
  • 5: definitely contains a known virus.

The example files untested mail into INBOX.unclassified, a result of 4 into INBOX.quarantine, and a result of 5 is discarded.

The virus score is a traffic light with extra steps: zero is not checked, one is clean, and five means definitely bad.

VIRUSTEST RESULT VALUES (RFC 5235)
  • 0Not tested — Not tested, or Sieve could not tell.
  • 1Clean — Tested and contains no known viruses.
  • 2Replaced — Known virus replaced with harmless content.
  • 3Cured — Known virus cured so it is now harmless.
  • 4Possible — Possibly contains a known virus.
  • 5Definite — Definitely contains a known virus.

§4Security Considerations

Implementations SHOULD report spam and virus results only for messages that really went through a legitimate check. If the check depends on private header fields, the implementation must make sure a sender or intermediary cannot spoof them and trick the test into the wrong answer.

Administrators must keep virus checking tools up to date. Users should know that virustest is not a 100% reliable way to remove viruses and should stay careful with messages of unknown content and origin. Beyond this, the extensions raise no issues that are not already covered in RFC 5228.

A score is only trustworthy if nobody can fake the stamp. And even a good virus check can miss something, so be careful with strange emails.

§5Changes Since RFC 3685

RFC 5235 supersedes RFC 3685. The major changes are:

  • A :percent argument gives spamtest a new 0 to 100 range.
  • A spamtestplus requirement identifier indicates that extension in scripts.
  • The :count match type from RFC 5231 can now tell whether a message was tested.
  • It is clarified that "test not done" also covers the Sieve system being unable to tell whether a test was done.

For IANA, the registrations for spamtest and virustest replace those from RFC 3685, and spamtestplus is registered as a new capability name.

This version added a 0 to 100 scale, a new name to ask for it, and a clearer way to ask whether the email was checked at all.

§8References