421 4.3.0 deliver: Trying to unput wrong character

Mikhail T. mi+cyrus at aldan.algebra.com
Mon Jul 24 12:55:19 EDT 2017


On 24.07.2017 12:34, Merlin Hartley wrote:
> 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.
> This may be useful: 
> http://info-cyrus.andrew.cmu.narkive.com/Rro4Nn9M/554-message-contains-nul-characters
The link talks about stripping the offending character -- which would 
break the content in some cases (including mine).

Maybe, it is time deliver 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 /var/mail/mboxes can?

    -mi

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


More information about the Info-cyrus mailing list