• No results found

Configure SMTP in IIS 7

N/A
N/A
Protected

Academic year: 2021

Share "Configure SMTP in IIS 7"

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)

Configure SMTP E-Mail in IIS 7

(2)

© 2011 Gulf Solutions Group. All rights reserved.

2

Contents

R

EQUIREMENTS AND

R

ECOMMENDATION

D

ISCLAIMER

... 3

I

NSTALL

SMTP ... 5

C

ONFIGURE

R

ELAY FOR

SMTP

V

IRTUAL

S

ERVER

... 6

C

ONFIGURE

SMTP

E-

MAIL FOR

W

EB

A

PPLICATION

... 7

C

ONFIGURING

S

MART

H

OSTS

(IIS

6.0)... 8

T

O SET UP A SMART HOST

... 8

(3)

© 2011 Gulf Solutions Group. All rights reserved.

3

R

EQUIREMENTS AND

R

ECOMMENDATION

D

ISCLAIMER

Whilst every effort has been made to ensure that the information and content within this document is accurate, up-to-date and reliable, Gulf Solution Group disclaims any and all liability as to any results or conditions arising after the application of this information. Actions taken from information in the document are solely at the user's own risk. The user should thoroughly test the information in a non-production environment first before applying it to LIVE

environment

This document also contains links to third-party sites which are not under the control of gulf solution and gulf solution is not responsible for the contents on any linked site or any link contained in a linked site, or any changes or updates to such sites. Gulf solution is providing these links to you only as a convenience, and the inclusion of any link does not imply that gulf solution endorses or accepts any responsibility for the content on such third-party sites

Important Note

Performance and response time are affected by many factors related to hardware (such as RAM, processor speed, and hard disk subsystem performance), network configuration (such as NIC performance, cable type, topology, operating system, parameters, and traffic), and the database (such as size, number of concurrent users, and the type of activities each user is performing). In addition, network and workstation operating systems, third-party software products, and our own products are continuously updated with new features and options, which often place greater demands on hardware.

Gulf Solutions Group staff may provide limited informal guidance based on information made available. However, neither these system requirements nor our staff's guidance constitute a guarantee of compatibility, outcome, or performance. We encourage organizations to consult their own IT System's Staff or external experts to ensure optimum results. Comprehensive technical consulting services are available through Gulf Solutions Group and under a separate consulting arrangement; our consultants evaluate the installation of all Gulf Solutions Group applications and

recommend optimal hardware/system configuration options. Email support@gulfsolution.com for more information.

(4)

© 2011 Gulf Solutions Group. All rights reserved.

4

Note

The e-mail configuration settings are consumed by the classes in the System.Net.Mail namespace. ASP.NET applications must use this namespace in for the configuration settings to have any effect.

Note

The SMTP server is not installed by default. SMTP can be added through the Features Summary area of the Server Manager tool in Windows Server® 2008.

(5)

© 2011 Gulf Solutions Group. All rights reserved.

5

I

NSTALL

SMTP

The SMTP server is not installed by default.

1. Open Server Manager by right-clicking on My Computer, and selecting Manage. (Alternately, open Control Panel, click on Programs and Features, and then select Turn Windows features on or off.)

2. Under Features, select Add Features. 3. Select the SMTP Server check box.

4. Click Add Required Role Services. If there are any missing roles required for the SMTP installation, Windows Server® 2008 R2 or Windows Server® 2008 installs them. Click Next.

5. You need to step through the entire wizard again; even though IIS is already installed (IIS 6 Management Compatibility and the IIS 6 Management Console must be installed for SMTP to work).

(6)

© 2011 Gulf Solutions Group. All rights reserved.

6

C

ONFIGURE

R

ELAY FOR

SMTP

V

IRTUAL

S

ERVER

1. Enable Relay for localhost:

a. Open the Internet Information Services (IIS) 6.0 Manager. b. Right-click on Default SMTP Virtual Server.

2. On the Properties page, open the Access tab, and then click on Connection. You can see which server or IP addresses are allowed to connect to the server.

3. If the IP address 127.0.0.1 is not listed, add it using the Add button. You may also add your server IP address to the list.

4. Click OK to accept the information.

5. Click the Relay button on the Access tab, and set up the relay options for the server. Ensure that localhost and the IP address 127.0.0.1 are granted permission to relay mail.

6. Click OK to accept the options, and then click Apply and OK to return to the main page of the IIS Manager. 7. Click Restart IIS.

(7)

© 2011 Gulf Solutions Group. All rights reserved.

7

C

ONFIGURE

SMTP

E-

MAIL FOR

W

EB

A

PPLICATION

Use the User Interface

1. Open Internet Information Services (IIS) Manager, and then navigate to the level you want to manage. 2. Click on website/virtual directory.

3. Double click on Application Settings.

(8)

© 2011 Gulf Solutions Group. All rights reserved.

8

C

ONFIGURING

S

MART

H

OSTS

(IIS

6.0)

You can route all outgoing messages for remote domains through a smart host instead of sending them directly to the domain. This enables you to route messages over a connection that may be more direct or less costly than other routes. The smart host is similar to the route domain option for remote domains. The difference is that, after a smart host is designated; all outgoing messages are routed to that server. With a route domain, only messages for the remote domain are routed to a specific server.

Important

Make sure your designated smart host is secure and administered by a trusted authority, especially when forwarding sensitive information.

If you set up a smart host, you can still designate a different route for a remote domain. The route domain setting overrides the smart host setting.

You can identify the smart host by fully qualified domain name (FQDN) or an IP address (but if you change the IP address, you would have to change it on every virtual server as well). If you use an IP address, enclose it in brackets ([ ]) to increase system performance. The SMTP service checks first for a server name, and then an IP address. The brackets identify the value as an IP address, so the DNS lookup is bypassed.

Important

you must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /User:Administrative_AccountName "mmc systemroot\system32\inetsrv\iis.msc".

T

O SET UP A SMART HOST

1. In IIS Manager, right-click the SMTP virtual server, and then click Properties. 2. Click the Delivery tab, and click Advanced.

3. In the Smart host box, type the name of the smart host server. You can type a string to represent a name or enter an IP address.

4. If you want the SMTP service to attempt to deliver remote messages directly before forwarding them to the smart host server, select the Attempt direct delivery before sending to smart host check box. The default is to send all remote messages to the smart host, not to attempt direct delivery.

(9)

© 2011 Gulf Solutions Group. All rights reserved.

9

R

EFERENCES

http://www.iis.net/

(10)

© 2011 Gulf Solutions Group. All rights reserved.

10

Configure SMTP E-Mail in IIS 7

Dubai

Corporate Head Office:

Dubai Internet City, Building No. 2, Suite 212, Dubai - United Arab Emirates. Telephone: +971 4 3910 470 | www.gulfsolution.com | info@gulfsolution.com

Karachi

Park Avenue, Suite 404, Shahrah-E-Faisal, Karachi - Pakistan.

Telephone: +92 213 4304 784 | www.gulfsolution.com.pk | info@gulfsolution.com.pk

Bahrain

References

Related documents

In part I, we discussed organizational compliance related to information technology and what audits data centers need to pass to be compliant, what to look for in a data

Brake options include Meritor EX225-H air disc brakes and Meritor 16.5" x 8.625" Cast Plus cam brakes featuring a single-piece cast shoe, extended-life brake linings and

Comprehensive documentation for each File Management and Executive Control statement, Case Control command, and Bulk Data entry is located in the NX Nastran Quick Reference

10, the source apportionment of the light absorption by insoluble particles in the surface glaciers is dominated by mineral dust and the industrial pollution in

In tIme first three quarters of the year, reported output per man-hour declined at about a 3 percent annual rate, By marked contrast, from early 1970 to the end of 1973, output

• Wireless Thermostat – convenient control over the temperature in your home from any Control4 touch screen, keypad or remote.. Safety

Install a new Exchange Server 2007 computer as an Edge Transport server and configure an SMTP Send Connector to use the branch office routing group bridgehead server as a smart

If the SMTP server requires you to authenticate before sending an email, then use this parameter to specify the password