Unable to Send or Receive Internet Mail

This section describes how to troubleshoot the following problems:

Solutions

To successfully send and receive Internet Mail, check the following:

Verifying the Site Address

The default Microsoft Exchange Server simple mail transport protocol (SMTP) domain name is based on the organization and site name specified during installation. For example, Ferguson and Bardell's organization name (FAB) and site name (NAmerica-SW) are used to generate the following domain name.


namerica-sw.fab.com

The domain name is appended to the mailbox name to generate an SMTP address for messages sent through the Internet Mail Connector. For example, a user named Fran Wilson sending an SMTP message from this site has the following SMTP address.


franwilson@namerica-sw.fab.com

It is important to verify that the SMTP address for the site is the same address you specified in DNS or the hosts file. To check the SMTP site address, complete the following steps:

    1. In the Administrator window, choose Configuration.

    2. Double-click Site Addressing.

    3. Select the Site Addressing tab.

    4. If the SMTP site address is incorrect, edit it.

Make a note of the site address for later use.

For more information about site addresses, see the Microsoft Exchange Server Concepts and Planning Guide and the Microsoft Exchange Server Administrator's Guide.

Verifying the Windows NT TCP/IP DNS Settings

Whenever possible, the TCP/IP DNS host and domain names should match the Microsoft Exchange Server organization and site names. Check the Windows NT TCP/IP configuration by completing the following steps:

    1. In Control Panel, choose the Network icon.

    2. In the Installed Network Software box, select TCP/IP Protocol, and then choose Configure.

    3. Choose DNS.

    4. Verify that the DNS Host Name is the Microsoft Exchange Server site name and the DNS Domain Name is the Microsoft Exchange Server organization name. If you use a host and domain name that is different from the site and organization name, be sure that your domain name server has a mail exchanger (MX) record.

For more information about organization and site names, see the Microsoft Exchange Server Concepts and Planning Guide and the Microsoft Exchange Server Administrator's Guide. For more information about Windows NT TCP/IP, see the Windows NT Server documentation.

Verifying the DNS Configuration

If you do not maintain a DNS server in your organization, you will need to work with your Internet provider to ensure the correct DNS records are specified for your organization. It is important to understand how address (A) records and MX records are used to verify their accuracy.

Internet mail and DNS settings are similar to letters and the postal system. The post office delivers a letter based on the street name and street number specified on the envelope. Internet mail is delivered through a query to DNS based on the domain name specified for the recipient. An A record is like the street address, and an MX record is the street number.

The A record should match the domain name in the Windows TCP/IP configuration. If the site name does not equal the host name specified in DNS, you need an MX record. For more information, see the Microsoft Exchange Server Administrator's Guide.

In the example, the TCP/IP host name is tucson03 and the domain name is fab.com. The SMTP site address is @NAmerica-SW.fab.com. It is likely that a message will be sent user@fab.com rather than user@NAmerica-SW.fab.com, so an MX record is needed to correlate NAmerica-SW (the house number) with fab.com (the street name). To ensure the message is delivered, the A record and MX record look like the following.


Tucson03.fab.com.    IN A 10.31.67.198
NAmericaSW.fab.com IN MX 10 Tucson03.fab.com.

For more information about DNS, see the Microsoft Exchange Server Concepts and Planning Guide, the Microsoft Exchange Server Administrator's Guide, and your DNS server documentation.

Verifying the Address Space

The address space of a connector creates a path for messages. It identifies the recipient type and addresses that the message passes through. If the address space is not defined, messages will not pass through it. If the address space is incorrect, some messages may not pass through it. Verify the address space for the Internet Mail Connector by completing the following steps:

    1. In the Administrator window, choose Connections.

    2. Double-click Internet Mail Connector.

    3. Select the Address Space tab.

    

In this case, the address space is configured to process all SMTP type addresses (*.*). If the address space is not defined, create a new one. If it is not defined correctly, edit it.

For more information about address spaces, see the Microsoft Exchange Server Administrator's Guide.

Using the Internet Mail Connector DNS Resolver Test

The Internet Mail Connector DNS Resolver Test performs a DNS query for MX records that match the specified domain. A list is created of one or more IP addresses in the same order of preference the Internet Mail Connector uses in its attempt to deliver mail for that domain.

If the MX query returns no results, a query for the A record matching the domain is performed. The result is a single IP address. If the A record search returns no results, the host file on the local computer is checked. If a match is found, the result is a single IP address.

The DNS Resolver Test is useful for checking DNS or host file configurations and for troubleshooting delivery problems.

Run the Internet Mail Connector DNS Resolver Test from the Support\Utils directory on the Microsoft Exchange Server compact disc. Run the test from the same computer that runs the Internet Mail Connector after TCP/IP and DNS are configured.

To run the IMC DNS Resolver Test with options, type the following at the command prompt.


restest [-debug] domain

Using -debug causes additional information to be displayed at each step of the search.