<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 24.07.2017 12:34, Merlin Hartley
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:93BA8293-6C84-4686-B57D-F4C0CD66CFD3@mrc-mbu.cam.ac.uk">
<div class="">In my Exim configuration I have some code which
strips the NUL characters from externally received messages and
prohibits my local users from submitting messages which contain
them - you could probably come-up with a similar thing for
sendmail.</div>
<div class="">This may be useful: <a
href="http://info-cyrus.andrew.cmu.narkive.com/Rro4Nn9M/554-message-contains-nul-characters"
class="" moz-do-not-send="true">http://info-cyrus.andrew.cmu.narkive.com/Rro4Nn9M/554-message-contains-nul-characters</a></div>
</blockquote>
The link talks about stripping the offending character -- which
would break the content in some cases (including mine).<br>
<br>
Maybe, it is time <tt>deliver</tt> is modified to do the right
thing -- and re-encode if it really has to? Or, perhaps, imapd can
do the re-encoding on the fly so that the images on the disk can
keep these characters the way <tt>/var/mail/mboxes</tt> can?<br>
<blockquote>-mi<br>
</blockquote>
</body>
</html>