Web Designing Company Singapore, Web Hosting Company, Custom Software Applications, eCommerce websites

Web Designing Company Singapore, Web Hosting Company, Custom Software Applications, eCommerce websites

How to change Roundcube Webmail Title, Change Logo, Change header, Change Footer

To change the roundcube webmail login page attributes via custom config file..

Actually roundcube is very flexible to change many things. All the attributes are in the main config file to play over. Here the idea we provide is not to go and change anything on the original config file, but we adding our custom webmail config file together with the original. So,in future if there is any updates, we simply just include this custom file again - That's it..!

Tricks to change Roundcube webmail title, logo image, footer, user login without domain name specifying

Steps to include custom config file:

  1. Create a new file called 'custom_config.inc.php'
  2. Include these attributes inside the php file
$rcmail_config['username_domain'] = '%n';
preg_match("/[^\.\/]+\.[^\.\/]+$/", $_SERVER['HTTP_HOST'], $matches);
$rcmail_config['product_name'] = $matches[0];
$rcmail_config['skin_logo'] = '../logo.png';
  1. Place this file into the same location of the original config file (Eg: /etc/roundcube/custom_config.inc.php)
  2. Include this file entry at after the very last line of the roundcube webmail's config.inc.php
 Eg:
 // end of config file
include 'custom_config.inc.php';