Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jul 2007
    Posts
    11

    Default Squirrelmail Plugins

    I've recently been installing new Squirrelmail plugins. They make a great addition to the software and I was fondly using them. However, after a cPanel update my regular configuration got restored and the Squirrelmail plugins were set back to normal, erasing the ones I had manually downloaded and installed and leaving only the ones that come with the regular configuration. I have been reading on the forum and seen that this is a known issue, but I can't find a solution. Does anybody know how to keep the plugins when cPanel is updated?

    Thanks,
    Paul

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

    Root Administrator

  3. #3
    Member
    Join Date
    Jul 2007
    Posts
    11

    Default

    Thanks for your reply. Unfortunately I am in doubt about two things:

    1. I do not understand what is being done. I will look up all commands but could someone provide a one-line summary of what is being done here:

    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
    2. How about this comment? Any thoughts about this?

    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 .
    Reply With Quote

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

    Root Administrator

    Default

    SM config is being copied to the root directory so you can customize what settings/plugins you want to retain during cPanel updates.

    cPanel updates look to the /var/cpanel/squirrelmail/install file to determine what actions to take during SM/upcp updates.

    The comment by ilearn in the other thread was addressing the original posters fix to use chattr +i to make the config.php file immutable. As stated it is better to determine the reasons behind the automatic changes.

    The solution posted by cpanelkenneth precludes the need to chattr the config file.

  5. #5
    Member
    Join Date
    Jul 2007
    Posts
    11

    Default

    OK thanks a lot! I will study the command and try to implement this.

Similar Threads & Tags
Similar threads

  1. SquirrelMail plugins
    By SonicE in forum E-mail Discussions
    Replies: 2
    Last Post: 11-26-2008, 06:28 PM
  2. Squirrelmail and plugins
    By benito in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-30-2006, 05:54 AM
  3. Plugins for SquirrelMail
    By iampedro in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-08-2003, 04:55 PM
  4. Squirrelmail plugins - conf.pl?
    By Ronny in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-18-2003, 05:18 PM
  5. Squirrelmail plugins?
    By nickn in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-07-2003, 12:25 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube