# Open a terminal window, become '''root''', and navigate to <u>/var/hda/web-apps/webmail</u> directory.
# Download script file (pick the correct one for your system) to this directory and extract it into <u>html</u> directory of webmail.
# From the <u>html</u> directory, run the '''host-update-virtual-mail-1.75.sh''' script. This will check your hostname. If it is not correct, you will be given an opportunity to change it (See * '''NOTE''' below for unusual host names).
# Answer all the questions. The answers will further customize your install. '''Note:''' Mail user name and password must be one word only (i.e. mailuser, mail_user, or mail.user are acceptable)
# Once it completes, run the '''install-virtual-mail-1.75.sh''' script. The dependencies will be installed first. Depending on your system, 68 is the typical amount for install on a new system.
# Watch the script for errors. This may help narrow down the problem if you cannot log in.
# Once the script is complete, note the user name and password.
'''NOTE:''' # Run the following, selecting #2 so that postfix is used to send mail:
/usr/sbin/alternatives --config mta
'''<nowiki>*</nowiki>NOTE:''' Within a network it is possible to have a hostname that consists of xxx.xxx.xxx.xxx which this script can not recognize. Instead modify line 13 domnm=your.domain.name then run the script, all should be good (it is very rare to have a 4 level domain).
* Navigate to <u>http://webmail</u> and enter your login credentials.
* To uninstall, run the '''uninstall-virtual-mail-1.75.sh''' script.