New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UNKNOWN-CTE Invalid data in MIME part #1186
Comments
CTE (common table expression) is mostly an SQL error. Do you have more details about the IMAP setup? |
I use Mailden.net to host my emails (even though Yunohost provides such a service and I might have related apps on my server) so I don't know about the IMAP setup (sorry if I was not clear in the description about that, I don't know if an IMAP daemon is used as a client or server). The roundcube client I used is the one provided by Mailden too, and I don't have any issue with it. Is there a command I can launch to debug further, instead of the UI? |
Based on https://datatracker.ietf.org/doc/rfc9051/ I don't think |
To get more info you can enable debug mode in application.ini |
Would the logs below help to understand the mime issue?
As I said, using Roundcube I can perfectly download the file. |
YES!
Open if ($this->Settings->disable_list_status) {
$aList = \array_diff($aList, ['LIST-STATUS']);
}
// Disable BINARY for issue #1186
$aList = \array_diff($aList, ['BINARY']);
if (8 > PHP_INT_SIZE) {
$aList = \array_diff($aList, ['CONDSTORE']);
} For whatever reason your IMAP server can't decode the attachment and send it binary. |
That worked! Should I contact my email provider? Would you know by any chance which details I should provide for them to fix the attachment decoding? |
FWIW Roundcube seems to also have a workaround for this kind of emails: roundcube/roundcubemail#6383 |
Describe the bug
Hi,
when trying to download an attachment from an email I sometimes get a blank page and an error in the logs:
UNKNOWN-CTE Invalid data in MIME part
.The attachment icon and filename are correct and it only happens for some attachments.
I tried with Roundcube and I could download the attachment just fine. This might come from my configuration but I am unable to debug more. Could you help?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The PDF file is shown/downloaded.
Please complete the following information:
Debug/logging information
Additional context
The app installed in YunoHost through the yunohost snappymail package.
Add any other context about the problem here.
Here are the raw response headers from Roundcube (not installed on my server):
The text was updated successfully, but these errors were encountered: