|
|
Example OneIn this scenario, a small company (two partners) have setup a web site to advertise some of their services and products. They are using Windows 2000 Professional on a single computer. They have a single static IP and the domain name StuffForSale.com. They want to setup an email server so that they can have a couple of email accounts like sales@StuffForSale.com and info@StuffForSale.com. Their ISP supplied the name resolution, both for their computer to resolve names on the Internet and for other computers to find the partners computer. Their ISP setup the domain zone file so that both www.StuffForSale.com and mail.StuffForSale.com will resolve to the static IP address. They also have a MX record that points to mail.StuffForSale.com. We'll just assume that all this is working properly. Install the SMTP ServerYou can use the instructions shown on the Installation page to install the SMTP server. Configure the SMTP ServerDomainsFor this example, go to the START button > Programs > Administrative Tools and select Internet Information Services. There should be a single computer listed and in this case, the Default Web Site and we just added the Default SMTP Virtual Server. If you expand the Default SMTP Virtual Server there are two items. Domains and Current Sessions. When you click on the Domain, the default local Fully Qualified Domain Name (FQDN) of this computer should be shown in the right pane. This FQDN comes from the Network Identification tab of the Properties of My Computer. Just right click on the My Computer icon on the desktop and pick Properties from the popup menu, then the Network Identification tab to see where this came from. This may or may not match the domain name that you have registered. It doesn't really matter if the computer is a single computer and not part of a workgroup or LAN. The SMTP server is setup to accept messages for the FQDN that it obtains from the Network Identification described above. No matter what is listed, you will want to add at least one more alias. Click on Domains and either right click and select New > Domain, or pick it from the Action menu. Select Alias, click Next and type in your registered domain name (StuffForSale.com) into the box. Click Finish. Your SMTP server will now accept messages for two domains; the default domain as configured in your Network Identification and the domain you have registered with some Internet authority that you added as an alias.
AccessThe default setup for the computer is to allow all computers to access it (required if you want to receive messages from other SMTP servers) and to not allow relaying except for those that authenticate. Since this is the only computer that will be using the SMTP service, you can switch off all relaying. Click the Access tab, click the Relay button and click OFF the Allow all computers ... option. This is different in Example Two where you have more than one computer accessing the email server. LoggingOne more item. Click on the Default SMTP Virtual Server and select Properties from the Action menu. If you want logging select that option. It might be a good idea at the start so that you can monitor your server and see what it's doing. That's it for installing the SMTP server. Install the POP3 ServerYou can use the instructions shown on the Installation page to install the POP3 and POPAgent services. Configure the POP3 ServerOpen the EMWAC IMS applet from the Control Panel. On the first tab called Directories, use C:\Inetpub\mailroot\Users\%USERNAME% for the Mailbox Directory. Click the Automatically Create Mailbox option ON. For the Mail Spool Directory use C:\WIN2000\System32\LogFiles. For the Postmaster, put in your logon username. On the Misc tab, click the Copy local failure reports to postmaster ON. In the Accept Mail For: add the domains that are listed in the SMTP domains setup above. Type them in the lower box one at a time and click the Add button. Finally on the Logging tab, click the POP3 Log Enabled. Then click the OK button to close the dialog box and apply the changes. You will be given a warning about stopping and starting and server before the changes will take affect. Do this. Go to the Control Panel > Administrative Tools and select the Services applet. Find the IMS POP3S Server, right click it and pick Restart from the menu. Do the same for the IMS POP Agent. Create a IMSUsers GroupAny user that you want to be able to receive mail must have a valid account on this computer and belong to the IMSUsers group. In Windows 2000, use the Advanced tab of the Users and Passwords Control Panel applet to add a new group. In the left pane, right click Groups and select New Group from the menu. Type in IMSUsers and a description if you want: Email users for StuffForSale.com or something like that will keep things documented. If you have existing users you can add them now with the Add button. The group also must have the Logon as a batch job privilege. Use the Local Security Setting in the Administrative Tools of the Control Panel to add the IMSUsers group to this policy. Pick Local Policies > User Rights Assignment, then double click Logon as a batch job item. Click Add and add the IMSUsers group to the policy. Create User AccountsIn Windows 2000, use the Advanced button tab of the Users and Passwords Control Panel applet to add a new user. Add two for this example, sales and info. Once the new users are created, you can either right click on the user and use Properties from the popup menu to make them a member of the IMSUsers group or right click on the group and use the Properties item to add users to the group. Either way works. Setting up an eMail Client ProgramBecause this is a Windows 2000 system, we'll use Outlook Express for the client program to send and receive email messages. However, because this is a standard email server setup, you can use any email client program, including Netscape Messenger or Eudora. For this example it's assumed that the user will logon to this computer to send and receive messages. Check the other example for sending and collecting messages remotely or from another computer on the LAN. Logon to the account that you setup previously - or your own account. In Outlook Express, the Internet Connection Wizard should automatically start. if not, pick the Tools menu, and select Accounts. Click the Add button and select Mail. In the Internet Connection Wizard, fill in the name you want to appear on the email messages and click Next. Select the I already have ... option and fill in the new email address. For the example we used, this would be info@StuffForSale.com or sales@StuffForSale.com. Click the Next button. For your system, it would be one of the users names that you created and your domain name. For the example we described, the email server names are both mail.StuffForSale.com. See the discussion on the Trouble Shooting page about computer names. The incoming mail server is a POP3 server. Click the Next button. The account name is info or sales depending on which one you're working on and the password is whatever you assigned. Click the Next button. and then the Finish button to finish up. You can repeat this for any other accounts that your are setting up. Please remember, the domain name we are using (StuffForSale.com) is just an example. You should substitute the proper domain name for your system. That's it. The system should be ready to send and receive email with Outlook. Click the Continue button to see some trouble shooting tips. |
| |||||||||
|