Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th October 2008, 01:24
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default How to setup RoundCube to work with ISPConfig 3?

I'd like to either know where squirrelmail is hiding, or how to setup RoundCube. I'm searching for the info myself, but if someone knows and can point me in the right direction I'd appreciate it.

I have until Nov. 1st, to have a semi production ready server with ISPConfig3. So... I'll donate tons of time if I can get a little help with the directions.
Reply With Quote
Sponsored Links
  #2  
Old 30th October 2008, 01:29
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

I will try to get roundcube up and running with:

http://cad.cx/blog/2007/08/11/howto-...ubuntu-feisty/


I will post all of my steps and solutions.

In ubuntu 8.04.1:

apt-get update
apt-get upgrade
apt-get install roundcube-webmail

There are the following errors that probably need to get fix somehow.
Restarting apache2...
* Restarting web server apache2 [Wed Oct 29 17:31:30 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed Oct 29 17:31:40 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[ OK ]




cd /usr/share/roundcube-webmail
cp ./config/db.inc.php.dist ./db.inc.php
cp ./config/main.inc.php.dist ./main.inc.php

Open up phpmyadmin, Go to permissions, Add a new user, create the database as well, grant all permissions.

Edit db.inc.php and change the database connection settings

Last edited by quentusrex; 30th October 2008 at 01:43.
Reply With Quote
  #3  
Old 30th October 2008, 01:31
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

Does anyone know of a good way to setup RoundCube so that the clients can go to webmail.theirdomain.com to access it? I'm asking what would be the proper ISPConfig 3 way to enable this.
Reply With Quote
  #4  
Old 30th October 2008, 07:31
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

I got it to work. It needs to be cleaned up a bit, but it works just fine now. Here are the steps:

1. mkdir /usr/share/roundcube
2. cd /usr/share/roundcube
3. wget http://voxel.dl.sourceforge.net/sour....2-beta.tar.gz
4. tar zxvf roundcubemail-0.2-beta.tar.gz
5. cd roundcubemail-0.2-beta
6. chmod 777 logs temp
7. paste the following into /etc/apache2/conf.d/webmail.conf
###########################################
#This is basically a modified version of /etc/apache2/conf.d/phpmyadmin.conf
# RoundCube default Apache configuration

Alias /webmail /usr/share/roundcube/roundcubemail-0.2-beta

<Directory /usr/share/roundcube/roundcubemail-0.2-beta>
Options Indexes FollowSymLinks
DirectoryIndex index.php

# Authorize for setup
<IfModule mod_php4.c>
AddType application/x-httpd-php .php

php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_value include_path .
</IfModule>
<IfModule mod_php5.c>
AddType application/x-httpd-php .php

php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_value include_path .
</IfModule>
</Directory>
#########################################
8. /etc/init.d/apache2 restart
9. open your browser to: http://yourdomain.com/phpmyadmin
10. Login using username 'root' and your mysql root password.
11. Go to Privledges, and add a user called roundcube(and at the bottom tell phpmyadmin to add a database with the permissions, and grant all the permissions)
12. open your browser to: http://yourdomain.com/webmail/installer
13. I had to modify one of the lines in php.ini(set true to false)
14. use the installer to setup roundcube
15. DON'T FORGET TO DELETE THE INSTALLER DIRECTORY ONCE THE INSTALL IS FINISHED.

Last edited by quentusrex; 8th November 2008 at 18:42.
Reply With Quote
The Following 4 Users Say Thank You to quentusrex For This Useful Post:
d0nut (8th November 2008), danielborene (18th June 2009), falko (31st October 2008), till (30th October 2008)
  #5  
Old 30th October 2008, 11:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,175
Thanks: 829
Thanked 5,412 Times in 4,255 Posts
Default

Quote:
There are the following errors that probably need to get fix somehow.
Restarting apache2...
* Restarting web server apache2 [Wed Oct 29 17:31:30 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed Oct 29 17:31:40 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[ OK ]
This is caused by the default vhost from debian. Either ignore it or remove the debian default vhost.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 30th October 2008, 11:30
quentusrex quentusrex is offline
Senior Member
 
Join Date: May 2008
Posts: 174
Thanks: 6
Thanked 11 Times in 7 Posts
Default

That seems to have removed the error, but I think I'm missing a step. I've moved the /etc/apache2/sites-enabled/000-default to /tmp. Now I get this error:

* Restarting web server apache2
[Thu Oct 30 03:28:20 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[Thu Oct 30 03:28:30 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
[ OK ]


And then I find a new file generated by apache called 'default' that is blank. So I think there is one last minor configuration to fix to get rid of the errors.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RoundCube Webmail On Your ISPConfig Server Within 10 Easy Steps SoMBS HOWTO-Related Questions 17 25th November 2010 13:19
Mail Question: installed smf forum on centos perfect server setup with ispconfig happz Installation/Configuration 7 22nd August 2008 13:15
ISPconfig install error - "PHP Binary coming with ISPConfig does not work ..." mleblanc Server Operation 5 24th June 2008 17:40
Does ISPConfig work with co.nr domains? vertimyst General 2 30th December 2007 16:05
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! Th Nilton Godoi Bueno Installation/Configuration 1 26th May 2007 15:31


All times are GMT +2. The time now is 16:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.