how can i add the configuration of webmail

Discussion in 'Installation/Configuration' started by sidbyron, Sep 12, 2011.

  1. sidbyron

    sidbyron Member

    Hi,

    Someone else canhelp to add this chain:

    "/usr/share/squirrelmail/config:/etc/mailname:/var/lib/squirrelmail/data:/var/spool/squirrelmail/attach"

    I want ot add in :

    server config ---> tab "web" in the field "PHP open_basedir" i can't wirte anymore. I don't know if i can modify any file in the ispconfig folder.

    someone knows?:confused:
     
  2. sidbyron

    sidbyron Member

    I had been testing and I have to add only:
    "/var/lib/squirrelmail/data:/var/spool/squirrelmail/attach"

    please helpme
     
  3. falko

    falko Super Moderator ISPConfig Developer

    So you mean the open_basedir field doesn't allow any further directories? How long is the string you currently have in this field?

    What's your ISPConfig version? In the latest version (3.0.3.3), you can add up to 64000 characters in that field.
     
    Last edited: Sep 13, 2011
  4. sidbyron

    sidbyron Member


    Thank you Falko, I have a long string, this is the string that i have:

    "[website_path]/web:[website_path]/tmp:/var/www/[website_domain]/web:/srv/www/[website_domain]/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/squirrelmail:/etc/squirrelmail"

    And I have the latest version.

    For access at webmail with each domain I have to add this string:

    "/var/lib/squirrelmail/data:/var/spool/squirrelmail/attach"

    Because without this string I can't login at webmail with each domain name.

    can you help me? :rolleyes:
     
  5. falko

    falko Super Moderator ISPConfig Developer

  6. sidbyron

    sidbyron Member

  7. sidbyron

    sidbyron Member

    I Fix it!

    I have modified the files /ispconfig/admin/form/server_config.tform.php:

    'php_open_basedir' => array (
    'datatype' => 'VARCHAR',
    'formtype' => 'TEXT',
    'default' => '',
    'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
    'errmsg'=> 'php_open_basedir_error_empty'),
    ),
    'value' => '',
    'width' => '40',
    ),

    I Deleted ''maxlength' => '255'

    And I have modified /ispconfig/admin/template/server_config_web_edit.htm:

    <div class="ctrlHolder">
    <label for="php_open_basedir">{tmpl_var name='php_open_basedir_txt'}</label>
    <input name="php_open_basedir" id="php_open_basedir" value="{tmpl_var name='php_open_basedir'}" size="40" type="text" class="textInput" />
    </div>

    and I have deleted maxlength="255".

    I don't know if in the future I'll have any error when I'm creating a website.
    I need to experiment jejeje
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Thanks, I've added this to our bugtracker. We will fix this. :)
     
  9. sidbyron

    sidbyron Member

    sure, if can I help!!! :) I can be beta tester :p

    kind regards. :D
     

Share This Page