Horde Groupware 5.1.1 inline question

vivient

Member
Aug 26, 2013
13
0
1
cPanel Access Level
Root Administrator
Hello,

I am running WHM 11.42.0 (build 20) with Horde Groupware 5.1.1.

I know there is a security risk with viewing messages with HTML inline but a lot of folks are not happy with the way it's displayed inside Horde.

My question is: Is there a way you can make this easier to turn on or off from WHM control panel so we don't have to keep editing the file every time cPanel updates?

Thank you,
Pete
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Is there a specific value in a configuration file that you want modified after each cPanel update? If so, you could review the instructions from this post:

Modifying RoundCube Configuration Value after upcp

That post is intended for Roundcube, but you could apply the same principle to a Horde configuration file.

Thank you.
 

vivient

Member
Aug 26, 2013
13
0
1
cPanel Access Level
Root Administrator
Hello,

It is specific for the file mime_drivers.php located in /usr/local/cpanel/base/horde/imp/config/

The only one that needs modified to change the following directive to true:

/* HTML driver settings */
'html' => array(
/* NOTE: Inline HTML display is turned OFF by default. */
'inline' => true,

I don't think I am the only one who has to change this one file after every update. I can't see having to go through and creating your own custom package just for one little edit. But it would be very convenient if this was an option to turn on or off inside tweak setting when you choose to use Horde.

Thanks,
Pete
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Thank you for opening a feature request. That's the best way to see a change in the default configuration used in Horde. The workaround I referenced is a viable alternative in the meantime.

Thank you.
 

ethical

Well-Known Member
Apr 7, 2009
97
8
58
Thank you for opening a feature request. That's the best way to see a change in the default configuration used in Horde. The workaround I referenced is a viable alternative in the meantime.

Thank you.
so the entry should look like this then for horde
Code:
replace "'inline' => false," "'inline' => true," -- /usr/local/cpanel/base/horde/imp/config/mime_drivers.php
also this is for inline viewing but what about when a user opens the message properly, is there a way to just set that for html?

Thanks
 

vivient

Member
Aug 26, 2013
13
0
1
cPanel Access Level
Root Administrator
so the entry should look like this then for horde
Code:
replace "'inline' => false," "'inline' => true," -- /usr/local/cpanel/base/horde/imp/config/mime_drivers.php
Yes
also this is for inline viewing but what about when a user opens the message properly, is there a way to just set that for html?

Thanks
If you receive html in your email horde will let you view it in a separate window
 

ethical

Well-Known Member
Apr 7, 2009
97
8
58
If you receive html in your email horde will let you view it in a separate window
mine did not show html when i opened a message until i set the above setting, your saying that it should have?

Thanks
John