1. Download and run the MailMax/WEB 4.1 installation.

http://www.smartmax.com/download/pub/MailMaxWEB/MailMaxWEB%204.1/MailMaxWeb41.exe

 2. Customer Information

Enter your email address, registration name and registration key.

NOTE: If you are evaluating MailMax/WEB, simply enter DEMO into the registration key field.



Click 'Next' to continue.


 3. Setup Type

You must choose between two setup types: Complete or Custom

IMPORTANT: You need to install MailMax/WEB in the directory where your website is located. For example, if you install MailMax/WEB under c:\Inetpub\wwwroot\MailMaxWeb then you would access MailMax/WEB by going to the URL of: www.yourdefaultwebsite.com/MailMaxWeb

Complete - This option will install MailMax/WEB into the default directory of C:\Inetpub\wwwroot\MailMaxWeb.

Custom - Select ‘Custom’ if you would like to change the directory that MailMax/WEB will be installed.

The following instructions will guide you through a 'Custom' installation.

a. Select 'Custom' and click 'Next' to continue.



b. Custom Setup - If you want to change the directory that MailMax/WEB is installed, click the button.



c. Change Current Destination Folder - Use the drop down to manually select the desired path. Click ‘OK’ when you are finished.



d. Ready to Install the Program - Go ahead and verify that the directory path of installation is correct before you continue. If you would like to change the installation directory again, click ‘Back’; otherwise click ‘Install’ to complete the installation of MailMax/WEB.




 4. Setting up MailMax/WEB in IIS

a. Open your (IIS) Internet Information Services Application.

NOTE: Windows 2000 Users will find IIS in the Administrative Tools Menu. NT 4.0 Users will find IIS in the Option Pack 4 menu.

b. Locate and click the website that you have installed MailMax/WEB under. Then click the directory that you specified in the MailMax/WEB installation. Right click and select ‘Properties’.



c. Directory Tab

By default you will be at the Directory tab upon selecting 'Properties'.
1. Select 'Read'.
2. Select 'Scripts and Executables'.



d. Documents Tab

Next, select the ‘Documents’ tab.

1. Select Default.asp as your default document. If you happen to have multiple documents listed in the dialog box, make sure that default.asp is at the top of the list.



Click 'OK' and EXIT IIS to continue.


 5. Setting up Permissions

a. Explore to the directory that MailMax/WEB was installed.
b. Right click on the MailMax/WEB folder and select 'Properties'.



c. Select the ‘Security’ tab. (NT 4.0 Users – click the Permissions button located on the Security Tab.)

d. Now ADD the IUSR_(computer name) account if it is not already listed, as shown below. Set up the permissions so that the IUSR account has Full Control for that directory and all of its children objects.

NOTE: Full Control is required in order for MailMax/WEB to create, delete, and modify files as needed.



Click 'OK' to exit the properties of this folder and conitnue.


 6. Editing Default.asp

a. Explore to the directory that you have installed MailMax/WEB and open Default.asp with Notepad.

b. You need to edit this file and add your SMTP and IMAP Server IP addresses. By default, 127.0.0.1 will be setup.

           response.cookies (“MX”) = Enter the IP address of your SMTP Server.
           response.cookies (“IX”) = Enter the IP address of your IMAP Server.



c. After you have made these changes, SAVE default.asp.

Congratulations! You are ready to start using MailMax/WEB 4.1. You may access MailMax/WEB through a browser by entering the URL you have created.

* For example, if you installed MailMax/WEB under c:\Inetpub\wwwroot\MailMaxWeb then you would access MailMax/WEB by going to the URL of: www.yourdefaultwebsite.com/MailMaxWeb


 Appendix A: Windows 2003 Setup

If you are installing MailMax/WEB 4.1 on Windows 2003, you will get an error stating that the "Page cannot be found" when trying to access the webmail pages. This is because Windows 2003 is tightly locked down. Please follow these steps below to allow MailMax/WEB to run:

1. Open IIS.
2. Right click on your website and select 'Properties'.
3. Go to the 'Home Directory' Tab.
4. Make sure you have 'Scripts and Executables' selected for 'Execute permissions:'.
5. Click 'OK'.
6. Click on the local computer in IIS.
7. Double-click on 'Web Service Extensions' in the right pane.
8. ALLOW: All Unknown ISAPI Extensions, All Unknown CGI Extensions, Active Server Pages and Server Side Includes.
9. Close IIS and access MailMax/WEB.


 Appendix B: Allowing new users to sign up automatically

Useradd.aspx

Useradd.aspx replaces join.htm (Section 2.2.4 / page 15 in the MailMax/WEB 4 manual) in MailMax/WEB 4.1.

In order to allow new users the ability to automatically sign up to use your MailMax/WEB service, you need create a link that accesses the ‘useradd.aspx’ page. This page was installed automatically with your other MailMax/WEB files and is located in the root of the directory that you installed MailMax/WEB.

Configuring useradd.aspx

1. Edit useradd.aspx in Notepad

2. Edit the settings below ‘// You must change these to reflect your server. The first option is SQL Authentication and the second option is NT Authentication. NT Authentication is enabled by default.’ (see screenshot below).



NT AUTHENTICATION SETUP

If you would like to use NT Authentication, you need to simply modify and add your domain in 'string domainName = "yourdomain.com" (ex. string domainName = "smartmax.com"). After you have made the change, save useradd.aspx and go to the url where it is located. Users can now add new mailboxes through your website.

SQL AUTHENTICATION SETUP

Server:
MSDE users: The server should be 127.0.0.1\MAILMAX5 SQL 2000 users: Simply enter your your server IP address.

UID (This is the SQL Username):
MSDE users: The default username will be sa SQL 2000 users: The username will be whatever you have previously assigned.

PWD (This is the SQL Password):
This will be whatever you have assigned in your MSDE or SQL 2000 installation.

Database:
This will be MAILMAX5 unless changed.

string domainName = "yourdomain.com"
Add the domain name that you would like to have users add their email accounts to.


 Appendix C: How do I register my demo version of MailMax/WEB?

Go to HKEY_LOCAL_MACHINE\SOFTWARE\SmartMax Software\MailMaxWeb in the registry and put the serial number in for the value named Serial.