The previous article shows how to configure Postfix and Dovecot for our mail server but we also need a web interface to access our mail server for handling the mail accounts. A mail client helps us to acquire this requirement, Roundcubemail.
Roundcube web mail is a PHP based application that integrate with SMTP and IMAP servers. This open-source mail client helps to handle the mail accounts on browsers.
Since Roundcubemail is a PHP based application the server should be a LAMP configured server.
All your users data such as mail_id, Username should be maintained in a database, database access is necessary.
$ mysql
Create a database for your mail client,
mysql> create database roundcubemail;
Grant privileges to the user for the database,
mysql> grant all privileges on roundcubemail.* to "roundcube"@"localhost" identified by "password";
roundcubemail will be your database name, For "localhost" leave it if you want to install roundcubemail on your local system or mention the server IP if installing in a remote server.
Flush the privileges,
mysql> flush privileges;
Add a host entry to the server IP to mail.ljunix.com and access mail.ljunix.com/installer on your browser to start the installation.
Step:1 The first pages gives all the informations and dependencies for roundcube installation, You can proceed to the configuration step once the dependecies are met at the least. Click Next to proceed.
Step:2 Next step building your config file such as Database, Domain name, etc.,.
The database configuration is the important one. Provide the username and password mentioned on the database grants step.
Click Continue to build your configuration file,
Step:3 Select save in /tmp option which will save you configuration file in your servers /tmp direcrory.
Comments