Difference between revisions of "Roundcube"

From Linuxintro
imported>ThorstenStaerk
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''Roundcube''' is a [[mail user agent]] that is running as [[webmail]] service.
+
'''Roundcube''' is a mail user agent that is running as [[webmail]] service.
  
 
= Install it =
 
= Install it =
Here is an example how to install it. It uses apache2 on SUSE Linux 11.2, other combinations should work same or similar. It [[install]]s [[roundcube]] on the local host 127.0.0.1.
+
Here is an example how to install it. It uses apache2 on SUSE Linux 12.1. Other combinations should work same or similar. It [[install]]s [[roundcube]] on the local host 127.0.0.1.
  
 
* [[set up an apache web server with SUSE Linux]]
 
* [[set up an apache web server with SUSE Linux]]
* [[install]] some [[packages]] and restart the [[web server]]
+
* [[install]] some [[packages]] and restart the web server
 
  [[yast]] -i php5-gettext php5-imap php5-mcrypt php5-pear
 
  [[yast]] -i php5-gettext php5-imap php5-mcrypt php5-pear
 
  pear install mdb2
 
  pear install mdb2
Line 13: Line 13:
 
  /etc/init.d/apache2 restart
 
  /etc/init.d/apache2 restart
 
* [[set up a mail server]]
 
* [[set up a mail server]]
* [[set up an imap server]]
+
* [[set up an imap service]]
 
* visit http://www.roundcube.net and find the latest stable release to download
 
* visit http://www.roundcube.net and find the latest stable release to download
* download it into the [[web server]]'s [[directory]]
+
* download it into the web server's directory
 
  [[cd]] /srv/www/htdocs
 
  [[cd]] /srv/www/htdocs
  [[wget]] http://downloads.sourceforge.net/project/roundcubemail/roundcubemail-dependent/0.3.1/roundcubemail-0.3.1-dep.tar.gz?use_mirror=heanet
+
  [[wget]] http://downloads.sourceforge.net/project/roundcubemail/roundcubemail/0.7.2/roundcubemail-0.7.2.tar.gz
 
* [[unpack]] it
 
* [[unpack]] it
  tar xvzf roundcubemail-0.3.1-dep.tar.gz
+
  [[tar]] xvzf roundcubemail-0.7.2.tar.gz
* change the [[folder]] name to horde
+
* change the folder name to roundcube
  [[mv]] roundcubemail-0.3.1-dep roundcube
+
  [[mv]] roundcubemail-0.7.2 roundcube
 
* [[configure]] roundcube: surf to http://127.0.0.1/roundcube/installer
 
* [[configure]] roundcube: surf to http://127.0.0.1/roundcube/installer
 +
 +
= Migrate the database =
 +
Roundcube uses a database to store contacts, user preferences and the like. The database can be [[mysql]], [[sqlite]] or another database. You can change from one database to another by modifying one configuration file, it is (depending on your server root) /srv/www/htdocs/roundcube/config/db.inc.php.
  
 
= TroubleShooting =
 
= TroubleShooting =
Line 28: Line 31:
 
* php5-pear-mail
 
* php5-pear-mail
 
* php5-pear-mail_mime
 
* php5-pear-mail_mime
 +
 +
== upload error ==
 +
;Symptom: When trying to attach a file, after clicking "upload" there is an error message "upload error". You are using roundcube 0.3.1.
 +
;Solution: Update roundcube to the latest version.
  
 
= See also =
 
= See also =
Line 34: Line 41:
 
* http://www.roundcube.net/
 
* http://www.roundcube.net/
  
[[category:Webmail]]
+
[[Category:Webmaster]]

Latest revision as of 18:07, 19 October 2013

Roundcube is a mail user agent that is running as webmail service.

Install it

Here is an example how to install it. It uses apache2 on SUSE Linux 12.1. Other combinations should work same or similar. It installs roundcube on the local host 127.0.0.1.

yast -i php5-gettext php5-imap php5-mcrypt php5-pear
pear install mdb2
pear install Net_SMTP
pear install Mail_mime
pear install MDB2_Driver_mysql
/etc/init.d/apache2 restart
cd /srv/www/htdocs
wget http://downloads.sourceforge.net/project/roundcubemail/roundcubemail/0.7.2/roundcubemail-0.7.2.tar.gz
tar xvzf roundcubemail-0.7.2.tar.gz
  • change the folder name to roundcube
mv roundcubemail-0.7.2 roundcube

Migrate the database

Roundcube uses a database to store contacts, user preferences and the like. The database can be mysql, sqlite or another database. You can change from one database to another by modifying one configuration file, it is (depending on your server root) /srv/www/htdocs/roundcube/config/db.inc.php.

TroubleShooting

With older SUSE versions the following packages seemed necessary:

  • php5-pear-mail
  • php5-pear-mail_mime

upload error

Symptom
When trying to attach a file, after clicking "upload" there is an error message "upload error". You are using roundcube 0.3.1.
Solution
Update roundcube to the latest version.

See also