Learn Linux Series (#10) - Multilingual IMAP client Roundcube

Learn Linux Series (#10) - Multilingual IMAP client Roundcube
sudo aptitude -y install roundcube roundcube-mysql
Answer "Yes" if you are asked for confirmation
Choose the database you will use later. "MySQL"
Enter the root password to the MySQL database
Enter the password for the RoundCube DB database
Password verification
sudo nano /etc/roundcube/main.inc.php
and we edit according to the scheme:
# line 72: Specifying the server IMAP (SSL):
$rcmail_config['default_host'] = 'ssl://mail.utopian.io';
# line 75: Specifying the server port IMAP (SSL):
$rcmail_config['default_port'] =993;
# line 135: Specifying the SMTP server (SSL):
$rcmail_config['smtp_server'] = 'ssl://mail.utopian.io';
# line 138: Specifying the SMTP server port (SSL):
$rcmail_config['smtp_port'] =465;
# line 142: Use of the same user name for SMTP and IMAP authentication:
$rcmail_config['smtp_user'] = '%u';
# line 146: Using the same password for SMTP and IMAP authentication:
$rcmail_config['smtp_pass'] = '%p';
# line 162: Determining the HELP SMTP host:
$rcmail_config['smtp_helo_host'] = 'mail.utopian.io';
# line 271: Specifying the domain name:
$rcmail_config['mail_domain'] = 'utopian.io';
# line 289: changing UserAgent:
$rcmail_config['useragent'] = 'Server World Webmail';
# line 292: changing title:
$rcmail_config['product_name'] = 'Server World Webmail';
# line 380: changing language:
$rcmail_config['language'] = 'en_EN';
# line 649: Change of coding:
$rcmail_config['default_charset'] = 'UTF-8';
Then edit apache.conf.
sudo nano /etc/roundcube/apache.conf
# line 4: delete '#' with:
Alias /roundcube /var/lib/roundcube
We restart the Apache2 server.
sudo /etc/init.d/apache2 restart
Access to the page:
http://(server name or IP)/roundcube/
Disabling Suhosin encryption session.
We edit the suhosin.ini configuration file.
sudo nano /etc/php5/apache2/conf.d/suhosin.ini
Find the line "suhosin.session.encrypt = off"
and remove the semicolon "; "Before this entry.
We make sure that the equality sign is "off" (in some cases "0").
sudo a2ensite webmail.example.com.conf
Restart Apache to apply all configuration changes and enable your new virtual host:
sudo service apache2 restart
The output should be *
Restarting web server apache2 ... [ OK ]
If an error is given, use the error messages to troubleshoot your configuration. Missing files, incorrect permissions and typos are common causes for Apache not properly restarting.
The footer will be visible in every new e-mail and in the responses to the e-mails.