The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Horde Groupware Webmail Edition

Discussion in 'E-mail Discussions' started by davidfuzzylime, Oct 25, 2010.

  1. davidfuzzylime

    Joined:
    Oct 25, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I read in the release notes for 11.28 that Horde Groupware Webmail Edition is now a part of the system. My question's probably fairly daft - but how do I access it? I've upgraded to 11.28 and checked the version number of Horde installed, which is showing as 1.2.7.cp3 - but if I log in at https://mydomain.com:2096/ then I still just get the old-style Horde. Any suggestions for what I'm doing wrong?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
  3. davidfuzzylime

    Joined:
    Oct 25, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Ah cool, so it's more that it's supported than anything else. Thanks!
     
  4. johnburk

    johnburk Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    16
    Thank you cPanelTristan

    I was also surprised when upgrading to 11.28

    The new horde in cPanel seemed like a step back. No HTML email viewing support. Problems with attachments, no threat support and many more missing options.

    So I am going to start customizing it to get the basic core features back.
     
  5. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Viewing HTML messages in Horde Groupware Webmail Edition

    Please keep in mind that it's the latest version of Horde available. If there is a specific feature desired or symptom being experienced I recommend searching the official Horde web site to determine if a resolution is available: The Horde Project and Horde Groupware Webmail Edition

    I verified that in Horde it is possible to view an e-mail in HTML format, both inline or via a link to click. For the method where a link can be clicked to view HTML, please check the following preference that may be set after logging-into Webmail: Horde >> Mail >> Options >> Message Options >> Message Viewing >> Where do you want to display links to alternative formats of a message?

    To display HTML messages in-line, it may require a configuration adjustment to Horde, as noted by the Horde IMP "INSTALL" documentation, (located at "/usr/local/cpanel/base/horde/imp/docs/INSTALL"): * By default, IMP is configured to NOT display text/html message parts inline. This is done for various security reasons. If you would like to see text/html parts inline, you must make this change in ``imp/config/mime_drivers.php``::
    Code:
    $mime_drivers['imp']['html']['inline'] = true;
    Reference: IMP Documentation - Installing IMP - Configuring IMP - IMP Configuration Pointers

    When searching the Horde web site I found the following Wiki entry that offers additional clarification and more verbose information: Wiki :: FAQ/Admin/Config - Horde Administrator's FAQ - IMP configuration - Can IMP show attachments or HTML inline?
    Here is the location to both files mentioned in the Horde documentation:
    Code:
    /usr/local/cpanel/base/horde/config/mime_drivers.php
    /usr/local/cpanel/base/horde/imp/config/mime_drivers.php
    Here is what the aforementioned entries look like in a stock-default configuration:
    • /usr/local/cpanel/base/horde/config/mime_drivers.php
      Code:
      /**
       * HTML text driver settings
       */
      $mime_drivers['horde']['html'] = array(
          // NOTE: Inline HTML viewing is DISABLED by default.
          'inline' => false,
          'handles' => array(
              'text/html'
          ),
          'icons' => array(
              'default' => 'html.png'
          ),
          // Check for phishing exploits?
          'phishing_check' => true
      );
    • /usr/local/cpanel/base/horde/imp/config/mime_drivers.php
      Code:
      /**
       * HTML driver settings
       */
      $mime_drivers['imp']['html'] = array(
          'inline' => false,
          'handles' => array(
              'text/html'
          ),
          'icons' => array(
              'default' => 'html.png'
          ),
          /* If you don't want to display the link to open the HTML content in a
           * separate window, set the following to false. */
          'external' => true,
          /* Run 'tidy' on all HTML output? This requires at least version 2.0 of the
           * PECL 'tidy' extension to be installed on your system. */
          'tidy' => false,
          /* Check for phishing exploits? */
          'phishing_check' => true
      );
     
  6. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Switching to a different UI theme in Horde Groupware Webmail Edition

    If a new appearance for Horde is desired, I would consider switching to a different theme, such as "silver" instead of "bluewhite" -- this can be adjusted server-wide via the following configuration file:
    Code:
    /usr/local/cpanel/base/horde/config/prefs.php
    Here is the applicable stock-default entry that may be modified to switch to a different theme:
    Code:
    // UI theme
    $_prefs['theme'] = array(
        'value' => 'bluewhite',
        'locked' => false,
        'shared' => true,
        'type' => 'select',
        'desc' => _("Select your color scheme.")
    );
    I set Horde to use the "silver" theme, which is included by default; the updated configuration entry is shown below:
    Code:
    // UI theme
    $_prefs['theme'] = array(
        'value' => 'silver',
        'locked' => false,
        'shared' => true,
        'type' => 'select',
        'desc' => _("Select your color scheme.")
    );
     
  7. johnburk

    johnburk Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    16
    Thank you Don! Although it is not part of the cPanel support, it is very nice of you to take time to for the help.
     
  8. visskiss

    visskiss Member

    Joined:
    Jun 17, 2008
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the info. I don't think changes made to that file 'prefs.php' would stick through an upgrade, unless you provided an overlay tarball.

    What I'd like to know is how to activate the sharing features...
     
  9. yayyo

    yayyo Well-Known Member

    Joined:
    Jul 10, 2004
    Messages:
    61
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    London, UK
    cPanel Access Level:
    Root Administrator
    Thank you Don and Tristan,

    I set : 'inline' => true, in both /usr/local/cpanel/base/horde/imp/config/mime_drivers.php and /usr/local/cpanel/base/horde/config/mime_drivers.php

    It worked for a few days, but then (as hinted at by visskiss) my changes seem to have gottten overwritten (reverted) by an update.

    Does anybody know, what is the best way to make those edits "stick" ?

    TIA
    Marty
     
  10. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    We provide documentation on this here: Customizing Horde Groupware Webmail Edition

    A simple example where we want to retain cookie handling:

    1. Create the following directory structure:
    mkdir -p /root/horde/config

    2. Copy /usr/local/cpanel/base/horde/config/conf.php.in to the /root/horde/config directory you made in step 1

    3. Edit /root/horde/config/conf.php.in to change $conf['session']['use_only_cookies'] from true to false.

    4. Create a tarball of the directory structure made in step 1, name the tarball overlay.tar.gz

    Code:
    cd /root
    tar czvf overlay.tar.gz horde
    
    5. Copy overlay.tar.gz to /var/cpanel/horde on your cPanel server

    6. Execute /usr/local/cpanel/bin/update-horde You should see output like the following:
    Code:
    $ ./bin/update-horde 
    Updating Horde 1.2.8.cp4
    tar -x -p -z --no-same-owner -f /usr/local/cpanel/src/3rdparty/gpl/horde-webmail-1.2.8.tar.gz
    patching file config/conf.php.in
    patching file dimp/config/conf.php
    patching file imp/config/conf.php
    patching file imp/config/servers.php.in
    patching file imp/lib/Compose.php
    patching file imp/lib/IMAP.php
    patching file imp/templates/login/login.html
    patching file imp/test.php
    patching file ingo/config/conf.php
    patching file ingo/test.php
    patching file kronolith/config/conf.php
    patching file kronolith/test.php
    patching file lib/Horde/Kolab/IMAP/test.php
    patching file lib/Horde/Kolab/Server/test.php
    patching file lib/Horde/Prefs.php
    patching file lib/Horde/Registry.php
    patching file mnemo/config/conf.php
    patching file scripts/sql/groupware.mysql.sql
    patching file templates/login/login.inc
    patching file test.php
    patching file turba/config/conf.php
    patching file turba/test.php
    Using Horde overlay (using local version)tar -x -p -f /var/cpanel/horde/overlay.tar.gz -C /usr/local/cpanel/base
    ...
    
    7. Your cookie setting should now be preserved
     
  11. johnburk

    johnburk Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    16
    Thank you for the detailed 7 steps.

    How can this be done when 2 files need to be edit. For example

    Code:
    /usr/local/cpanel/base/horde/config/mime_drivers.php
    /usr/local/cpanel/base/horde/imp/config/mime_drivers.php
    On step 2. I get stuck because both files have the same name. So how can I keep both settings for the next update?
     
  12. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    The names are the same, but the paths are different. Merging your request with my example, in step 1 you would do:

    Code:
    # mkdir -p /root/horde/config
    # mkdir -p /root/horde/imp/config
    
    Then you would copy/create the files in the appropriate directory within /root/horde/

    With the overlay approach, you need to mirror as much of the /usr/local/cpanel/base/horde directory structure as necessary in your working overlay directory (/root/horde in my example) to retain your desired configuration.
     
  13. johnburk

    johnburk Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    16
    Thank you. I did not realize it was that simple.
     
  14. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    You're welcome.
     
  15. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    I have a customer that would like to use the new 'shared calendar' feature of Horde Groupware. They can't figure out how to do this, and so I logged into my own webmail account and sure enough, I'm lost. I went to Horde's website, and I cannot find any documentation on how to actually use the Groupware feature.

    Do I have to do something to "have" Groupware?
    Are there any end-user docs? (must be somewhere, I am obviously looking in the wrong place)

    Thanks!

    - Scott
     
  16. johnburk

    johnburk Well-Known Member

    Joined:
    Jun 23, 2006
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    16
    An upgrade from cpanel 11.30.x to 11.32.x has replaced al previous horde settings! If you have made any changes to horde (such as enable html emails) you have to redo it. This is my experiance on a few servers.
     
    #16 johnburk, Apr 10, 2012
    Last edited: Apr 10, 2012
  17. supp

    supp Registered

    Joined:
    Apr 10, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    I had this problem. Seems to be fixed now, thanks.
     
Loading...

Share This Page