It is that simple!
Roundcube comes with EPEL
yum install epel-release (which was installed with QMT/CentOS 7)
yum install php-mysql
yum install roundcubemail
Again, look at the top of the page, here:
http://www.qmailtoaster.com/extras.html
On 2/13/2017 1:27 PM, Angus McIntyre wrote:
On Feb 13, 2017, at 2:57 PM, CarlC Internet Services Service Desk
<[email protected]> wrote:
Cool, I was always interested in Roundcube.
Any gotcha's on installation? Or do I just "yum install roundcube" [Doubt
it's that easy or I would be that lucky] :) ?
I don’t know if it’s as simple as ‘yum install roundcube’. I suspect not.
Below are the notes that I wrote for myself when I set it up on my mailserver.
I don’t know if this is actually the recommended install procedure, but it
worked for me. If no one else comes up with a better guide, you could try this
recipe.
Replace strings such as <WEBUSER>, <WEBGROUP> and <YOURDOMAIN> with appropriate
values for your installation.
I note that I needed to get some PHP components from the ‘webtatic’ repo. This
may or may not be necessary for you, depending on the version of PHP you have
and how you have it set up.
I have to say that Roundcube is pretty good; definitely nicer to use than
Squirrelmail.
Angus
==========================================================================================
Download the latest Roundcube distro from http://roundcube.net/.
Unpack and upload it to '/usr/share/roundcube'.
Make directories writeable:
cd /usr/share/roundcube/
chown -R <WEBUSER>:<WEBGROUP> temp/ logs/
chmod g+w temp/ logs/
Set up the roundcube database with:
mysql --user=root --pass
> CREATE DATABASE roundcubemail /*!40101 CHARACTER SET utf8 COLLATE
utf8_general_ci */;
> GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost
IDENTIFIED BY 'password';
> FLUSH PRIVILEGES
> quit
mysql --user=root --pass roundcubemail < SQL/mysql.initial.sql
Add to a suitable Apache vhost configuration file, such as:
/etc/httpd/conf/vhosts/<YOURDOMAIN>.conf
the following:
<IfModule mod_alias.c>
Alias /email/rc /usr/share/roundcube
</IfModule>
<Directory /usr/share/roundcube>
Options None
Order allow,deny
allow from all
</Directory>
Install PHP DOM support with:
yum --enablerepo=webtatic install php-xml php-mcrypt php-intl
Check the Apache configuration and restart.
In a web browser, go to:
https://<YOURDOMAIN>/email/rc/installer/
In the General Configuration section:
spellcheck_engine: ATD
In the Database Setup section
Enter database password
In IMAP Settings section
username_domain: <YOURDOMAIN>
In SMTP Settings section
smtp_server: <YOURDOMAIN>
smtp_port: 587
smtp_user/smtp_pass:
[x] Use the current IMAP username and password for SMTP
authentication
On the next screen, download the configuration file. Then upload it to
/usr/share/roundcube/config
Open the configuration file and edit it to apply the following SMTP settings:
$config['smtp_server'] = 'tls://<YOURDOMAIN>';
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
$config['smtp_port'] = 587;
Also, enable the Mark as Junk button with:
$config['plugins'] = array('markasjunk');
In /usr/share/roundcube/config/defaults.inc.php, change the MIME types setting
to:
$config['mime_types'] = '/usr/share/roundcube/mime.types';
Get a MIME types file with:
cd /usr/share/roundcube
wget
http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
Then disable the installer:
mv installer/ installer-done
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Eric Broch, IMSO, DAM, NGOO, DITH, URTS
White Horse Technical Consulting (WHTC)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]