Author Topic: Roundcube 0.9.5 - attachment corrupted ?  (Read 4599 times)

Offline fiorenzaspazioweb

  • Newbie
  • *
  • Posts: 4
Roundcube 0.9.5 - attachment corrupted ?
« on: January 27, 2014, 09:48:13 AM »
Hi there,
I'm experiencing an issue with attachment which aren't PDF or text file, this is what happens:
when I receive a message with image attachment or office document (.xls, .doc, ods, .odt and .zip), I cannot see them, even if I download them.

What could be the problem ?
In roundcube log file I can see:  finfo_open(): Failed to load magic database at '/usr/share/misc/magic', but file exists and is specified in rouncube config file.

Regards

Fiorenza

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Roundcube 0.9.5 - attachment corrupted ?
« Reply #1 on: January 27, 2014, 10:58:57 AM »
Make sure the permissions on the magic database are correct.

Offline fiorenzaspazioweb

  • Newbie
  • *
  • Posts: 4
Re: Roundcube 0.9.5 - attachment corrupted ?
« Reply #2 on: January 28, 2014, 04:19:07 AM »
Thanks.
I verified: permissions on the file are correct. Now I bypassed the problem not specifying the file in the RC configuration file.
The problem remains: attachment type isn't recognized correctly (PDF excluded).
The OS is OpenSuSE 12.3.

Regards

Fiorenza

Offline fiorenzaspazioweb

  • Newbie
  • *
  • Posts: 4
Re: Roundcube 0.9.5 - attachment corrupted ?
« Reply #3 on: January 28, 2014, 06:38:17 AM »
Hi,
we discovered that an empty line is inserted on top the file (before the header of mime declaration).
This behaviour involves calendar RSS too.

Does someone experienced this issue too ?
Any suggestion ?

Regards

Fiorenza

Offline fiorenzaspazioweb

  • Newbie
  • *
  • Posts: 4
Re: Roundcube 0.9.5 - attachment corrupted ?
« Reply #4 on: January 28, 2014, 06:44:10 AM »
We solved the problem, there was an empty line on a file we modified.

Regards

Fiorenza Meini