Some Linux Tips




LINKS

Fedora For Newbies
awardspace.com "free webhost"
drivehq.com "free storage"
spideroak.com "free storage"
dnsexit dynamic dns server
freedns.afraid dynamic dns server
dns.he.net dynamic dns server




index   Previous   Next


Downlaod the roundcube tar ball from the http://www.roundcube.net/ , to get the roundcube dependent packages as well run the aptitude to install the roundcube:

aptitude install roundcube

Or download this file for dependencies.
Unpack the roundcube tar ball in the web server root dir, in our example is /home/www/example.net/htdocs/ and rename to roundcube.
Open the file /etc/php5/conf.d/suhosin.ini and find the suhosin.session.encrypt it is as:

;suhosin.session.encrypt = on

it is enable, make it desable by removing ; and adding "off" after equal :

suhosin.session.encrypt = off

Open the roundcube dir and change the these dirs ownership to the web server user and the permissions as well:

chown -R www-data:www-data temp
chown -R www-data:www-data logs
chmod -R 0775 temp
chmod -R 0775 logs


Create a dir db and then run the sqlite as:

mkdir db
sqlite -init SQL/sqlite.initial.sql db/sqlite.db
#type .exit to exit sqlite.
chown -R www-data db
chmod -R 775 db


To configue the roundcube point the web browser to the http://example.net/roundcube/installer and click on Start the installation.
In the step 1 will check the dependencies, when all was ok click on next and fill the needed informations for your mail server.
In the General configuration check the enable_caching and leave the rest.
In the Logging & Debugging leave as it is.
In the Database setup select the SQLite from the drop down menu for the Database type as:

SQLite for Database type
Database Server "leave blank"
Database Name "/home/www/example.net/htdocs/roundcube/db/sqlite.db" (give the full path to the sqlite.db)
Database Username "leave blank"
Database Password "leave blank"


IMAP Settings:

default_host "ssl://localhost" (your host name)
default_port "993"


and change the IMAP AUTH type from the null to the LOGIN or can change after configuration, open the roundcube config dir and then the main.inc.php and change the $rcmail_config['imap_auth_type'] =   to the LOGIN:

$rcmail_config['imap_auth_type'] = LOGIN;

Contiune configuration of the roundcube