Bug 194242 - mail/roundcube needs PHP fileinfo extension
Summary: mail/roundcube needs PHP fileinfo extension
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-08 13:55 UTC by Vick Khera
Modified: 2016-06-10 07:12 UTC (History)
1 user (show)

See Also:


Attachments
patch Makefile to add fileinfo extension dependency (398 bytes, patch)
2014-10-08 13:55 UTC, Vick Khera
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vick Khera 2014-10-08 13:55:45 UTC
Created attachment 148095 [details]
patch Makefile to add fileinfo extension dependency

After installing 1.0.3, the update script complains about mime_magic not working. this seems to be due to the PHP fileinfo extension not being installed:

[root@webmail]# bin/update.sh
What version are you upgrading from? Type '?' if you don't know.
?
WARNING: File type detection doesn't work properly!
Please check the 'mime_magic' config option or the finfo functions of PHP and run this script again.
WARNING: Mimetype to file extension mapping doesn't work properly!
Please check the 'mime_types' config option and run this script again.
Executing database schema update.
This instance of Roundcube is up-to-date.
Have fun!

after installing PHP fileinfo extension:

[root@webmail]# bin/update.sh
What version are you upgrading from? Type '?' if you don't know.
?
WARNING: Mimetype to file extension mapping doesn't work properly!
Please check the 'mime_types' config option and run this script again.
Executing database schema update.
This instance of Roundcube is up-to-date.
Have fun!

The mime_types warning I have no idea how to get rid of.
Comment 1 Vick Khera 2014-10-08 13:59:35 UTC
I found the fix to remove the mimetype warning. it was due to a missing config in the roundcube configuration settings.

The other error of needing fileinfo still stands.
Comment 2 John Marino freebsd_committer freebsd_triage 2014-10-08 17:39:44 UTC
This didn't get auto-assigned because the port was listed as www, not mail
Comment 3 rainer 2015-11-24 00:53:36 UTC
It also needs mcrypt and openssl.
Without that, sending mails via starttls does not work.