::If your machine does not have the semage command, use yum to install the policycoreutils-python package.
<li>You will also need to tell selinux to allow the webserver to open connections to the MTAs with <source>setsebool -P httpd_can_network_connect 1</source></li>
<li>In the directory now named "webmail", there will be a file named '''INSTALL''' which will walk you through the rest of the Roundcube installation. </li> <li>To make things easier, install RoundCube through your local web browser.</li>
To make things easier, install RoundCube through your local web browser. ::* Go onto c7host, open Firefox, and on the address bar, type "vm1.<yourSenecaID>.ops/webmail/installer", make sure your dns on c7host can resolve the web address. Alternatively, instead of "vm1.<yourSenecaID>.ops" you can input the ip address of your vm1, "192.168.X.2/webmail/installer", change X to your own IP octet. ::* Inside the web browser installer, ensure all required options are "ok", if "DOM: not ok" it means you need to install additional php packages (yum install policycoreutils-python php-xml php-mbstring). Once everything is ready (it will not let you continue otherwise) click next go to the next page. ::* On the next page, insert "vm3.<yourSenecaID>.ops" under the imap settings '''default_host''' field and "143" in '''default_port''' field. Insert "vm2.<yourSenecaID>.ops" under smtp settings '''smtp_server''' field, and "25" in '''smtp_port''' field. ::* Under Database setup: '''db_dsnw''', enter "localhost" as your database server, "name of your database you created" for database name, or just use a default created one, such as "mysql". Put "root" as Database user, and your own password for database password (the password you use to login to mysql as root). Everything else can be left as default. ::* Click next to create the configuration file, then download it to your vmc7host. By default it will be saved under "~SenecaID/Downloads". Transfer the files to vm1 using scp and place it inside /var/www/html/webmail/config folder. ::* enter "restorecon -v /var/www/html/webmail/config/config.inc.php" Restart httpd and refresh the web installer page. ::* Go to test config page if you are not there already and "Check config file" should be ok. "Check DB config" should also be ok, if not check your mysql settings. ::* Finally test your configuration by sending email using your smtp server through test field provided by webmail installer, you should receive a test email send by RoundCube. Test your IMAP settings by simply login with your SenecaID and vm3 password on the same webpage. ::* If everything works properly you can skip to step 1011. *Remember you can edit the configuration file manually (such as step 1011) by editing "/var/www/html/webmail/config/config.inc.php" Remember to start httpd for the effect to take place.
<br /><br />Some installation tips to consider: