IMail - SMTP store and forward and ETRN

Product: Version: Platform:
IMail 5.0+ NT,Win2000,XP,Win2003

Question/Problem: Is there a step-by-step procedure the get this to function properly?

Answer/Solution: If your mail server is company1.com and you want to store and forward mail for company2.com, do the following:

1.) Remove ALL references from the IMail Virtual Hosts Configuration screens to company2.com. In other words, the text 'company2.com' should NOT be listed in any of the Official Hostname fields or the Aliases fields

2.) Add the IP address for the mail server to handle company2.com to the SMTP Security settings called 'Relay Mail for'

3.) Add a line to your c:\winnt\system32\drivers\etc\hosts file like:
123.123.123.123    mail.company2.com company2.com

4.) Update the DNS zone file for company2.com by adding the following MX
records:
@ IN MX 10 company2.com.
@ IN MX 20 company1.com.

Note that the mail server for company2 MUST have a static IP address.

To use ETRN, telnet to port 25 on the IMail machine and issue the ETRN
command for the domain (ETRN domain.com).

The SMTP log will then have lines like:

250 queuing for node domain.com started
QUIT
Goodbye

IMail just got the ETRN request at this point.

Then you will see (in the SMTP log file):
SMTP "directed delivery for domain.com"

This message will only appear if there was mail to deliver to that domain.

The 'directed delivery' message means that IMail is attempting to deliver the mail for domain.com. This message would not be shown if IMail were processing the queue based on the queue timer.

See also:
IMail Server 8.2 User's Guide - Using ETRN to Retrieve Mail

Document #: Revision Date:
IM-19990603-DM02 05/11/05
tools: | Furl this page

Return To KnowledgeBase Search Page