fredchevitarese
01-16-2007, 01:19 PM
This tutorial was found in www.vivaolinux.com.br in portugues language ok?
So, i'll put this here because i like it very much !
Let's go!!
The Round Cube is an easy and secure webmail client with a friendly interface that remembers the desktop mail readers, like Outlook , Kmail and Evolution.
He supports MIME, address book and message filters.
He was developed in PHP with mysql db Postgres and SQLite and XHTML and CSS.
The installation is very simple.
System Requisites:
* Apache Webserver
* .htaccess with overrides on DirectoryIndex
* PHP Version 4.3.1 or later
* PCRE (perl compatible regular expression) installed with PHP
* Changes on php.ini:
- error_reporting E_ALL & ~E_NOTICE
- file_uploads on
- memory_limit ( what you think is necessary )
* Database MySQL Server 4.x or later, PostgreSQL or SQLite with PHP
Original font - http://sourceforge.net/projects/roundcubemail
The RoundCube package is ready to download on http://downloads.sourceforge.net/roundcubemail/roundcubemail-0.1beta2.tar.gz?modtime=1154875726&big_mirror=0
Unpack the file "roundcubemail-0.1beta2.tar.gz" and do the changes on your DocumentRoot of your Apache. (If you want, unpack this in the Apache folder. Something like this: /var/srv/htdocs/roundcube)
Change the permissions of "/temp" and "/logs" of roundcube to writeable
Create the database and the user to be used in the application. Something like this.
# mysql
> CREATE DATABASE 'roundcubemail';
> GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost IDENTIFIED BY 'password';
> quit
# mysql roundcubemail < SQL/mysql.initial.sql
To verify if it was ok, do this:
# mysql > show databases;
+------------------------------+
| Database |
+------------------------------+
| information_schema |
| mysql |
| roundcubemail |
+------------------------------+
3 rows in set (0.03 sec)
> use roundcubemail; > show tables;
+--------------------------+
| Tables_in_roundcubemail |
+--------------------------+
| cache |
| contacts |
| identities |
| messages |
| session |
| users |
+--------------------------+
6 rows in set (0.00 sec)
> quit;
If you see something like this, this is ok!
Now, to use our cliente we need to change some things in the files into config folder.
Rename the files "db.inc.php.dist" and "main.inc.php.dist" to db.inc.php and main.inc.php.
Then, edit the file "db.inc.php and adjust the configurations of the database. (Something like this)
# Find the line above and insert the configurations of your db
$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
Then edit the file "main.inc.php" and adjust the configurations of your webserver:
# Find the lines above and insert your settings of your mailserver:
$rcmail_config['default_host'] = 'localhost'; //The host name of your mailserver
$rcmail_config['default_port'] = 143;
$rcmail_config['mail_domain'] = 'yourdomain.com';
$rcmail_config['smtp_server'] = 'SEU_IP'; // IP or the name of your smtp server
$rcmail_config['smtp_port'] = 25; //Port to the protocol SMTP
# There are many other settings, but i don't use this. If you want to try! Go ahead.
Everything done ...
Let's access our new webmail client .
http://yourserver.com/roundcube
This is my first article and i don't know if was cool!!!
My english is very poor... I'm from Brazil and i'm only translating the tuto to you!!
ThankS! :D
So, i'll put this here because i like it very much !
Let's go!!
The Round Cube is an easy and secure webmail client with a friendly interface that remembers the desktop mail readers, like Outlook , Kmail and Evolution.
He supports MIME, address book and message filters.
He was developed in PHP with mysql db Postgres and SQLite and XHTML and CSS.
The installation is very simple.
System Requisites:
* Apache Webserver
* .htaccess with overrides on DirectoryIndex
* PHP Version 4.3.1 or later
* PCRE (perl compatible regular expression) installed with PHP
* Changes on php.ini:
- error_reporting E_ALL & ~E_NOTICE
- file_uploads on
- memory_limit ( what you think is necessary )
* Database MySQL Server 4.x or later, PostgreSQL or SQLite with PHP
Original font - http://sourceforge.net/projects/roundcubemail
The RoundCube package is ready to download on http://downloads.sourceforge.net/roundcubemail/roundcubemail-0.1beta2.tar.gz?modtime=1154875726&big_mirror=0
Unpack the file "roundcubemail-0.1beta2.tar.gz" and do the changes on your DocumentRoot of your Apache. (If you want, unpack this in the Apache folder. Something like this: /var/srv/htdocs/roundcube)
Change the permissions of "/temp" and "/logs" of roundcube to writeable
Create the database and the user to be used in the application. Something like this.
# mysql
> CREATE DATABASE 'roundcubemail';
> GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost IDENTIFIED BY 'password';
> quit
# mysql roundcubemail < SQL/mysql.initial.sql
To verify if it was ok, do this:
# mysql > show databases;
+------------------------------+
| Database |
+------------------------------+
| information_schema |
| mysql |
| roundcubemail |
+------------------------------+
3 rows in set (0.03 sec)
> use roundcubemail; > show tables;
+--------------------------+
| Tables_in_roundcubemail |
+--------------------------+
| cache |
| contacts |
| identities |
| messages |
| session |
| users |
+--------------------------+
6 rows in set (0.00 sec)
> quit;
If you see something like this, this is ok!
Now, to use our cliente we need to change some things in the files into config folder.
Rename the files "db.inc.php.dist" and "main.inc.php.dist" to db.inc.php and main.inc.php.
Then, edit the file "db.inc.php and adjust the configurations of the database. (Something like this)
# Find the line above and insert the configurations of your db
$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
Then edit the file "main.inc.php" and adjust the configurations of your webserver:
# Find the lines above and insert your settings of your mailserver:
$rcmail_config['default_host'] = 'localhost'; //The host name of your mailserver
$rcmail_config['default_port'] = 143;
$rcmail_config['mail_domain'] = 'yourdomain.com';
$rcmail_config['smtp_server'] = 'SEU_IP'; // IP or the name of your smtp server
$rcmail_config['smtp_port'] = 25; //Port to the protocol SMTP
# There are many other settings, but i don't use this. If you want to try! Go ahead.
Everything done ...
Let's access our new webmail client .
http://yourserver.com/roundcube
This is my first article and i don't know if was cool!!!
My english is very poor... I'm from Brazil and i'm only translating the tuto to you!!
ThankS! :D