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.

Roundcube, default config for "identities access level"

Discussion in 'E-mail Discussions' started by shenzy, Feb 3, 2014.

  1. shenzy

    shenzy Well-Known Member

    Joined:
    Apr 27, 2008
    Messages:
    66
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Hello,
    In rundcube config the option identities access level is set to 0 by default after some upgrade...
    With the option identities_level in 0, the user of webmail can modify the "sender mail addres", and this is not secure.
    In my server i use the option 1 or 3, but after some automatic upgrade.. the option is in 0 again.
    Is it possible to leave this option set to a value 1 or 3, and it is not modified after an upgrade performed by the whm?

    // Set identities access level:
    // 0 - many identities with possibility to edit all params
    // 1 - many identities with possibility to edit all params but not email address
    // 2 - one identity with possibility to edit all params
    // 3 - one identity with possibility to edit all params but not email address
    // 4 - one identity with possibility to edit only signature
    $rcmail_config['identities_level'] = 0;
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You could ensure this change is preserved by using the "postupcp" file (or hooking into the upcp event). EX:

    Code:
    touch /usr/local/cpanel/scripts/postupcp
    chmod 755 /usr/local/cpanel/scripts/postupcp
    Then, using the text editor of your choice, add and entry like this to the /usr/local/cpanel/scripts/postupcp file:

    Code:
    replace "$rcmail_config['identities_level'] = 0;" "$rcmail_config['identities_level'] = 1;" -- /usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php
    Thank you.
     
  3. shenzy

    shenzy Well-Known Member

    Joined:
    Apr 27, 2008
    Messages:
    66
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Chile
    cPanel Access Level:
    Root Administrator
    Update:
    Now, in roundcube the config file is: /usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php
    and the option identities level is: $config['identities_level']
     
Loading...

Share This Page