6.0.0-beta1
9/2/25

[#13164] IMP does not recognize ICS attachments on CentOS/RHEL 6
Summary IMP does not recognize ICS attachments on CentOS/RHEL 6
Queue IMP
Queue Version 6.1.7
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester guenter.bartsch (at) sl-rasch (dot) de
Created 05/06/2014 (4137 days ago)
Due
Updated 09/16/2014 (4004 days ago)
Assigned 05/06/2014 (4137 days ago)
Resolved 06/09/2014 (4103 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/16/2014 02:27:33 AM ivan (at) zilic (dot) net Comment #14 Reply to this comment
I have exactly the same versions. Dont know what else could be.

[Show Quoted Text - 10 lines]
09/12/2014 04:38:03 PM Michael Slusarz Comment #13 Reply to this comment
Can you tell me the php and PEAR versionsyou had in the working 
centos installation?
[root@centos ~]# php --version
PHP 5.3.3 (cli) (built: Aug  6 2014 05:54:27)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

PEAR version is irrelevant.  It is a package manager and has nothing 
to do with display code.
09/11/2014 01:25:01 AM ivan (at) zilic (dot) net Comment #12 Reply to this comment
Michael:

Thanks for your answer. I really want to solve this.

Can you tell me the php and PEAR versionsyou had in the working centos 
installation?

Thanks again.

Ivan
Someone who is experiencing this has to track down the underlying cause.

As mentioned previously, I installed CentOS 6.5 and could not 
reproduce on a default setup so there's nothing more us developers 
can do to track this down.
09/11/2014 01:13:41 AM Michael Slusarz Comment #11 Reply to this comment
Someone who is experiencing this has to track down the underlying cause.

As mentioned previously, I installed CentOS 6.5 and could not 
reproduce on a default setup so there's nothing more us developers can 
do to track this down.
09/11/2014 12:38:58 AM ivan (at) zilic (dot) net Comment #10
New Attachment: ics horde.png Download
Reply to this comment
The other image
09/11/2014 12:38:14 AM ivan (at) zilic (dot) net Comment #9
New Attachment: ics horde2.png Download
Reply to this comment
Same thing here. ics files are not shown when received in an e-mail. 
But if I reply to the e-mail, now the ics is displayed correctly.

Attached you will find 2 images showing this. Everything else works 
fineas far as tested, in horde, IMP and kronolith.

  On the same Centos i have a working installation of (horde) 3.3.10, 
IMP H3 (4.3.10) and (kronolith) H3 (2.3.4) . There are no problems 
with ICS files in that installation.

Horde 6 installation was made via PEAR. There are no errors in log


/etc/redhat-release
CentOS release 6.5 (Final)

06/09/2014 06:25:09 PM Michael Slusarz State ⇒ No Feedback
 
05/08/2014 12:52:01 AM Michael Slusarz Comment #8 Reply to this comment
Verified that this works fine on a CentOS 6.5 server with freshly 
installed horde-webmail 5.1.6.
05/07/2014 08:58:37 PM Michael Slusarz Comment #7 Reply to this comment
just to be sure:

[root@mail ~]# cat /var/www/horde/imp/config/mime_drivers.local.php
<?php
$mime_drivers['html']['inline'] = true;
This is irrelevant for displaying the calendar data.

$mime_drivers['itip']['inline'] = true;

is the line that needs to be in there (although it shouldn't be needed 
since itip parts should be displayed inline by default).

I can verify that the sample message attached displays the itip data 
on my installation.

05/06/2014 10:12:31 PM guenter (dot) bartsch (at) sl-rasch (dot) de Comment #6 Reply to this comment
just to be sure:

[root@mail ~]# cat /var/www/horde/imp/config/mime_drivers.local.php
<?php
$mime_drivers['html']['inline'] = true;

05/06/2014 09:52:38 PM guenter (dot) bartsch (at) sl-rasch (dot) de Comment #5 Reply to this comment

[Show Quoted Text - 9 lines]
good.

however, how would I configure that? would that be in

/var/www/horde/imp/config/mime_drivers.php ?

that file is untouched, i.e.


     /* ITIP (iCalendar Transport-Independent Interoperability Protocol)
      * display. */
     'itip' => array(
         'inline' => true,
         'handles' => array(
             'text/calendar',
             'text/x-vcalendar'
         ),
         'icons' => array(
             'default' => 'itip.png'
         ),

         /* How event replies are handled when a user opens the message.
          *   - false: Reply status is never automatically updated; requires
          *            explicit action by the user.
          *   - true: Reply status is always automatically updated.
          *   - Array: An array of domains for which replies are always
          *            automatically updated. All other domains require the
          *            reply status to be explicitly updated by user action. */
         'auto_update_eventreply' => false,

         /* How free/busy publish data is handled when a user opens the
          * message.
          *   - false: Free/busy data is never automatically updated; requires
          *            explicit action by the user.
          *   - true: Free/busy data is always automatically updated.
          *   - Array: An array of domains for which free/busy data is always
          *            automatically updated. All other domains require the
          *            free/busy data to be explicitly updated by user
          *            action. */
         'auto_update_fbpublish' => false,

         /* How free/busy replies are handled when a user opens the message.
          *   - false: Free/busy data is never automatically updated; requires
          *            explicit action by the user.
          *   - true: Free/busy data is always automatically updated.
          *   - Array: An array of domains for which free/busy data is always
          *            automatically updated. All other domains require the
          *            free/busy data to be explicitly updated by user
          *            action. */
         'auto_update_fbreply' => false
     ),





05/06/2014 09:34:42 PM Michael Slusarz Comment #4
State ⇒ Feedback
Priority ⇒ 1. Low
Reply to this comment
This seems to indicate that you simply don't have IMP configured to 
handle itip data on your CentOS system.  It is instead displaying the 
previous alternative (the HTML part).

The Debian screenshot is of a system setup to handle itip (i.e. 
text/calendar) data.

text/calendar data has nothing to do with HTML (libxml2) parsing, so 
this is not the same issue as #13122.
05/06/2014 09:25:00 PM guenter (dot) bartsch (at) sl-rasch (dot) de Comment #3
New Attachment: invitation_from_ox_debian.png Download
Reply to this comment
screenshot of Debian invitation display

05/06/2014 09:24:30 PM guenter (dot) bartsch (at) sl-rasch (dot) de Comment #2
New Attachment: invitation_from_ox_rhel6.png Download
Reply to this comment
screenshot of RHEL 6 invitation display
05/06/2014 09:23:19 PM guenter (dot) bartsch (at) sl-rasch (dot) de Comment #1
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
New Attachment: invite.eml Download
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ IMP does not recognize ICS attachments on CentOS/RHEL 6
Type ⇒ Bug
Reply to this comment
attached invitation email was generated using open-xchange. gmail / OX 
will recognize it, however horde will not on our system - will display 
HTML contents instead.

however, same email sent to a friend who is running horde on latest 
stable debian had no trouble viewing + accepting the invitation, so 
probably this is (besides the strange unicode mail encoding problem I 
reported earlier) another case of Horde vs RHEL 6 / php incompatibility?

Is there anything that could be done to improve this (other than 
waiting for CentOS 7? ;)

thanks,

    guenter

Saved Queries