RoundCube webmail version 0.4.2 package for ISPConfig2

Discussion in 'General' started by Hans, Oct 31, 2010.

  1. userman

    userman New Member

    thanks Spaetzle!!!

    right, i have installed and working... but... in the roundcube version of ispconfig i can login with [email protected] and now with the new version of rouncoude i must use the username of ispconfig.

    how can i fix it?

    and how can i remove the "server" from the form for i have not type the server..

    sorry for my bad english ;)

    regards.
     
    Last edited: Mar 28, 2011
  2. userman

    userman New Member

    for remove the server field that is displayed at the RoundCube login screen.

    in the main.inc.php

    change the line:
    $rcmail_config['default_host'] = '';

    to:
    $rcmail_config['default_host'] = 'localhost';

    and the server field is removed!

    regards.
     
  3. Spaetzle

    Spaetzle Member HowtoForge Supporter

  4. userman

    userman New Member

    Yes,

    I add to main.inc.php:

    Code:
    // ----------------------------------
    // PLUGINS
    // ----------------------------------
    
    // List of active plugins (in plugins/ directory)
    $rcmail_config['plugins'] = array('virtuser_file');
    
    // Path to a virtuser table file to resolve user names and e-mail addresses
    $rcmail_config['virtuser_file'] = '/etc/postfix/virtusertable'; 

    work now, read the next post :)
     
    Last edited: Mar 28, 2011
  5. userman

    userman New Member

    work now!!!

    change the line:
    $rcmail_config['plugins'] = array();

    to
    $rcmail_config['plugins'] = array('virtuser_file');

    and add:
    $rcmail_config['virtuser_file'] = '/etc/postfix/virtusertable';

    thanks for all help!!!

    regards
     
  6. userman

    userman New Member

    Spaetzle,

    I put the file .htaccess in /var/www but no work for me, why?

    Regards.
     
  7. Spaetzle

    Spaetzle Member HowtoForge Supporter

    No idea for that.
    Is /var/www your servers "www" directory?
    Are .htaccess files working elsewhere?

    BTW. I think we hijacked another thread ... sorry for that.
    If there is an admin reading: Is it possible to copy messages #16 on wards to another thread or is it OK here?
     
  8. userman

    userman New Member

    in /var/www/ i have all the directory for all the domain
    /var/www/web1
    /var/www/web2
    /var/www/web3
    etc...

    and yes, .htaccess files are working in my websites...
     
  9. Spaetzle

    Spaetzle Member HowtoForge Supporter

    May be you need to check your apache configuration.
    Is rewriting allowed (mod_rewrite)?

    Bernd
     
  10. userman

    userman New Member

    Yes, is enable and the .htaccess work in the domains, for example in /var/www/web1/web/.htaccess is working...

    I have in the apache config:
    LoadModule rewrite_module modules/mod_rewrite.so


    Regards
     
  11. Spaetzle

    Spaetzle Member HowtoForge Supporter

    What OS are you using?
    Have you checked that there is a file modules/mod_rewrite.so in your apache directory?

    I have a Debion Lenny installation. There the line should look like this
    Have you checkd if reriteing works at other places where you can use a .htaccess file?
     
  12. userman

    userman New Member

    I use Centos and yes, the redire work if i put the .htaccess in another places for example in /var/www/web1/web/.htaccess
    but i must put the .htaccess rediret domain to domain for work in all domains... why if i put in /var/www not work for all the domains?

    PD. web1=www.domain.com

    regards
     
  13. hahni

    hahni New Member

    Hi Bernd,

    It do not work on my system. I use [email protected] usernames too. And the configuration you told here does nothing. The mail-body will not be shown. I always see the message "loading..." but nothing happens :(

    Greetings

    Hahni
     
  14. Spaetzle

    Spaetzle Member HowtoForge Supporter

    Two in one ;-)

    First for userman
    Is in your apache configuration somewhere a part like this:
    If not I fear that apache will not look for any files in /var/www ... this could be the solution.

    Second for hahni:
    Does logging in work if you use system names (e.g. web1_xyz)?
    The path mentioned in the example works for Debian systems. If you are using another OS maybe you need to adjust the path to the virtusertable file.

    Best regards
    Bernd
     
  15. hahni

    hahni New Member

    I have seen, that on this server there was no libxml2.

    I tried "apt-get install libxml2-dev" and now I must reinstall ISPConfig. Maybe it will then work.

    Error-Log:

    Code:
    [30-Mar-2011 14:42:43] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening 'DOMDocument.php' for inclusion (include_path='/home/admispconfig/ispconfig/web/roundcubemail/:/home/admispconfig/ispconfig/web/roundcubemail/program:/home/admispconfig/ispconfig/web/roundcubemail/program/lib:/home/admispconfig/ispconfig/web/roundcubemail/program/include:.:') in /home/admispconfig/ispconfig/web/roundcubemail/program/include/iniset.php on line 106
    [30-Mar-2011 14:42:43] PHP Fatal error:  Class 'DOMDocument' not found in /home/admispconfig/ispconfig/web/roundcubemail/program/lib/washtml.php on line 265
    
     
  16. Spaetzle

    Spaetzle Member HowtoForge Supporter

    Hi Hani

    So you installed the package within ispconfig, right?
    You can't use roundcube there for reading HTML encoded emails an in the used apache for ISPConfig some php packages are missing.
    If you are installing packages in your "normal system it should not affect the ispconfig installation.
     
  17. hahni

    hahni New Member

    Yes, I use the package. But after running apt-get and changing the config from RoundCube everything works fine! Thanks a lot for your good tips!
     
  18. userman

    userman New Member

    thanks Spaetzle but not work for me, i change the apache configuration but dont work.

    I surrender :) I put the .htaccess into the directory of the domain.

    Thanks for the support!!

    this forum rulez!! :)

    Regards.
     

Share This Page