Managing the SMTP Server


If you've installed the SMTP mail delivery service component, you'll need to take a moment to configure it so it can deliver mail generated by your Web sites or MSMQ applications.

Open the Internet Information Services manager as discussed earlier in this chapter (Start, Control Panel, Performance and Maintenance, Administrative Tools, Internet Information Services will do it). Open the Default SMTP Virtual Server entry. Right-click Default SMTP Virtual Server and select Properties, to display the configuration dialog shown in Figure 13.5.

Figure 13.5. Managing the SMTP Server.


There are four settings you should consider:

  • Relaying Relaying is the process of receiving mail from the outside world, and then sending it on to recipients in the outside world. Mail servers that do this are quickly exploited by people who send "spam," or junk email. To avoid this, by default, your mail server will not accept outgoing mail from any other computer. If you want it to deliver mail for other computers on your network, you'll have to tell it which computers are allowed to relay. On the Access tab, click Relay, and then Add. Select Group of Computers and enter your computer's IP address and subnet mask. Click OK to close the Add box. This will make the server relay mail for computers on your network but no others.

  • Message Size On the Messages tab, you can configure the maximum message size and maximum number of messages that someone can send at once. You can uncheck all of the "Limit" boxes if you trust the users on your network not to send spam.

  • Delivery By default, the SMTP server will attempt to deliver all mail to all recipients by itself. If you want to give this job to your ISP's mail server, you can tell SMTP to send all mail to a "smart host" for delivery. To do this, on the Delivery tab, click Advanced. Under Smart Host enter the name of your ISP's SMTP server. If you have to authenticate with the server to send mail, click on the Outbound Security button to enter the required name and password.

  • Receiving domains If you want this SMTP server to receive mail, you'll have to tell it what domains are "local." Mail addressed to any other domains is considered "outside" mail and will be sent out to the Internet. As I mentioned, Windows XP Professional doesn't come with any means of delivering any email that the SMTP service receives. If you devise one, you'll need to configure the local domain list. On the Internet Information Services manager window, select Domains in the left pane. Right-click the default name that appears in the right pane and select Rename. Change the name to your desired domain name, such as "mycompany.com". This way any mail received for "somebody@mycompany.com" will be stored rather than sent back out again. You can add additional domains by right-clicking Domains and selecting New, Domain.



Special Edition Using Microsoft Windows XP Professional
Special Edition Using Microsoft Windows XP Professional (3rd Edition)
ISBN: 0789732807
EAN: 2147483647
Year: 2003
Pages: 450

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net