Bug 194242

Summary: mail/roundcube needs PHP fileinfo extension
Product: Ports & Packages Reporter: Vick Khera <vivek>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Many People CC: rainer
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch Makefile to add fileinfo extension dependency none

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.