Roundcube Community Forum

 

[SOLVED]RC 1.2.2 corrupted docx xlsx attachements

Started by malvivent7, November 05, 2016, 09:42:48 AM

Previous topic - Next topic

malvivent7

Hi, my problem is that attachements docx and xlsx format are corrupted when downloaded. Size on screen are smaller than size of the same file when downloaded. My activated plugins are 'emoticons',   'enigma',   'filesystem_attachments',   'jqueryui',   'legacy_browser',   'managesieve',   'newmail_notifier',   'password',   'userinfo',   'vcard_attachments',   'carddav',   'contextmenu', RC version 1.2.2 full version Thanks for helping me

SKaero

So does it work with all the plugins disabled?

malvivent7

Hi thanks for the quick response; i have disabled all plugins and restarted apache2 sadly problem still there. In the Apache log

"GET /?_task=mail&_action=get&_mbox=INBOX&_uid=30312&_part=3&_download=1&_token=wVaC7IIio1vSjL6q1Q7YpXpEU5PNrHxY HTTP/1.1" 200 112597 "https://mail.cgilfe.it/?_task=mail&_caps=pdf%3D1%2Cflash%3D0%2Ctif%3D0&_uid=30312&_mbox=INBOX&_action=show"

size of attachements still differ
is from thunderbird
is from Roundcube


SKaero

Can you attach a broken and correct version of the attachment?

malvivent7

Thanks SKaero, i have finally figured out the problem.... The problem is not on roundcube but in the apache configuration for mod_proxy.
There is a general config with ProxyHtmlEnable On that automaticaly activate mod_xml2enc that apparently corrupt docx xlsx and pptx files. I have focused ProxyHtmlEnable On to the site needed and problem gone...
Now attachement are ok.
Thanks anyway for your help.