The 20 Minute E-mail Solution!
TOC PREV NEXT INDEX

Setting Up a Mail Gateway


You can set up IMail Server to function as a mail gateway for another mail server so that mail for the other server is sent and received through the IMail Server. Often, people set up a mail gateway because their mail server uses a dial-up connection and is not always connected to the Internet.

If you want IMail Server to be a gateway for another mail server, the other server must be running SMTP.

To set up IMail Server as a gateway for another mail server, check the following:

This works because IMail Server checks the hosts file and IP information before checking the DNS server. IMail Server queues the mail until it is delivered to the other server, or until the Retry Timer setting multiplied by the Number of Tries has elapsed.

The following example shows how you can set up IMail Server to accept mail for a domain (domain2.com) and forward all mail for this domain to another SMTP server. Assume the following:

Other mail domain name	domain2.com

Host name of other SMTP server:	other_SMTP_server
IP address of other SMTP server:	156.21.50.240
 
Host name of IMail Server:	my_imail_machine
IP address of IMail Server:	156.21.50.10 

When Windows looks up a domain name, it first searches the \winnt\system32\drivers\hosts file. So, in the hosts file point the domain name to the IP address of the other SMTP server:

156.21.50.240 domain2.com
Note: You can use the ETRN command to manually retrieve mail from the ISP's mail server. See "Using ETRN to Retrieve Mail" for more information.


Ipswitch, Inc.
http://www.ipswitch.com
TOC PREV NEXT INDEX
©Ipswitch 2004