Before you begin | SMTP | POP3 | HTTP | NNTP
In Exchange Server 5.0, the SMTP protocol support is installed by default when you install the server, and you configure the protocol the first time by running the Internet Mail Service installation wizard from the "New Other..." option in the File menu.
If you are running Exchange Server 4.0, you need to run the Exchange Server installation program and select "Internet Mail Connector" as one of the options. In either case, the Internet Mail Connector (in Exchange Server 4.0) or the Internet Mail Service (in Exchange Server 5.0) installs as an object in the Connections container for the site.
The step-by-step instructions follow -- if you are using Exchange Server 4.0, jump to step 12; if you are using Exchange Server 5.0, follow step 11. If you are using Exchange Server 5.0 and run the Internet Mail Service wizard to configure the service, answer all the questions with the default (proposed) answer to achieve a minimal working configuration of the Internet Mail Service.
The first two screens of the wizard are informational, and you should click Next to reach the first of the questions. Note that there is a whole page of information on making sure that you understand the DNS issues mentioned above. The questions you will be asked (and answers) are as follows:
Question Answer Select the Microsoft Exchange server... <name of your server> Use DNS to send mail Use DNS (typical) Send mail to... All Internet mail addresses (typical) Select the site address... @site.company.com Specify the administrator mailbox Create/use mailbox called Administrator Type the password to the service account <password>
When you have finished, the wizard will have configured SMTP support and started the Microsoft Exchange Server Internet Mail service (which you can verify in the Control Panel Services applet).
If you have a dial up connection to the Internet, on the page where you are asked to Select the Microsoft Exchange server, you should check the box that says "Allow Internet mail through a dial up connection." This will create a second page where you select the RAS phone book entry for the ISP, and change the default for the Use DNS answer.
If you pick the default to send all mail to the ISP's SMTP host for further delivery, rather than use DNS, the use of the connection time will probably be more efficient.
12. If you are using Exchange Server 4.0, you should make sure that you have installed at least Service Pack 2 or later.
Run the setup program and choose the option to install the Internet Mail Connector. Once the install program has finished, load the Exchange Server Administrator program and double-click on the Internet Mail Connector in the Connections container for your site. You will need to do only two things here.
First, specify an administrator for the connector on the General page -- chose the Administrator or any user from the GAL.
Second, go to the Address Space page, click on the New Internet button, then click OK to close the next dialog box without entering any data. You should see an entry in the Addresses window that shows SMTP with a cost of "I". Click OK to close this window, click OK on the information screen about DNS, and close the Administrator program...
Now open the Control Panel services applet, set the Internet Mail service to start automatically, and start the service. 13. If you have a dial-up connection to the ISP, go to the Dial- up connection tab in the Internet Mail Connector properties, and configure Exchange Server to dial the ISP and transfer mail.
Pick the ISP's RAS phone book entry under the Available Connections. Under the Dial options, you can schedule the IMC to call the ISP every few hours or at a predetermined time of the day.
Initially, pick an interval such as every 1 hour - you can go back and change this later. When the IMC uses RAS to dial up the ISP, it will establish a connection with the ISP's SMTP host, and wait for mail to be downloaded.
Usually this will happen after the SMTP host senses the presence of the Exchange server, but it may take up to 15 minutes or so.
If you want to have the ISP start downloading mail immediately to you, you should enter a command in the Retrieving Mail options box. The exact format of this command depends upon the ISP, and you should contact them for the correct syntax. Typically you can use either a finger command or a rsh command. The syntax of the finger command is: Finger your domain@lsp_smtp host,
Where your -domain is your domain name (e.g. company.com), isp-smtp_host is the name of the SMTP host at the ISP (e.g. mx4.smtp.psi.net). The syntax of the rsh command is typically similar to: Rsh -lisp-domain -1 logon "/user/lib/sendmail -q - Ryour-domain", Where isp-domain is the name of the ISP's domain (e.g. psi.net), logon is a logon alias that has permission to create a shell at the ISP, and the balance is the command that the remote shell is spawning.
An excellent location for documentation of these and other available commands is es . You should check with your ISP for the exact syntax of the command you would use in your installation.
14. If you followed steps 1-8 above, TCP/IP is set up and tested. Now we need to test the Exchange Server configuration.
The simplest way to test this is to send a piece of mail from a user to someone on the Internet, and ask them to reply. This, however, is particularly uninformative if it does not work. The best thing to do is to test the service using Telnet first. To do this, load a command prompt and type "Telnet".
From the File menu of the Telnet window select New, and enter the host name of your Exchange server (e.g. mail.company.com), and enter 25 as the TCP/IP port. Click Connect, and you should get a connection to the Exchange Server.
If the process in steps 9 or 10 above worked, you should see a line at the top of the screen similar to the following: 220 mail.company.com Microsoft Exchange Internet Mail Service 5.0.1457.7 ready A response starting with the number 220 means that the server is running an SMTP service, in this case the Exchange Server Internet Mail service, and is waiting to receive mail.
If you are familiar with SMTP messaging, you can extend the test by typing in the commands to send a message manually to the administrator; however, this is not really necessary, as we know now that the service is in fact running. Type Quit to close the session, and exit Telnet.
If you do not get a response similar to the line above, you need to make sure that you followed the instructions in step 9 or 10 correctly, and that the Microsoft Exchange Server Internet Mail Service is started in the Control Panel.