Author Topic: Mimetype to file extension mapping: NOT OK on IIS 8.5  (Read 8480 times)

Offline maximvd

  • Newbie
  • *
  • Posts: 2
Mimetype to file extension mapping: NOT OK on IIS 8.5
« on: November 29, 2014, 12:51:50 PM »
I recently installed Roundcube on my server.
Sending and receiving mails works fine but when I installed Roundcube I've got the follow error: Mimetype to file extension mapping: NOT OK
The server is running MS Server 2012 R2 with IIS 8.5 as webserver and hmailserver as mailserver.
Do I need to change something in the config or do I need to add Mimetypes to IIS?


Offline maximvd

  • Newbie
  • *
  • Posts: 2
Re: Mimetype to file extension mapping: NOT OK on IIS 8.5
« Reply #2 on: December 02, 2014, 01:21:55 PM »
This might help you: https://myroundcube.com/how-to/windows-server-2012/installing-roundcube-webmail#mime-types

Thanks, this fixed it for me.
Not sure why I hadn't found the page while searching for the error.

Offline mishoddt

  • Jr. Member
  • **
  • Posts: 11
Re: Mimetype to file extension mapping: NOT OK on IIS 8.5
« Reply #3 on: August 13, 2015, 12:07:35 PM »
Hi,

Will be someone so kind to give the mime.types configuration instructions here, as the above link is not working anymore.

Thanks!

Offline mishoddt

  • Jr. Member
  • **
  • Posts: 11
Re: Mimetype to file extension mapping: NOT OK on IIS 8.5
« Reply #4 on: August 13, 2015, 12:32:01 PM »
I figured it out. The "mime.types" file location has to be given as absolute path in the "config.inc.php" configuration file, example below:

$config['mime_types'] = 'c:\Inetpub\wwwroot\webmail\mime.types';