Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Aug 2007
    Posts
    20

    Default Squirrel Mail config Overwritten

    Good evening,

    I have been trying to solve this question for the last several days and am looking for some assistance.

    Basically, CPanel is overwriting my squirrelmail config files. Now i have looked through the forums and tried the one most commonly referred to fix..

    That fix is to chattr +i the config.php file, which I have done, however, if I do that and the update runs at night i end of with internal server errors.

    Now I also read a README file that said about tarring files adn leaving them at different places and that the update-squirrelmail script will skip the update if it finds them, However I have no idea how to even start that fix.. some dumbed down instructions would be great.

    The only other thing I have read is to have another installation of squirrelmail on the server, However, I am not to keen on doing that.

    Can anyone give me some good detailed help on this?

    It would be apprecitated.

    Respectfully

    L00ph0le

  2. #2
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    If it is a single file (e.g. config.php), the following is a base to start from:


    Code:
    cp /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php ~/squirrelmail_config.php
    touch /var/cpanel/squirrelmail/install
    chmod +x /var/cpanel/squirrelmail/install
    vim /var/cpanel/squirrelmail/install
    Contents of /var/cpanel/squirrelmail/install
    Code:
    #!/bin/sh
    
    cp /root/squirrelmail_config.php /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php
    chown cpanel:cpanel /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php
    Customize the above to your particular needs.

  3. #3
    Member sawbuck's Avatar
    Join Date
    Jan 2004
    Posts
    1,313
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Can confirm this works and would like to see it made sticky.

  4. #4
    Member
    Join Date
    Oct 2007
    Posts
    9

    Default

    Applying attributes is not a very practical solution . Attributes can completely corrupt some configuration files during updates when applied . Trying to find out the reason behind automatic changes is the best thing to do .

Similar Threads & Tags
Similar threads

  1. Replies: 4
    Last Post: 01-11-2010, 08:18 AM
  2. Squirrelmail config.php overwritten
    By keithc in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-25-2007, 05:34 PM
  3. Squirrel Mail and Horde mail did not work
    By vietkool in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 06-12-2007, 11:12 AM
  4. Squirrel Mail
    By Etheral in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-20-2006, 02:46 PM
  5. Squirrel Mail and Qmail incoming mail problem
    By fadzli in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-07-2006, 01:16 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube