----Messaggio originale---- Da: thomas@roundcube.net Data: 05/08/2014 20.07 A: "absolutely_free@libero.it"absolutely_free@libero.it, "Roundcube Users
mailing list"users@lists.roundcube.net
Ogg: Re: [RCU] Issue after upgrade
...
This is a webserver issue where Roundcube is unable to find the mime.types mapping file in one of the standard locations. Thus find or download the file and add a $config['mime_types'] entry to /var/www/webmail.domain.it/config/config.inc.php containing the absolute path to the mime.types file.
Hi Thomas, thank you very much for your reply. So, I added this line:
$config['mime_types'] = '/etc/nginx/mime.types';
to my config.inc.php file.
This is the file shipped with default nginxi's rpm, so I'll hope it's ok.
The problem is: when I click on a PDF attachment, I don't see it in the "preview window". I see message "loading data" but it never completes. In your opinion is it a mime related issue?
Regards
On Tue, Aug 5, 2014 at 9:39 PM, absolutely_free@libero.it absolutely_free@libero.it wrote:
----Messaggio originale---- Da: thomas@roundcube.net Data: 05/08/2014 20.07 A: "absolutely_free@libero.it"absolutely_free@libero.it, "Roundcube Users
mailing list"users@lists.roundcube.net
Ogg: Re: [RCU] Issue after upgrade
...
This is a webserver issue where Roundcube is unable to find the mime.types mapping file in one of the standard locations. Thus find or download the file and add a $config['mime_types'] entry to /var/www/webmail.domain.it/config/config.inc.php containing the absolute path to the mime.types file.
Hi Thomas, thank you very much for your reply. So, I added this line:
$config['mime_types'] = '/etc/nginx/mime.types';
to my config.inc.php file.
This is the file shipped with default nginxi's rpm, so I'll hope it's ok.
Thanks for the info. Maybe we could add this path to the default locations which are checked.
The problem is: when I click on a PDF attachment, I don't see it in the "preview window". I see message "loading data" but it never completes. In your opinion is it a mime related issue?
I don't think so. The mime.types are mostly used to validate the filename extension with the actual file type and show warnings if attachments pretend to be something else which may indicate a scam or hacking attempt.
Please check your error logs, they should reveal some info about the failed attachment loading. Here's described where to find logs and turn on debugging option if necessary: http://trac.roundcube.net/wiki/Howto_ReportIssues
Kind regards, Thomas