RoundCube

Discussion in 'Feature Requests' started by nveid, Jan 16, 2006.

  1. radim_h

    radim_h Member HowtoForge Supporter

    Roundcube outside ISPconfig

    Hello!

    i'd like to run Roudcube outside ISPconfig (on site under regular Apache instance, configured in /etc/httpd/https.conf, not just https://admin.mysite.tld/roundcube )
    because i'd like to use rewrites as descibed in http://www.howtoforge.com/forums/showthread.php?t=4964 (originally for Squirrell)
    so all customers can use it as http://mail.anyuserdomain.tld
    ------------
    <VirtualHost 192.168.1.1:80>
    ServerName mail.*:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/webmail
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^webmail..+..+$ [NC]
    RewriteCond %{HTTP_HOST} !^mail.domain.com$
    RewriteRule ^(.*)$ https://webmail.domain.com$1 [R=301]
    </VirtualHost>
    ---------------------

    i just copied directory /home/admispconfig/ispconfig/web/roundcubemail to /var/www/webmail , changed permissions for apache (also tried chmod 777 to be sure there is no problem with permissions)

    but i'm still getting message:
    DATABASE ERROR: CONNECTION FAILED!
    Unable to connect to the database!
    Please contact your server-administrator.

    http error log record is : [Tue Apr 10 22:46:51 2007] [error] an unknown filter was not added: PHP
    But php is working on the site


    I'm i missing something important??

    Thanks for any pointer

    Radim
     
    Last edited: Apr 10, 2007
  2. Hans

    Hans Moderator Moderator

  3. radim_h

    radim_h Member HowtoForge Supporter

    Thank you, but.....

    thanks for links.
    I'm just still not getting why configuration copied from .pkg for ISPconfig doesn't work under different apache virtual host name.
    I did same thing with squirrelmail and it worked...
     
  4. Hans

    Hans Moderator Moderator

    I did not create the .pkg, so i can not give you the right answer.
    You have an alternative now to get it working.
     
  5. radim_h

    radim_h Member HowtoForge Supporter

    works great

    everything works now, thanks!

    just missing one thing, is it possible to create imap subfolders in Roundcube?
     
  6. aqua

    aqua New Member

    sqlite or mysql?

    Hello:

    I want to update roundcube to the latest pkg package. Many people complained that the sender field was empty, and many pointed to the roundcube's FAQ, which states that this table must be altered

    ALTER TABLE identities ADD `html_signature` tinyint( 1 ) NOT NULL default '0';


    Falko pointed out that Roundcube uses ispconfig's db, which is the default one for me, db_ispconfig.

    I looked inside db_ispconfig, but i cannot find a table called identities.

    I also looked at the current installation of roundcube, in:

    /home/admispconfig/ispconfig/web/roundcubemail/config/db.inc.php

    and found the lines:

    $rcmail_config['db_dsnw'] = 'sqlite://./sqlite.db?mode=0646';
    // postgres example: 'pgsql://roundcube:pass@localhost/roundcubemail';
    // sqlite example: 'sqlite://./sqlite.db?mode=0646';

    which means roundcube is using the sqlite database. I am confused now. Which database should I update? and what does this db store anyway?

    Thanks,
    aqua
     
  7. ADM

    ADM New Member

    I have a working ISPConfig install and installed roundcube from http://area51.archtechnologies.net/RoundCube0.1-beta2-461.pkg

    I'm unable to login, this is mail.log line:
    imapd: chdir Maildir: No such file or directory

    I login with webNN_name and password
    I view a file inside /var/mail that is webNN_name

    Any hint?


    EDIT:
    My fault, it was not enabled Maildir in Management -> Server -> Settings -> Email
     
    Last edited: Apr 21, 2007
  8. radim_h

    radim_h Member HowtoForge Supporter

    hints .)

    Not Existing Maildir format (mast be enabled in postfix or your mailserver) ?
    Have you sent some mail into your mailbox? I'm not sure, but maybe mailbox si created with first incomming message.. Welcome message for new user can be set in ISPConfig
     
    Last edited: Apr 21, 2007
  9. radim_h

    radim_h Member HowtoForge Supporter


    Thank you,
    ALTER TABLE identities ADD `html_signature` tinyint( 1 ) NOT NULL default '0';
    did help me with My Roundube, but it is for Roundcube working with Mysql.
    The installation is very easy, just read README.
     
    Last edited: Apr 29, 2007
  10. radim_h

    radim_h Member HowtoForge Supporter

    how to make roundcube using email adresses for login to IMAP server?

    Well readme doesn't work for everything :)

    I changed users logging to dovecot and postfix as decribed here:
    http://www.howtoforge.com/forums/showthread.php?t=12308,
    So users can set login in email clients in formatr [email protected], which is great
    But now i can't log into Roudcube, it stil translating [email protected] to domain.tld_user format, so it cant log into imap server
    (imap-login: Disconnected: user=<_mydomain.cz_test>)

    When i change main.inc.php line
    $rcmail_config['virtuser_file'] = '/etc/postfix/virtusertable';
    to
    $rcmail_config['virtuser_file'] = ' '; or uncomment this line

    it is still sending to dovect login "domain.tld_user" so no one can log into webmail

    what should i change in config to make roudcube use email adresses for login to dovecot and translate it from /etc/postfix/virtusertable ???
     
  11. radim_h

    radim_h Member HowtoForge Supporter

    it was problem betwwen keyboard and chair :)

    all what was needed is

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

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

    Hans Moderator Moderator

    Last edited: May 19, 2007
  13. samuch

    samuch New Member

    Anyone created a package for or successfully installed RC1 for ISPConfig? I'd be interested in upgrading to fix some of the bugs and wondered how smooth it was installing.

    Thanks!
     
  14. razor7

    razor7 Member

    Hello..have installed Rouncube addon downloaded from ISPConfig website but can not access...

    User web1_martin
    MAil martin@mgsconectiva.....


    Please advise...
     
  15. Hans

    Hans Moderator Moderator

    Please check if you have enabled the Maildir format.
    You can check this within ISPConfig under Management > Server > Settings > Email.

    Remember that the mailbox will be created when the first mail arrives.
     
  16. Martin1982

    Martin1982 New Member

    Unable to browse

    Everytime I'm in Roundcube mail and click to open an email it returns to the login screen saying that my session has expired. Although I've only been busy for about 20 seconds after logging in (and I guess the auto-refresh on the inbox should also keep the session alive).
    I use the latest pkg from this thread.
     
  17. Hans

    Hans Moderator Moderator

    RoundCube RC1.1 package for ISPConfig available!

    I have found out that the current RoundCube package provided by ISPConfig has been built on 13-4-2006 and and was based on RoundCube version 1.0 beta1.

    Due some problems, which still occur with this version, i decided to create a new RoundCube package for ISPConfig today, which is based on the latest and most stable version, which is RC1.1.

    I did some modifications, which means that:

    - you are able to use webmail across different servers by using the loginname/password & servername.
    - login with the loginname/password & e-mailaddress/password on the localhost / local server only
    - within the identities screen, the @www.domain.tld has been changed automaticly into @domain.tld after a first login on.

    If you want to login with the loginname/password only, within the file main.inc.php, you can change the line:

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

    into:

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

    I mention this because a login with the e-mailaddress/loginname is not possible across other servers then your localhost.

    Today i will send the package to Till and i hope that he can publish it on http://www.ispconfig.org.

    It would be nice if the RoundCube version is mentioned as well. (RC1.1.).

    This package can be installed with the update manager within ISPConfig.

    After installing the package, the RoundCube URL can be found here:
    http://anydomainonyourserver.tld:81/roundcubemail/
     
    Last edited: Jun 29, 2007
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    Thanks, I will publish the package today on ISPConfig.org and mention the version number too.
     
  19. letic

    letic New Member

    Sorry to contradict you guys but I think people might be confused by your version number. The latest roundcube version is v0.1-rc1.

    I guess that's the one you were speaking about Hans.

    Anyway I'm off installing this new version and will give you feedback if I have any issues.

    Thanks a lot for that :)
    LeTic
     
  20. Hans

    Hans Moderator Moderator

    The correct RoundCube version must be: 0.1-rc1.1

    Sorry for the mistake.
     

Share This Page