Iredmail Integrated Roundcube Webmail, greatly facilitates the installation and maintenance work, but the demand is thousands of million, there is always a need for in-depth adjustment of the place. Here are some of the issues I encountered when adjusting roundcube:
First, modify the page title PageTitle.
The default title for Roundcube is "Roundcube Webmail: ########", where we want to change the previous section to the company logo, and the research finds that only the config/config.inc.php
Add a "product_name" configuration item, as here is my settings:
// Add by Gzg$config ['product_name' e-mail server of Tianjin English-Chinese company ;
Re-refreshing the page will reveal the page title, along with the product ID of the login page has been changed to set the content.
Second, replace the website logo.
If you want to replace the Roundcube logo icon, there are two ways to:
Method One, replace each skin directory below the images/roundcube_logo.png. For example, Skins/classic/images/roundcube_logo.png
Method Two, modify the includes/header.html below the skin directory, and change the place where you point to Roundcube_logo.png to point to your logo icon.
Third, the SSL certificate file of the website.
1. Generate the SSL certificate yourself.
Remember Iredmail source path, my is in/usr/local/src/iredmail-0.8.7, below has a tools directory, generate certificate script file already here "generate_ssl_keys.sh", First use the editor to open modify the content of which and your site, such as domain name, issuer, etc., and then save the execution of this script, generate two files, a "IREDMAIL_CA.PEM" certificate a Private "Iredmail.key" file, if you do not adjust the output directory, Then the Certs subdirectory and the private subdirectory are in the/usr/local/src/iredmail-0.8.7 directory respectively.
2, spend money to find a certificate authority to buy a certificate, this need not elaborate.
3, get a free certificate, said on the website Startssl can apply to a one-year free certificate.
Whichever way you take it, now that you have a certificate, how do you deploy it?
The simplest is to name your certificate and private key file according to the first auto-generated certificate, and then copy it to the "/etc/pki/tls/certs/" directory and the "/etc/pki/tls/private/" directory to overwrite the original certificate.
Or, give the certificate a different name, first put them in the above directory, and then modify the Apache ssl.conf file, my "/etc/httpd/conf.d/ssl.conf", after opening the configuration file, Locate the two lines that sslcertificatefile and sslcertificatekeyfile respectively begin with, change the original certificate and the private key file name to your own name, save the exit, and restart Apache.
Adjust Iredmail roundcube Webmail service A few things to know