RFC Errata
RFC 3516, "IMAP4 Binary Content Extension", April 2003
Note: This RFC has been updated by RFC 4466
Source of RFC: IETF - NON WORKING GROUP
Errata ID: 8217
Status: Reported
Type: Technical
Publication Format(s) : TEXT
Reported By: Simon Ser
Date Reported: 2024-12-21
Section 7 says:
msg-att-static =/ "BINARY" section-binary SP (nstring / literal8)
/ "BINARY.SIZE" section-binary SP number
It should say:
msg-att-static =/ "BINARY" section-binary ["<" number ">"] SP (nstring / literal8)
/ "BINARY.SIZE" section-binary SP number
Notes:
Section 4.3 describes the response as:
BINARY<section-binary>[<<number>>]
But the number is missing from the ABNF.
It seems like Dovecot sends the number in the response, and imaptest expects it.
