Vous êtes sur la page 1sur 13

INSTALLING IIS 8 WITH THE DEFAULT SETTINGS

To install IIS 8, use the following steps:

1. Open Server Manager.


2. Under Manage menu, select Add Roles and Features:
3. Select Role-based or Feature-based Installation:
4. Select the appropriate server (local is selected by default), as shown
below:
5. Select Web Server (IIS):
6. No additional features are needed for IIS, so click Next:
7. Click Next:
8. Customize your installation of IIS, or accept the default settings that have
already been selected for you, and then clickNext:
9. Click Install:
10. When the IIS installation completes, the wizard reflects the installation
status:

11. Click Close to exit the wizard.

Windows Server 2012/2012 R2: Install and


Configure SMTP Server
Install SMTP Server
The following steps install the SMTP Server feature:
1. Open Server Manager: Click the Windows button on the keyboard. Type Server
Manager. In the Results window, click Server Manager.

2. Click Dashboard in the left pane.

3. Click Add roles and features. Add Roles and Features can also be opened from
the Manage menu in the top right-hand corner.

4. On the Before You Begin window, click Next.

5. In Installation Type, click Role-based or feature-based installation. Click Next.

6. In Server Selection, click Select a server from the server pool, click the desired server,
and click Next. The Server Selection window lists the servers that have been added
using Add Server in Server Manager. By default, it selects the local server. Add Servers
to Server Manager lists the steps to use Add Server on Windows Server 2012.

7. In the Server Roles window, click Next.

8. In the Features window, check SMTP Server. If prompted, click Add Features.
Click Next.

9. In Confirmation, select Restart the destination server automatically if required, and


click Install. When complete, click Close.

Configure the SMTP Server


The following steps configure the SMTP Virtual Server using the IIS 6.0 Manager:

1. Open the IIS Manager: Click the Windows button on the keyboard. Type IIS. In
the Results window, click Internet Information Services (IIS) 6.0 Manager.

2. Expand the computer name. Right-click [SMTP Virtual Server #1] and click Properties.

3. In the Access tab, click the Relay button.

4. Click Add. For Single Computer, enter 127.0.0.1 and click OK.

By adding 127.0.0.1, we are allowing the local server to send messages from this SMTP
Server. If you want additional computers to send messages from this SMTP server, enter
their IP addresses.

5. In the Delivery tab, click Outbound Security. Choose from the following:

Anonymous access: An account name or password is not required. This option disables
authentication for the SMTP Server.
Basic authentication: The account name and password of the server that you are
connecting to are sent as clear text. This account you enter transmits the e-mails. Basic
Authentication can be selected when sending e-mail to a personal account or an
Exchange account. Because the credentials are passed in clear text, it is recommended to
enable TLS encryption.

Integrated Windows Authentication: The Windows domain account name and


password are used to authenticate. The account you enter transmits the e-mails.

TLS encryption: Similar to SSL, TLS secures the connection. Requires a valid SSL server
certificate installed on this server.

Tip

To test core SMTP functionality with a personal e-mail account, including an Exchange account, sele
authentication is selected, SMTP uses the AUTH command. Some e-mail providers may fail because
AUTH command fails, an error may be logged in the Windows event logs on the SMTP Server.

6. In the Delivery tab, click Outbound connections. By default, the TCP Port is 25. A
different port can be entered if it is open within your firewall. Click OK.

7. In the Delivery tab, click Advanced. By default, the Fully Qualified Domain Name of the
local server is listed. Depending on the internet provider, theSmart Host property can
remain empty. You may need to contact the internet provider to confirm if a Smart Host
is required. Otherwise, you may be able to enter smtp.EMailProvider.com.

Note

A Smart Host, also known as a relay host, is a dedicated server used by an Exchange Server to route
the Smart Hostreceives the messages, the Smart Host forwards the messages to a remote domain. T
improve performance of an Exchange Server. The Exchange Server only transmits to the smart host;
remote domain until a connection is made.

8. Click OK to close all windows.


9. Restart the SMTP Server: Right-click [SMTP Virtual Server #1], click Stop, and then
click Start. A restart is needed to apply the SMTP Server settings.

Test the SMTP Server


Telnet can be used to test the SMTP Server configuration. The following steps send a message
using your configured SMTP Server to an e-mail
address.http://support.microsoft.com/kb/153119 provides descriptions of the telnet commands.

1. Open a command window as Administrator:

Windows Server 2008 R2 : Click Start and type command in the Search text box. Right-
click Command Prompt and click Run as administrator.

Windows Server 2012 : Click the Windows button on the keyboard. Type command. In
the Results window, right-click Command Prompt and click Run as administrator in the
task bar.

2. In the command prompt, type:

telnet localhost 25

If telnet is not installed, install it by typing:

pkgmgr /iu:"TelnetClient"

3. Start communication by typing:

EHLO server

4. Enter the Mail From address:

MAIL FROM: YourEmailAddress@YourProvider.com

For example, enter:

MAIL FROM: EmailAddress@outlook.com

5. Enter the Mail To address:

RCPT TO: YourEmailAddress@YourProvider.com

For example, enter:

RCPT TO: EmailAddress@outlook.com


6. Tell the SMTP Server you are ready to send data by typing:

DATA

7. Enter the Subject by typing:

Subject: Test Message

8. Hit Enter twice.

9. Enter the message body by typing:

This is the message body of the test message.

10. Hit Enter, type a period (.), and hit Enter.

Check the RCPT TO address for the e-mail message. If the e-mail is not delivered (Check your
Inbox and Spam folder), then the message was not successfully sent and resides in the SMTP
Queue folder (C:\inetpub\mailroot\Queue).

Vous aimerez peut-être aussi