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.

Installing other WebMail apps

Discussion in 'E-mail Discussions' started by mrskippy, Aug 12, 2006.

  1. mrskippy

    mrskippy Active Member

    Joined:
    Aug 11, 2006
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Only have SquirrelMail available in my cPanel setup. Is there a way to get Horde or neomail on there too? Please advise on how to install these, so they will be an option.
     
  2. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    Do you have the root access on the server? Neomail is no more supported as cPanel has shifted to Maildir but Horde and Squirrel both are still supported by cPanel. The horde can be enabled from WHM > Tweak Settings.
     
  3. Heritz

    Heritz Well-Known Member

    Joined:
    Aug 12, 2006
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Hi, what if I want to install a "custom" webmail client? I mean, I really want my clients to have a better looking client. I've seen some pretty cool clients in the net, so I am thinking about buying one an install it.

    Other option would be to "edit the squirrelmail code" to make it look better or installing plugins. So, what should I do to install one new script? or how can I access to the files stored in 3rdparty/squirrelmail?

    SSH? FTP?

    Thanks in advance!
     
  4. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    If you want to install any custom email client then you can definitely do so. You can install it in any directory and add an alias in the webserver configuration file so that it can be accessed directly for example www.anydomain.com/email
     
  5. airoid

    airoid Member

    Joined:
    Dec 14, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Is there anyway to install a custom webmail app and still use anydomain.com/webmail? If I do this, can the users still update their password, manage autoresponders, and manage forwarding options like they can currently?
     
  6. Heritz

    Heritz Well-Known Member

    Joined:
    Aug 12, 2006
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Yes actually you can. Some webmail clients like RoundCube (the best in the meantime IMO) does have an specific installation instructions for cPanel, so you will still be able to change password, manage aging, and all that stuff.

    I really dont care about those options, so I just installed RoundCube in usr/local/roundcube and I modified the .htaccess to redirect the domain/webmail to usr/local/roundcube

    Pretty easy IMO. Just hang around one day with the stuff and you will find it very interesting. If you need more info, just let me know. Have fun! ;)
     
  7. damoura

    damoura Member

    Joined:
    Feb 10, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Heritz,

    Which modification you did in the .htaccess file ?
     
  8. Heritz

    Heritz Well-Known Member

    Joined:
    Aug 12, 2006
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    Well, go to /usr/local/apache/conf/httpd.conf and find this:

    ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi


    Comment those lines like this:

    #ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi
    #ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi


    And add the following like after those lines:

    Alias /webmail /usr/local/roundcube/

    Regards,

    Danny
     
  9. damoura

    damoura Member

    Joined:
    Feb 10, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I tried to do that with nutsmail (you know) , and receive 500 internal server error, you know wich is the problem ? im my apache log i find this error:

    (13)Permission denied: exec of /usr/local/cpanel/base/nutsmail/index.php failed
    [Fri Sep 22 16:42:06 2006] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /usr/local/cpanel/base/nutsmail/index.php


    All filies en directorys in nutsmail/ owner is cpanel and group is cpanel
     
  10. Heritz

    Heritz Well-Known Member

    Joined:
    Aug 12, 2006
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    I think that you need special thing to run a script under the cpanel folder. I am not sure at all, I would try uploading the nutsmail outside that folder, because when you run any cpanel update maybe the updater will delete that folder.

    Re-upload the script to /usr/local/nutsmail and try again. Just IMHO. ;)
     
  11. Heritz

    Heritz Well-Known Member

    Joined:
    Aug 12, 2006
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Nice to hear man, have fun!
     
  12. damoura

    damoura Member

    Joined:
    Feb 10, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I put nutsmail in /usr/local, I think that problem occurs because of the PHPSuexec, when he this disabled, nutsmail work !
     
  13. trout21

    trout21 Well-Known Member

    Joined:
    Apr 2, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    Sorry to drag this one up again.

    I too am wondering as to whether there is a way to install another web app as has been detailed here and then be able to operate it with phpsuexec running.

    I have previously attempted this in the past but just end up with 500 errors when phpsuexec is used. It works fine with open_basedir alone.

    Thank you for any reply.
     
  14. chaloupe

    chaloupe Well-Known Member

    Joined:
    Mar 17, 2006
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Dieppe, NB, Canada
    Any one can describe how to install a webmail app with PHPSuExec and php_base.. enable?
     
  15. Heritz

    Heritz Well-Known Member

    Joined:
    Aug 12, 2006
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Wow that's a good question since PHP wont let run the webmail app because of the UID/GID thing. :confused:
     
  16. chaloupe

    chaloupe Well-Known Member

    Joined:
    Mar 17, 2006
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Dieppe, NB, Canada
    Yes I know. I've bought a template for squirrelmail but was not sure how to install it also since it's really not the same thing as the plain one from default...

    This is probably the worst part of cPanel for my client, the webmail application. :(
     
  17. sivadc

    sivadc Active Member

    Joined:
    Dec 10, 2003
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    I just installed dwmail on one of my servers (phpsuexec is enabled). I was able to make it accessible system-wide by changing the uid/gid to root/wheel and installing it in /usr/local/cpanel/base/.
     
    #17 sivadc, May 22, 2007
    Last edited: May 23, 2007
  18. rligg

    rligg Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    16
    Care to elaborate? I have doen the same and get internal server errors. Thanks.
     
Loading...

Share This Page