Roundcube is a web browser based mail client & also known as webmail. It provides a GUI ( Graphical User Interface ) where end users can check their mails, can create & manage folders, can use address book to search email ids and lot of other webmail features. To install roundcube on CentOS 7 followings are the prerequisite that should be installed. PHP. Database ( MariaDB or MySQL ). Web Server ( Apache ). Any MTA – Postfix, Sendmail & Qmail In My Case i have already installed Postfix with dovecot on CentOS 7 with.
Domain name = nsitmail.com. Hostname = tec.nsitmail.com Follow below Steps to install & configure latest version of Roundcube: Step:1 Install PHP, Database & Apache using below command: # yum install httpd php php-common php-json php-xml php-mbstring php-imap php-pear-DB php-mysql mysql mariadb-server Once the above package list is installed, set the time zone value in PHP. # vi /etc/php.ini date.timezone = Asia/Kolkata Save & exit the file Step:2 Create & Configure Roundcube Database Let us first set the Initial settings & root password of Mariadb Server: # systemctl start mariadb # systemctl enable mariadb ln -s '/usr/lib/systemd/system/mariadb.service' '/etc/systemd/system/multi-user.target.wants/mariadb.service' # # mysqlsecureinstallation Above Command “ mysqlsecureinstallation” will allow us to set root password, remove anonymous users, disable remote root login and will remove test database. Now Create database for Roundube and grant all the permissions to the database Step:3 Download tar file of Roundcube Download latest version of Roundcube tar file either from their official site “ or we can use below wget command.
Install Qmail On Centos 7 Kernel Modules. • Enable virtual server: • Create virtual service and choose scheduler for http (80) and ftp (21): ipvsadm -A -t 66.218.88.103:80 -s wlc ipvsadm -A -t 66.218.88.103:21 -s wrr Command directives: • A: Add a virtual service defined by IP address, port number, and protocol.
# wget Untar the downloaded file in your web server document root. # tar -zxpvf roundcubemail-1.1.3-complete.tar.gz -C /var/www/html/ Rename the extracted file as Roundcube and set the required permissions html# mv roundcubemail-1.1.3 roundcube html# chown apache:apache roundcube html# Start the Apache service html# systemctl start httpd html# systemctl enable httpd ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/multi-user.target.wants/httpd.service' html# Step:4 Start Roundcube installation using web browser installer. To start the installation of Rouncube, access the below url in the web browser click on Next Define the Database, Authentication Mechanism, SMTP & IMAP setting in this step. When We click on Create Config option it will ask us to Copy or download the configuration and save it as config.inc.php within the /var/www/html/roundcube/config/ directory of your Roundcube installation. In my case i am using http based authentication mechanism, so i create one user on my Linux box and set its password using htpasswd command.
# htpasswd -c /home/linuxtechi/.htpasswd linuxtechi New password: Re-type new password: Adding password for user linuxtechi # Remove the installer directory from your web server document root ( /var/www/html/roundcube ) # cd /var/www/html/roundcube/ roundcube# rm -rf installer roundcube# Step:5 Now access your account using Roundcube Open the url in the browser “, use the credentials that we set using htpasswd command. Roundcube installation is completed, Now explore it and enjoy.
Qmail itself? Qmail, ucspi? Tcp, daemontools w/enhanced logging.John Simpson’s massive qmail patch, which includes (among others) qmailqueue, smtp?auth and TLS smtp encryption. EZmlm? A fast and easy to use mailing list manager that works through qmail. Autoresponder? Enables auto?responder capabilities on your qmail server.
Enables virtual e?mail hosting for multiple domains. Available with or without mysql integration. Vqadmin? A web based interface to manage Vpopmail virtual domains on your qmail server. Maildrop? A server?wide mail filtering tool.
Qmailadmin? A web based interface for managing vpopmail virtual email accounts. Courier/imap/imap/ssl? The popular IMAP/IMAP/SSL server.
Squirrelmail? A web based mail client with a boat load of cool plugins available. #/etc/rc.d/init.d/sendmail stop #rpm -e –nodeps sendmail-x.x.x.x #rpm -e –nodeps sendmail-doc-x.x.x.x #rpm -e –nodeps sendmail-devel-x.x.x.x #rpm -e –nodeps sendmail-cf-x.x.x.x #/etc/rc.d/init.d/sendmail stop #mv /usr/lib/sendmail /usr/lib/sendmail.old #mv /usr/sbin/sendmail /usr/sbin/sendmail.old #chmod 0 /usr/lib/sendmail.old /usr/sbin/sendmail.old #rpm -qa grep postfix #/etc/rc.d/init.d/postfix stop #rpm -e nodeps postfix-x.x-x #ln -s /var/qmail/bin/sendmail /usr/lib/sendmail #ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail Step 10: Start Qmail Service. #/usr/local/sbin/mkimapdcert #vi /usr/local/etc/imapd.cnf change [email protected] an administrative email address Save and exit #vi /usr/local/etc/imapd Make sure that the following configuration exists: IMAPDSTART=YES #vi /usr/local/etc/imapd-ssl Make sure that the following configuration exists: IMAPDSSLSTART=YES Make sure that the following configuration exists: TLSCERTFILE=/usr/local/share/imapd.pem Save and exit the file. #vi /usr/local/etc/authlib/authdaemonrc Around like 27, you should see the “authmodulelist” setting.
Make sure that “authvchkpw” is the only module listed. Like so: authmodulelist=”authvchkpw” Save and exit the file.
![]()
Now we create the startup scripts.
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |