Knowledge Base |

# SMTP: Maintaining Config and Addresses On Re-Install, Upgrade

Article ID: 118564

Article Last Modified on 10/30/2006

APPLIES TO

- Microsoft Mail Gateway to SMTP 2.1
- Microsoft Mail Gateway to SMTP 3.0

This article was previously published under Q118564
Here is how to save the Microsoft Mail Gateway to SMTP post office address list and the current SMTP setup configuration information when you re- install SMTP or move from version 2.1 to 3.0:

1. Save the SMTP Address List: Extract the address list from the gateway post office before you remove any portion of the gateway. Use the Import program with the -X and -GSMTP options to specify extract and address type of SMTP. The -F specifies a text file to be created with these names.
   For example:

   Import -x -gsmtp -fsmtplist.txt admin -ppassword -dm

   Where SMTPLIST.TXT is a text file of all SMTP names and the post office resides on drive M.
2. Save Configuration: Save M:\SMTP\*.CFG files to another location, besides the \SMTP subdirectory (this saves your configuration files, so you do not have to reconfigure the gateway). Use the MS-DOS Copy command.
3. Remove and Re-Install the SMTP gateway:
   1. Insert the SMTP access diskette ("MS Mail Gateway Access for SMTP") into a floppy drive and type `install-r` [ENTER].
   2. Insert the SMTP gateway diskette ("MS Mail Gateway to SMTP") into a floppy drive and type `install-r` [ENTER].
   3. Connect to the post office you now want as the Gateway post office.
   4. Insert the SMTP gateway diskette ("MS Mail Gateway to SMTP") into a floppy drive and type `install` [ENTER].
   5. Insert the SMTP access diskette ("MS Mail Gateway Access for SMTP") into a floppy drive and type `install` [ENTER].
4. Restore the SMTP Address List: Import the list of names created in the first step. This places all the SMTP names on the new or udpated post office.
   For example:

   Import -gsmtp -fsmtpname.txt admin -ppassword -dn

   Where SMTPLIST.TXT contains the SMTP names and the new post office is off the N drive.
5. Restore configuration: Copy previously saved *.CFG files to the new post office database, in \SMTP\*.CFG. Check the configuration in the Admin program. You can use the MS-DOS Copy command to accomplish this.

## REFERENCES

"Microsoft Mail to Gateway to SMTP Administrator's Guide," chapter 2.

Additional query words: 2.10 install reinstall

Keywords: KB118564