Changes

Jump to: navigation, search

OPS335 Web Server Lab

1,452 bytes added, 21:11, 7 February 2012
Add missing DNS resource records
**Add text records that identify the roles on each of these machines and a text record for the domain "This is < your full name here>'s OPS335 Domain".
**Once these records have been added, be sure to increment your Serial number for the zone file. While not crucial for the lab as we do not yet have a slave DNS server, getting into the habit ensures when needed slaves will be informed of the changes.
 
=== Adding a Webmail to your domain ===
*In order for our domain to offer webmail services to its users you will need to install the following packages on vm01
yum install squirrelmail httpd dovecot
*The SquirrelMail files are in /usr/share/squirrelmail, create the a symbolic link to share those files on the internet.
ln -s /usr/share/squirrelmail /var/www/html/mail
*Change directories and run the configuration script for SquirrelMail
cd /usr/share/squirrelmail/config
./conf.p
*Use the menu to select #2 - Server Settings. Edit #1 Domain - choosing your domain name, and #3 Selecting SMTP. Ensure you have saved the data then return to the main menu. From the main menu select option D - Set pre-defined settings for specific IMAP servers, then enter 'dovecot'.
*From the main menu select '1. Organization Preferences', then select option #1 'Organization Name' and change this to your domain name.
*Edit The Postfix configuration file and find the below line and add "$mydomain" to ensure delivery of emails sent to the domain and not just the host name.
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
*Edit the dovecot configuration file and uncomment the following line
protocols = imap pop3 lmtp
*And add to the bottom of the file
mail_location = mbox:~/mail:INBOX=/var/mail/%u
*You will need to change the permissions on the mail directories for the users from the default 660 to 600.
chmod 0600 /var/mail/*
==Completing the Lab==
1
edit

Navigation menu