Learn about Roundcube

Tram Ho

Learn about the Roundcube

 

1. Introduction to roundcube

Webmail is a form of email application running on a website platform that has the ability to access an email server to send and receive emails. The use of webmail platform makes accessing mail reading or sending mail more convenient among many webmail services, such as Gmail, AOL mail, Hotmail, Yahoo,…. Or now, business email services have applied the construction of webmails online services to help businesses be more convenient at work.

Roundcube is a free webmail application for generating email addresses ending in company names.

For example: Gmail is @ gmail.com , Yahoo is @ yahoo.com

2. Installation instructions (on CentOS 8 / RHEL 8)

 

Requirements before installation: The machine (server) needs to install nginx and mysql

B1. Download Roundcube Webmail

a. Download roundcube

wget https://github.com/roundcube/roundcubemail/releases/download/1.4.9/roundcubemail-1.4.9-complete.tar.gz

 

b. Decompression

tar xvf roundcubemail-1.4.9-complete.tar.gz

 

c. Move to / var / www

 

B2. Install Dependencies

a. Install the Remi Repo

sudo dnf install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm

 

b. Reset PHP

sudo dnf module reset php

 

c. Enable the php: remi-7.4 module stream

sudo dnf module enable php:remi-7.4 -y

 

d. Install PHP modules required

sudo dnf install php-ldap php-imagick php-common php-gd php-imap php-json php-curl php-zip php-xml php-mbstring php-bz2 php-intl php-gmp

 

B3: Initialize the database

a. Login to mysql

mysql -u root -p

 

b. Create an account to use a new database

CREATE DATABASE roundcube DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

 

c. Authorize the newly created user to use the database

GRANT ALL PRIVILEGES ON roundcube.* TO [email protected] ;

 

d. Flush the privileges

flush privileges;

 

e. Exit mysql

exit;

 

B4: Configure nginx

a. Create nginx configuration file

sudo nano /etc/nginx/conf.d/mail.your-domain.com.conf

 

b. Add the following text to the configuration file just created

 

c. Check config

sudo nginx -t

 

d. Reload nginx again

sudo systemctl reload nginx

 

B5: Complete installation

Go to the URL link of the browser

http://mail.your-domain.com/installer

 

 

Click Next to move to step 2

 

 

In this step, you can install imap and smtp:

 

 

Below I choose all the options. And you can choose the needs you can choose or deselect another

Select next

Step 3 you can test the config. Oke is done. Now you can access it by browser with the link

http://mail.your-domain.com

 

 

Done, the roundcube installation.

But there is still other work on how to configure and use it. I will share in the following articles.

Share the news now

Source : Viblo