Changes

Jump to: navigation, search

OPS335 Lab 6

117 bytes added, 13:15, 24 March 2020
INVESTIGATION 3: INSTALL, CONFIGURE & RUN WEBMAIL APPLICATION (Roundcube Mail)
::* Go onto your host, open Firefox and on the address bar type "vm1.<yourSenecaID>.ops/webmail/installer", make sure your dns on host 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 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, under the '''IMAP settings''' insert "'''vm3.<yourSenecaID>.ops" under the '''imap settingsin ''' default_host'''default_hostfield and ''' field and "143" ''' in '''default_port''' field. Insert "Under '''SMTP settings''' insert '''vm2.<yourSenecaID>.ops" under '''smtp settings''' in '''smtp_server''' field, and "'''25" ''' in '''smtp_port''' field. Ensure '''smtp_user/smtp_pass''' is '''empty ''' and '''uncheck '''the "Use the current IMAP username and password for SMTP authentication"'''checkbox.
::* Under '''Database setup''' '''db_dsnw''', enter "localhost" as your database server, "roundcubemail" for database name. Put "roundcube" as Database user, and the password you set for the roundcube user when you configured that in the previous step for database password. Everything else can be left as default.
::* Click next Next to create the configuration file, then download it to your '''host'''. By default it will be saved under "~SenecaIDyourSenecaID/Downloads". Transfer the files '''to vm1 ''' using '''scp ''' and place it inside /var/www/html/webmail/config folder.
::* 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 Make sure your SMTP and IMAP servers are running, then finally test your configuration by sending email using your smtp server through test field provided by webmail installer, you should receive a test email sent by RoundCube. Test your IMAP settings by simply loging in with your SenecaID and vm3 password on the same webpage. ::* If everything works properly you can skip '''skip to''' step 109. *Remember you can edit the configuration file manually by editing "/var/www/html/webmail/config/config.inc.php".
</li>
<li>Note that both of your IMAP and SMTP servers are on different machines (i.e. not on vm1). Therefore, you should see custom values in the following parameters in the Roundcube configuration file:
572
edits

Navigation menu