If you are using a dial-up connection and receiving your IP address dynamically, you must use a custom command to de-queue your mail. One example of a custom command that handles dynamic IP addressing is Sbsetrn.exe. Sbsetrn.exe is a special form of ETRN designed and implemented by Microsoft. This command allows for the delivery of mail to SMTP hosts with dynamically allocated IP addresses. Sbsetrn.exe is located in the %systemdrive%\SmallBusiness directory. Because your server is allocated an IP address dynamically, Sbsetrn.exe creates a WINS entry to identify your server to your ISP's mail server and then routes your mail appropriately.
The parameters for Sbsetrn.exe are read from the registry unless otherwise specified. When scheduling the task, the parameters can be included with the function call or the parameters will be read from the registry.
Usage: sbsetrn [-n name] [-d domain] [-s SMTP server] [-l]
Parameters:
Flag | Required | Description | Corresponding registry key |
n | Yes | Server NetBIOS name | HKLM\Software\Microsoft\Small Business\Internet\MS_IMS\ Mail_DeliveryKey |
d | No | Domain name | HKLM\Software\Microsoft\Small Business\Internet\MS_IMS\ Mail_Domain_Name or HKLM\Software\Microsoft\Small Business\Internet\Domain Registration\Domain Name (if it exists) |
s | No | ISP's SMTP server name | HKLM\Software\Microsoft\Small Business\Internet\MS_IMS\ Mail_Route_Host_Name |
w | Yes | IP address or name of WINS server | HKLM\Software\Microsoft\Small Business\Internet\MS_IMS\WINS_Address and HKLM\Software\Microsoft\Small Business\Internet\MS_IMS\WINS_Alt_Address |
l | No | Local echo |   |
e |   | Delay |   |