Configuring SMTP Virtual Server Relay for Remote Domains
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1
You can configure an SMTP virtual server to relay incoming mail to your SMTP/POP3 server. The SMTP virtual server can also accept and relay mail to other domains within your organization.
Specifying a relay server overrides the smart host setting in the Advanced Delivery box of the SMTP virtual server.
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".
Procedures
To configure an SMTP virtual server to relay mail to a remote domain
In IIS Manager, double-click the SMTP virtual server that you want to configure, right-click Domains, point to New, and then click Domain. The New SMTP Domain Wizard starts.
Click Remote, and then click Next.
In the Name box, type a name for the remote domain, and then click Finish.
Note
You can specify a single domain, or you can specify more than one domain by using an asterisk (*) as a wildcard character. The asterisk must be at the beginning of the name and be separated from the rest of the name by a period.
In IIS Manager, right-click the new remote domain, and then click Properties.
On the General tab, select the Allow incoming mail to be relayed to this domain check box to allow the SMTP server to act as a mail relay.
On the General tab under Route domain, click Forward all mail to smart host, and then type the fully qualified domain name or the IP address of the internal network corporate mail server through which you would like to route messages for this remote domain.
Note
If you use an IP address, enclose the IP address in brackets []. The brackets identify the value as an IP address, bypassing DNS lookup and increasing performance.
Click OK, and then stop and restart the SMTP virtual server.
After you configure the remote domain, all mail that is addressed to the remote domain is relayed to the smart host that you configured. Mail that is not deliverable is stored in the Inetpub\Mailroot\Badmail folder.