RoundCube 0.1-stable package available for ISPConfig

Discussion in 'General' started by Hans, Mar 4, 2008.

  1. Hans

    Hans Moderator ISPConfig Developer

    RoundCube 0.1-stable has been released.
    Based on this version, i've created a new RoundCube package for ISPConfig today.

    Before you install it with the update manager within ISPConfig, please remove the previous RoundCube package first.
    This can be done by executing the following commands:

    rm /home/admispconfig/ispconfig/web/roundcubemail.tar
    rm -r /home/admispconfig/ispconfig/web/roundcubemail
    rm -r /home/admispconfig/ispconfig/web/tools/tools/roundcubemail

    The package can be downloaded here:

    :)
     

    Attached Files:

    Last edited: Mar 4, 2008
  2. edge

    edge Active Member Moderator

    Hans,

    When I try to change and save my identity (under Personal Settings > Identities) I get the following error:
    All other things in RoundCube are working fine.

    Do you also get this error, or is it only on my server?
     
    Last edited: Mar 4, 2008
  3. jbravo

    jbravo New Member

    Got same error. Previous version worked fine.

    --
    GreetZ .:JbRaVo:.
    ISPConfig 2.2.21 @ openSUSE / SLE
     
  4. Hans

    Hans Moderator ISPConfig Developer

    New identities can be made, but i can confirm that existing identities can not be changed.
    I don't know if this is it is ment to be so. Until now, i don't know the reason, but i try to find the answer!

    One note:

    If you like that RoundCube creates default folders like Drafts, Sent, Junk and Trash, please modifiy the line in the file /home/admispconfig/ispconfig/web/roundcubemail/config/main.inc.php from:

    // automatically create the above listed default folders on login
    $rcmail_config['create_default_folders'] = FALSE;

    into:

    // automatically create the above listed default folders on login
    $rcmail_config['create_default_folders'] = TRUE;

    Other required configuration settings can be done within the file /home/admispconfig/ispconfig/web/roundcubemail/config/main.inc.php as well.
     
    Last edited: Mar 4, 2008
  5. Hans

    Hans Moderator ISPConfig Developer

    I start to believe that it is normal that the default identitiy can't be changed, but i'm still not sure.
    Within RoundCube 0.1-RC2 it was possible indeed and it was even possible to delete the default identity!
    Deleting the last identity is not possible anymore in RoundCube-0.1 stable.
    Probably, changing the default identitiy, which has been created after a first login has a relation to that.
     
  6. edge

    edge Active Member Moderator

    Hi Hans,

    This is bad I think.
    The problem is that I've setup more Email Aliases (ISP Users > Advanced settings), for some users, and now it's showing the 1st email alias assigned in the Email aliases list instead of the real email address. (again not sure if this only a problem on my server)
    Example.

    Real users email address: [email protected]
    Extra email aliases for this users: [email protected], [email protected]

    Now when going to Personal Settings > Identities (in RoundCube) I see as main email address: [email protected] (the 1st email alias)
     
  7. Hans

    Hans Moderator ISPConfig Developer

    @Edge as you understand, it is still new and i try to find the right answer.
    As you know, you can create more than one identity in RoundCube and you can make one of these the default identity. Does this help you in the mean time?
     
  8. edge

    edge Active Member Moderator

    Hans.. Please do not get me wrong :)
    I understand that this is not a problem from you. It's a RoundCube problem.

    Also. This is only on a test server. I'm still using the old versions on my other servers :)
     
  9. Hans

    Hans Moderator ISPConfig Developer

    Hi Edge,

    I have setup the MySQL version on a test server and this version works like a charm! Now i try to find the reason why we have that problem with the sqlite version for the ISPConfig package. To be continued...
     
  10. Hans

    Hans Moderator ISPConfig Developer

    Found the clue

    In the mean time i found the reason that the first user identity can not be changed.

    Within the file /home/admispconfig/ispconfig/web/roundcubemail/config/db.inc.php the line

    // database backend to use (only db or mdb2 are supported)
    $rcmail_config['db_backend'] = 'mdb2';

    needs to be changed into:

    // database backend to use (only db or mdb2 are supported)
    $rcmail_config['db_backend'] = 'db';

    Now it's working for me!

    I've created a new (modified) package which can be downloaded here. (I've overwritten the old package).

    I informed Till about this, so he will publish the modified package on ispconfig.org soon as well!
     
    Last edited: Mar 4, 2008
  11. edge

    edge Active Member Moderator

    Hans,

    All is fine now. Thank you.
     
  12. jbravo

    jbravo New Member

    Is this official RoundCube fix or just your own? Can we use it safely?

    Thank you very much for Your work and hope to know this before upgrading production machine.
     
  13. Hans

    Hans Moderator ISPConfig Developer

    I have tested it on a test-server (not a production server) and as far as i can test it everything works fine now.

    Please execute the following commands to remove the previous package again:

    rm /home/admispconfig/ispconfig/web/roundcubemail.tar
    rm -r /home/admispconfig/ispconfig/web/roundcubemail
    rm -r /home/admispconfig/ispconfig/web/tools/tools/roundcubemail

    After that download and install the updated 0.1-stable package here.

    I use the RoundCube 0.1 RC2 MySQL version for my production servers (not the package for ispconfig).
    After testing the RoundCube 0.1 stable MySQL version i will install it within my production environment.
     
  14. jbravo

    jbravo New Member

    Checked that on previous version "db" backend is used as You proposed.

    In my case it is not neccessary to use MySql - only few clients use webmail at the moment. Maybe later would be a good choice.

    I'm just curious about backend change. Maybe at roundcube site i will find some more info.
     
  15. Hans

    Hans Moderator ISPConfig Developer

    Report: RC-0.1 stable with MySQL

    In the mean time i've setup RoundCube 0.1-stable with a MySQL database on a Debian Etch server with ISPConfig. It works fantastic! :)

    I need some time to modify the RoundCube howto, but the installation is really simple, because RoundCube 0.1 comes with an installer tool.
    It's running on a production server already.

    For the time being, here are the steps to be taken:

    1. Create a website in ISPConfig with a MySQL database
    2. Download RC-0.1 stable at http://downloads.sourceforge.net/roundcubemail/roundcubemail-0.1.tar.gz
    3. Decompress and put this folder somewhere inside your /web.
    4. Make sure that the following directories (and the files within) are writable by the webserver
    - /temp
    - /logs
    5. Point your browser to http:///url-to-roundcube/installer/
    6. Follow the instructions of the install script (or see MANUAL CONFIGURATION fore more options)
    7. Within the file /config/main.inc.php change:

    // Path to a virtuser table file to resolve user names and e-mail addresses
    $rcmail_config['virtuser_file'] = '';

    into:

    // Path to a virtuser table file to resolve user names and e-mail addresses
    $rcmail_config['virtuser_file'] = '/etc/postfix/virtusertable';

    8. (Patch) Change the line 705 within /program/include/main.inc file from:
    705 $line = trim($line);

    to:

    705 $line = trim(str_replace("www.", "", $line));

    9. After creating and testing the configuration, remove the installer directory
    10. Done!
     
    Last edited: Mar 5, 2008
  16. ralfba

    ralfba New Member

    i don't get it - help ...

    i inpacked the zip/tar on my box - but it doesn't even have a subdir installer ...
    what do i wrong ?
    ralf
     
  17. Hans

    Hans Moderator ISPConfig Developer

    @ralfba,
    Which version are you going to use? RC with MySQL RC or with SQLite?

    If you use the RC with MySQL:
    -----------------------------
    Create a website within ISPConfig with a MySQL database.

    Within your webX/web/ do the following:

    Download RoundCube:
    wget http://downloads.sourceforge.net/roundcubemail/roundcubemail-0.1.tar.gz
    Decompress it:
    tar xzf roundcubemail-0.1.tar.gz
    Remove the tar.gz files:
    rm *.tar.gz
    cd roundcubemail-0.1
    mv * ../
    cd ../
    rmdir roundcubemail-0.1

    After that and within your browser point to http://yourwebsite.tld/installer and follow the instructions.

    If you use RC with SQLite:
    --------------------------
    Login to ISPConfig go to Management > Update Manager.
    Paste the URL http://www.ispconfig.org/downloads/roundcubemail-0.1-stable.pkg within the update manager.
    RoundCube with SQLite is available at http://anydomainonyourserver.tld:81/roundcubemail
     
    Last edited: Mar 7, 2008
  18. ralfba

    ralfba New Member

    still no installer

    hi Hans,
    thanks for the help - as far as i know i only installed mysql, thats also what appears under services in the ISPCONFIG )> mySQL-Server: Online .

    i put the content on the newly created website, pointed the browser to it - but i still get the error that the file installer isn't there.

    Code:
    isp01:/srv/www/web10/web # ls -lsa
    total 96
     4 drwxrwxr-x 10 root   web10  4096 Mar  6 23:30 .
     4 drwxr-xr-x  8 root   web10  4096 Mar  6 23:25 ..
    12 -rw-r--r--  1 wwwrun www    8506 Oct 21 00:28 CHANGELOG
     4 -rw-r--r--  1 wwwrun www    3917 Oct 20 23:50 INSTALL
    16 -rw-r--r--  1 wwwrun www   15129 Sep 29  2005 LICENSE
     4 -rw-r--r--  1 wwwrun www    2637 Oct 20 23:50 README
     4 drwxr-xr-x  2 wwwrun www    4096 Oct 21 00:35 SQL
     4 -rw-r--r--  1 wwwrun www    1837 Oct 10 08:40 UPGRADING
     4 drwxr-xr-x  2 wwwrun www    4096 Oct 21 00:33 bin
     4 drwxr-xr-x  2 wwwrun www    4096 Oct 21 00:33 config
     4 drwxrwxr-x  2 wwwrun www    4096 Mar  6 23:15 error
     4 -rw-rw-r--  1 wwwrun www    1207 Mar  6 23:15 index.html
    12 -rw-r--r--  1 wwwrun www   11475 Oct 20 23:51 index.php
     4 drwxr-xr-x  2 wwwrun www    4096 Oct 21 00:33 logs
     4 drwxr-xr-x  7 wwwrun www    4096 Oct 21 00:33 program
     4 drwxr-xr-x  3 wwwrun www    4096 Oct 21 00:33 skins
     4 drwxr-xr-x  2 wwwrun www    4096 Oct 21 00:33 temp
    
    how could i verify that i really use the my-sql box?
     
  19. Hans

    Hans Moderator ISPConfig Developer

  20. ralfba

    ralfba New Member

    little success

    now the installer file is there, but the web-server is offering the file "installer" for download and asks for an application to open it.
    looking into it, seems like a html-file
    should i rename it to .html?
     

Share This Page