421 4.3.0 deliver: Trying to unput wrong character

Ken Murchison murch at fastmail.com
Mon Jul 24 09:05:15 EDT 2017


What is the Content-Transfer-Encoding of the email?  Was the message 
Base64 encoded, or is the PNG included as raw binary data?



On 07/24/2017 01:19 AM, Mikhail T. wrote:
>
> My procmail is configured to feed incoming mail into deliver:
>
>     :0wr
>     |sed 1d | /opt/cyrus/bin/deliver mi
>
> Recently I received an e-mail consisting of a PNG-file -- not an 
> attachment, the body of the e-mail had content-type image/png. That 
> message ended up in my /var/mail/mi mailbox -- because deliver would 
> not accept it:
>
>     421 4.3.0 deliver: Trying to unput wrong character
>
> Trying to upload the same message using mbox2imap, I get:
>
>     mbox2imap: (alert) IMAP protocol error
>     mbox2imap: (alert) Protocol response: NO
>     mbox2imap: (alert) Diagnostic message: ['Message contains NUL
>     characters']
>
> Why is deliver saying this, and what can I do to be able to receive 
> such mail through Cyrus the way I was able to receive them through 
> regular Unix mail for years? Thank you!
>
>     -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/b3709d48/attachment.html>


More information about the Info-cyrus mailing list