Adjust Iredmail roundcube Webmail service A few things to know

Source: Internet
Author: User
Tags ssl certificate roundcube roundcube webmail

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.