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

----
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

Reply via email to