421 4.3.0 deliver: Trying to unput wrong character

Ken Murchison murch at fastmail.com
Mon Jul 24 14:42:43 EDT 2017


If the body of the message contains a NUL character, the the CTE MUST be 
"binary" NOT "8bit".

Cyrus WILL transcode a properly formatted MIME message on ingest, if 
necessary.


On 07/24/2017 12:14 PM, Mikhail T. wrote:
> On 24.07.2017 10:41, Merlin Hartley wrote:
>> NUL characters are not permitted in e-mails …
>> https://helpdesk.pscs.co.uk/690163-Data-stream-contained-NUL-character
>>
>> As the RFC for IMAP states:
>> https://tools.ietf.org/html/rfc3501#section-9
>> (3) The ASCII NUL character, %x00, MUST NOT be used at any time.
> But the message did go through sendmail...
>
> Ken Murchison wrote:
>> What is the Content-Transfer-Encoding of the email? Was the message 
>> Base64 encoded, or is the PNG included as raw binary data? 
> Raw... Here are the full headers (the first line -- the From_ -- is 
> removed by sed before feeding the rest into deliver):
>
>     From mi at EXAMPLE.com Mon Jul 24 00:53:00 2017
>     Received: from narawntapu.narawntapu (localhost [127.0.0.1])
>             by narawntapu.narawntapu (8.15.2/8.15.2) with ESMTPS id
>     v6O4r05T003160
>             (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384
>     bits=256 verify=NO)
>             for <mi at narawntapu.narawntapu>; Mon, 24 Jul 2017 00:53:00
>     -0400 (EDT)
>             (envelope-from mi at narawntapu.narawntapu)
>     Received: (from mi at localhost)
>             by narawntapu.narawntapu (8.15.2/8.15.2/Submit) id
>     v6O4r0c9003159;
>             Mon, 24 Jul 2017 00:53:00 -0400 (EDT)
>             (envelope-from mi)
>     Date: Mon, 24 Jul 2017 00:53:00 -0400 (EDT)
>     Message-Id: <201707240453.v6O4r0c9003159 at narawntapu.narawntapu>
>     From: Cron Daemon <mi at EXAMPLE.com>
>     To: mi at narawntapu.narawntapu
>     Mime-Version: 1.0
>     Content-Type: image/png; charset=binary
>     Content-Transfer-Encoding: 8bit
>     Subject: Cron <mi at narawntapu> cat foo.png
>
> Should sendmail have re-encoded with something other than 8bit? I 
> don't like doing that, because it increases the filesizes to no 
> obvious benefit... Thanks!
>
>     -mi
>
>
>
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

-- 
Kenneth Murchison
Cyrus Development Team
FastMail Pty Ltd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20170724/b04db97a/attachment.html>


More information about the Info-cyrus mailing list