Page 3 of 3 FirstFirst 123
Results 81 to 118 of 118
  1. #81
    Join Date
    Aug 2005
    Location
    Earth
    Posts
    326
    so basically the whole problem is login_auth seem its not there at all
    No, i am not the guy from the simpson's, what's his name again?

  2. #82
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,908
    Quote Originally Posted by orlando_myers View Post
    Cannot write to `login_auth.zip' (Permission denied).
    Ah right, the shell script chattrs the directory to prevent cPanel from overwriting it during routine updates.

    Try this:

    chattr -R -i /usr/local/cpanel/base/3rdparty/squirrelmail/

    cd /usr/local/cpanel/base/3rdparty/squirrelmail/plugins
    wget http://www.failover.ca/login_auth.zip
    unzip login_auth.zip
    Yeah, the login_auth module missing from the latest versions of NutsMail appears to be the problem here... I'll have to redo the shell script to download it, or at least ask the NutsMail team to put it back. It's essential to how everything operates with the cPanel integration.

  3. #83
    Join Date
    Aug 2005
    Location
    Earth
    Posts
    326
    I take it i need to turn on back the chattr on the directory so i am doing that
    No, i am not the guy from the simpson's, what's his name again?

  4. #84
    Join Date
    Aug 2005
    Location
    Earth
    Posts
    326
    Ok now seem i dont have to login twice now thats good, when i click the squirrel mail then nuts mail comes up.

    Here are the things i am wondering though, are there any interesting modules thats not installed by default thats good. Also anyway to have just the squirrel mail login and not the horde and squirrel mail also anyway to just go to www.domain.com/webmail and just get the nutsmail login
    No, i am not the guy from the simpson's, what's his name again?

  5. #85
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,908
    Quote Originally Posted by orlando_myers View Post
    Ok now seem i dont have to login twice now thats good, when i click the squirrel mail then nuts mail comes up.

    Here are the things i am wondering though, are there any interesting modules thats not installed by default thats good. Also anyway to have just the squirrel mail login and not the horde and squirrel mail also anyway to just go to www.domain.com/webmail and just get the nutsmail login
    I don't know of any "interesting" plugins off hand as most clients are pleased with what NutsMail comes bundled with. If you take a look at the following link, you can see what is available:

    http://www.squirrelmail.org/plugins.php

    Keep in mind that some of these plugins are old and no longer working, and some could be very tricky to install. SquirrelMail, while widely used around the world, could use some 'freshness' and new additions...

    As for your second question, yes if you install NutsMail under one of your websites and configure it via the default NutsMail instructions, you can access it via a specific URL. I don't believe /webmail or /mail will work, as that is global to Apache because of cPanel... but you could call it something else.

    One more thing, in order to prevent cPanel from overwriting your NutsMail installation run the following:

    chattr -R +i /usr/local/cpanel/base/3rdparty/squirrelmail/

  6. #86
    Join Date
    Aug 2005
    Location
    Earth
    Posts
    326

  7. #87
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,908

  8. #88
    Hi, for me the WYSIWG editor is not working with cpanel 11, everything else is working fine.

  9. #89

    *

    Quote Originally Posted by blacke28 View Post
    Hi, for me the WYSIWG editor is not working with cpanel 11, everything else is working fine.
    It's working now...

  10. #90
    Join Date
    Mar 2005
    Location
    Wisconsin
    Posts
    37
    Hi -

    I just wanted to say that I was able to follow the instructions here and get everything working perfectly with cPanel 11. I purchased the x-Graphite skin with server installation, but I never heard back from them about the install and decided to just do it myself.

    Your instructions were very easy to understand for someone who knows next to nothing about interfacing with the server via command prompt. Once I actually got up the nerve to try, it took less than a minute to install and confirm working. The only part I got confused about was where I should put the nutsmail.sh file...but I just uploaded it to the same location as the skin archive and modified the path from your instructions for calling the file.

    To work around the problem of their new skins not having the login_auth plugin, I just added it to the skin archive within the plugin directory before uploading/installing (thanks for providing that login_auth.zip file).

    Anyways, I just wanted to how much I appreciate you posting this info. I was getting impatient waiting for them to install it for me and it was much easier than I thought it would be.

  11. #91
    I also bought Nutsmail, but one thing I found is that you can only use one them, if it is installed globally on a VPS and a resaler wants their own graphic on the login page can this be done? or does it only use the main graphic that is assigned in the setup file when you first set it up, the only way I saw around this is installation per domain. Like with RVSkin, a reseller ABC Company can have their name in there and their own headers, and all their clients see ABC Company , but ABC could be obtaining reseller services from XYZ thanks in advance for any help with this

    Tom

  12. #92
    Join Date
    Feb 2005
    Location
    India
    Posts
    1,048
    Im scared of doing this all over again. Had past issues..and had major headaches..>I would be extremely happy if someone can have the first post of the thread totally updated with the entire step by step process, a small FAQ / troubleshooting guide or something or just start a new POST called "Updated" and explain everything since the first thread/post is really old.

  13. #93
    Join Date
    Mar 2005
    Location
    Wisconsin
    Posts
    37
    Quote Originally Posted by fremont View Post
    Im scared of doing this all over again. Had past issues..and had major headaches..>I would be extremely happy if someone can have the first post of the thread totally updated with the entire step by step process, a small FAQ / troubleshooting guide or something or just start a new POST called "Updated" and explain everything since the first thread/post is really old.
    I understand your concern. I'd purchased one of their older skins a couple of years back and tried installing on a client site (not globally), it ended up overloading the server so my hosting provider had to disable it.

    Now I have a dedicated server and was hopeful that their newer skins were coded better.

    The instructions at the beginning of this post were last updated in August 2007, so they're pretty recent. Originally I think the post contained an alternate set of instructions for installing Nutsmail side-by-side SquirrelMail (instead of an outright replacement). He states in one of the threads that those instructions were removed because it was buggy and too many people were having problems.

    After reading through this entire thread, these are the exact steps I took to replace SquirrelMail with Nutsmail (written for people, like me, who know nothing about shell scripts, SSH or command line administration):

    1. Purchased & downloaded Nutsmail x-Graphite skin
    (My exact file was 1.4.11_NM-10.X_Graphite.tgz)

    2. Downloaded Pat H's login_auth.zip
    (needed because the newer nutsmail skins is missing this plugin)

    3. Unzipped login_auth.zip, which gives you the login_auth folder & files

    4. Used 7-zip to open my 1.4.11_NM-10.X_Graphite.tgz archive, browsed to the nutsmail plugins folder and simply drag/dropped the login_auth folder to it
    (this adds it to the archive .tgz file)

    5. Copied the entire contents of Pat H's shell script at the start of this thread and pasted it into a text file that I renamed to nutsmail.sh

    6. Uploaded the 1.4.11_NM-10.X_Graphite.tgz and newly created nutsmail.sh to the server using CuteFTP Pro connected via SHH2. I placed it in /home , but I don't think it matters as long as you know the path.

    7. Connected to my server vis SSH using the PuTTy client

    8. After logging in, entered:
    cp /usr/local/cpanel/base/webmaillogin.cgi /usr/local/cpanel/base/webmaillogin.cgi.bak
    (this creates a backup of your webmaillogin.cgi file)

    9. Next, I entered:
    sh /home/nutsmail.sh
    (this calls the .sh file. Modify the /home/ path if you put it somewhere else)

    10. When prompted to enter the location of the nutsmail file, I entered:
    /home/1.4.11_NM-10.X_Graphite.tgz and hit enter
    (modify the name of the .tgz to whatever skin version you have. If you're smarter than me, you'll rename it to something easier to remember before uploading)

    11. It will run through unpacking & installing the Nutsmail skin. When finished, a confirmation message appears.

    That was it. Afterwards, I logged into cPanel and accessed SquirrelMail to ensure it was working.

    I imagine it depends on your particular server setup, but I didn't receive any errors or experience any issues following the steps above. I have a CentOS 4.3 system running a standard installation of WHM/cPanel 11 that was setup for me by Platinum Server Management.

    When I go to cPanel's webmail area, I still see the regular squirrelMail webmail icon - but it opens to the Nutsmail theme when I click on it, which is all I wanted. The nutsmail skin looks a million times better than the default SquirrelMail.

  14. #94
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,908
    Quote Originally Posted by tarzanna View Post
    When I go to cPanel's webmail area, I still see the regular squirrelMail webmail icon - but it opens to the Nutsmail theme when I click on it, which is all I wanted. The nutsmail skin looks a million times better than the default SquirrelMail.
    Thank you for your kind words, earlier in this thread.

    I've been pretty busy lately, but I hope to have the shell script updated as soon as possible to make it more user friendly. For the most part everything works, but it has to run 100% correctly the first time or it could cause problems which is something the update will address.

    Just one thing, if you want to prevent cPanel from overwriting NutsMail with the original SquirrelMail run the following:

    chattr -R +i /usr/local/cpanel/base/3rdparty/squirrelmail/

    That will prevent any changes to the squirrelmail (NutsMail) directory during nightly cPanel updates, and in the event that you need to reverse that command just run the following:

    chattr -R -i /usr/local/cpanel/base/3rdparty/squirrelmail/

  15. #95

    Excellent Work!!

    I am an total Newbie when it comes to cPanel and this HOWTO really helped to make short work of what appeared at first glance to be a monumental project. Hats off to Pat H.

    You wouldn't happen to have a similiar tutorial available for Roundcube?

  16. #96
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    11,516
    There is a pretty thorough one on roundcube here
    WHMCS Guru - WHMCS addons, management, support and more.
    WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
    Linux Problems? WHMCS Issues? +1-866-546-8914 (linux-14) or @whmcsguru on twitter!

  17. #97
    Quote Originally Posted by BonsaiRack View Post
    I have found the solution to my login problem.

    I copied /usr/local/cpanel/base/3rdparty/squirrelmail.cpanel/plugins/login_auth/

    to

    /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/

    And it is now login without asking twice for identification.
    Hi Bonsai,
    I just installed NutsMail serverwide on a Cpanel 11 server and it's working fine. However, I get prompted to login twice. I do not see the path you have mentioned above. /usr/local/cpanel/base/3rdparty/squirrelmail.cpanel/plugins/login_auth/

    My OS is CentOS 4.5. Any Suggestions to prevent this annoying multiple logins? Thanks in advance!

    Robby

  18. #98
    Hi BonsaiRack,
    OK. I have copied the files by using the command

    cp -r /usr/local/cpanel/base/3rdparty/squirrelmail.old/plugins/login_auth/* /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/

    But I still get prompted to login twice.

    My OS is CentOS 4.5. Any Suggestions to prevent this annoying multiple logins? Thanks in advance!

    Robby

  19. #99
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,908
    Quote Originally Posted by netbasiks View Post
    My OS is CentOS 4.5. Any Suggestions to prevent this annoying multiple logins? Thanks in advance!

    Robby
    Download:
    http://www.failover.ca/login_auth.zip

    Extract login_auth.zip to:
    /usr/local/cpanel/base/3rdparty/squirrelmail/plugins

    If that doesn't work, run the following and post the output here:

    ls -la /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/login_auth

  20. #100
    Join Date
    Jan 2006
    Location
    Western New York
    Posts
    86
    The plugin that is included with the Nutsmail package is called login_auto and not login_auth is this the cause of these problems with dual login. If so can one just rename login_auto to login_auth?

  21. #101
    Join Date
    Jan 2006
    Location
    Western New York
    Posts
    86
    Pat,

    Just installed NM via your script - worked perfectly. Thank you.

    Previously I had NM installed in its own directory and had it server wide with an apache alias of /mail but when I set my VPS for the open_base security tweak it obviously broke my install. I was looking to replace the stock cPanel install of SM and ran across your thread here. Thank you for your hard work on providing this and also supporting it - that is above the call of duty.

    My install works fine with the existing login_auth that was in the sm plugin directory. Did not need to rename the Nutsmail plugin login_auto to login_auth.

  22. #102
    Quote Originally Posted by Pat H View Post
    Download:
    http://www.failover.ca/login_auth.zip

    Extract login_auth.zip to:
    /usr/local/cpanel/base/3rdparty/squirrelmail/plugins

    If that doesn't work, run the following and post the output here:

    ls -la /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/login_auth
    total 56
    drwxr-xr-x 2 cpanel cpanel 4096 Mar 27 2006 .
    drwxr-xr-x 36 cpanel cpanel 4096 May 11 2007 ..
    -rw-r--r-- 1 cpanel cpanel 15131 Mar 27 2006 COPYING
    -rw-r--r-- 1 cpanel cpanel 8908 Mar 27 2006 functions.php
    -rw-r--r-- 1 cpanel cpanel 470 Mar 27 2006 index.php
    -rw-r--r-- 1 cpanel cpanel 686 Mar 27 2006 INSTALL
    -rw-r--r-- 1 cpanel cpanel 2119 Mar 27 2006 README
    -rw-r--r-- 1 cpanel cpanel 1101 Mar 27 2006 setup.php
    -rw-r--r-- 1 cpanel cpanel 31 Mar 27 2006 version

  23. #103
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,908
    If the login_auth script is present, then there's no reason it should be forcing you to login twice. I have a few suggestions, but first I need the output from the following command:

    ls -la /usr/local/cpanel/base/3rdparty/

    (I still haven't had time to update the original script to make it full proof, but it has not been forgotten and it will be updated ... eventually!)

  24. #104
    Quote Originally Posted by Pat H View Post
    If the login_auth script is present, then there's no reason it should be forcing you to login twice. I have a few suggestions, but first I need the output from the following command:

    ls -la /usr/local/cpanel/base/3rdparty/

    (I still haven't had time to update the original script to make it full proof, but it has not been forgotten and it will be updated ... eventually!)
    total 264
    drwxr-xr-x 8 root root 4096 Feb 19 19:47 .
    drwxr-xr-x 20 root root 4096 Feb 20 13:26 ..
    drwxr-xr-x 18 cpanel cpanel 4096 Nov 20 14:27 bluehive
    -rw-r--r-- 1 root root 107494 Feb 8 21:22 .cpanelsync
    -rw-r--r-- 1 root root 116805 Feb 20 13:27 .cpanelsync.md5s
    drwxr-xr-x 10 cpanel cpanel 4096 Feb 20 13:27 phpMyAdmin
    lrwxrwxrwx 1 500 500 11 Jan 18 16:35 phpMyAdminRR -> phpMyAdmin/
    drwxr-xr-x 11 cpanel cpanel 4096 Jan 18 16:35 phpPgAdmin
    lrwxrwxrwx 1 root root 8 Feb 19 19:39 squirrelmail -> bluehive
    drwxr-xr-x 17 cpanel cpanel 4096 Feb 19 19:42 squirrelmail.old
    drwxr-xr-x 3 root root 4096 Jan 18 16:35 WysiwygPro
    drwxr-xr-x 2 root root 4096 Jan 18 16:35 WysiwygPro-docs

  25. #105
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,908
    I have a feeling your symlink (SquirrelMail -> BlueHive) didn't allow my script to work correctly, so I would try the following:

    cd /usr/local/cpanel/base/3rdparty/
    rm squirrelmail
    mv bluehive squirrelmail.nutsmail
    mv squirrelmail.old squirrelmail

    cd squirrelmail/plugins
    wget http://www.failover.ca/login_auth.zip
    unzip login_auth.zip
    Run my shell script again (first page of this thread) and make sure you give the exact location of your BlueHive.tgz archive and let it run. Assuming no errors were present, BlueHive (NutsMail) should be installed without forcing you to login twice.
    Last edited by Patrick; 02-22-2008 at 05:55 PM.

  26. #106
    Join Date
    Dec 2003
    Location
    Montreal
    Posts
    213

    Unhappy

    I installed using the .sh script. I can login and can see the skin. I can receive emails but i cannot send!

    I get:
    Message not sent. Server replied:

    Authentication required
    530 Relaying not allowed (please enable smtp authentication on your email client)

    Please any help would be greatly appreciated!!!
    http://www.sellwebhost.com
    Web Hosting and Domain Names
    24/7 Technical support

  27. #107
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,908
    Quote Originally Posted by ramystyle View Post
    530 Relaying not allowed (please enable smtp authentication on your email client)
    Have you made any changes to the NutsMail config.php file?

    Open the following file:

    /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php

    Double check that the following are set correctly:

    $domain = $_SERVER['SERVER_NAME'];

    $useSendmail = false;


    $smtpServerAddress = 'localhost';

  28. #108
    Hi Pat,
    Thanks for the reply. I will try this over the weekend. I am getting the following error frequently:

    ERROR Preference file, ..[email protected], could not be opened. Contact your system administrator to resolve this issue.

    If I were to reinstall NutsMail using your script, would it take care of this error as well? Thanks!

    Robby

    Quote Originally Posted by Pat H View Post
    I have a feeling your symlink (SquirrelMail -> BlueHive) didn't allow my script to work correctly, so I would try the following:



    Run my shell script again (first page of this thread) and make sure you give the exact location of your BlueHive.tgz archive and let it run. Assuming no errors were present, BlueHive (NutsMail) should be installed without forcing you to login twice.

  29. #109
    Quote Originally Posted by Pat H View Post
    I have a feeling your symlink (SquirrelMail -> BlueHive) didn't allow my script to work correctly, so I would try the following:

    Run my shell script again (first page of this thread) and make sure you give the exact location of your BlueHive.tgz archive and let it run. Assuming no errors were present, BlueHive (NutsMail) should be installed without forcing you to login twice.
    Hi Pat,
    When I try to run your commands, I get the following error:

    [[email protected] 3rdparty]# rm squirrelmail
    rm: remove symbolic link `squirrelmail'? y
    rm: cannot remove `squirrelmail': Permission denied

    I am logged in as root, and so should have the right to delete this folder. Please help. Thanks!

  30. #110
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,908
    Quote Originally Posted by netbasiks View Post
    rm: cannot remove `squirrelmail': Permission denied

    I am logged in as root, and so should have the right to delete this folder.
    Run the following first:

    chattr -R -i /usr/local/cpanel/base/3rdparty/squirrelmail/
    Then run the following commands:

    cd /usr/local/cpanel/base/3rdparty/
    rm squirrelmail
    mv bluehive squirrelmail.nutsmail
    mv squirrelmail.old squirrelmail

    cd squirrelmail/plugins
    wget http://www.failover.ca/login_auth.zip
    unzip login_auth.zip
    Then run the original shell script (first page) and make sure you specify the exact path to your BlueHive.tgz archive. Assuming no errors are present during the installation, that should hopefully fix both the duplicate login and the preference error you have been experiencing.

  31. #111
    Hi Pat,
    Thanks a bunch for this awesome script, and your very helpful and prompt responses to my questions.

    I successfully uninstalled and reinstalled nutsmail, and the installation went through without any errors.

    So, I assume that my clients will not get any of the "preference" errors anymore. Also, I no longer need to login twice!

    Thanks again!
    Last edited by netbasiks; 03-02-2008 at 02:27 AM.

  32. #112
    Join Date
    Jan 2003
    Posts
    957
    First off, thanks for all your hard work.

    Quote Originally Posted by Pat H View Post
    Known Issues:1) cPanel cannot parse XML files, so the WYSIWG editor is broken by default. I'm writing a shell script to fix this, however it'll only work for IE... A workaround for FireFox is still being looked into?
    Do you have the fixes for the WYSIWG editor by any chance?

  33. #113
    Join Date
    Jul 2006
    Location
    Detroit, MI
    Posts
    1,955
    Quote Originally Posted by tandem View Post
    First off, thanks for all your hard work.



    Do you have the fixes for the WYSIWG editor by any chance?
    This was fixed last year - I asked the cPanel people to add xml files to WHM's apache config.

  34. #114
    Join Date
    Jul 2006
    Location
    Detroit, MI
    Posts
    1,955
    Does anyone have an elegant way yet to prevent cpanel updates from overwriting the squirelmail directory?

  35. #115
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,908
    Quote Originally Posted by utropicmedia-karl View Post
    Does anyone have an elegant way yet to prevent cpanel updates from overwriting the squirelmail directory?
    Besides chattr'n the whole directory? Nope. It's not an "elegant" way of clicking a yes or no box to disable updates to SquirrelMail, but it does work.

    cPanel have taken notice of NutsMail, and even suggested it in a recent post regarding alternatives to the default webmail clients... now if only they would acquire it, clean up the code and add the ability to change the theme before logging in.

  36. #116
    Join Date
    Jun 2008
    Location
    Kansas City
    Posts
    13

    Smile Thanks

    I used your script, and some of the advice in the 8 pages of comments to get this working in 5 minutes. Thank you very much, A+ for your script here.

  37. #117
    Join Date
    Sep 2003
    Posts
    141
    Does this script work with 11.25 and latest nutsmail skins like web 2.0?

  38. #118
    Join Date
    May 2009
    Posts
    298
    I too would be interested to know if this will work with the current version of cPanel and the new nutsmail skins.

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •