RTFM, as they say...

>From the IMail 7.1 manual, regarding "Setting up IMail Server as a Mail
Gateway":

"The IMail Server host must be able to resolve the domain name to
the IP address of the other SMTP server. This is accomplished by
making an entry for the domain name and IP in the hosts file
(\winnt\system32\drivers\etc\hosts) on the IMail Server host."

The MX record for the problematic domains was set to the IP address of the
final destination server.  The HOSTS file didn't have that IP address in it.
So, Imail checks the HOSTS file first, finds nothing, then does the MX
lookup, wasn't happy, so it tried to use the TCP Stack, and I got Stack
errors.

Thanks for all the support,

-Jeff

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jeff
Sent: Wednesday, February 26, 2003 7:00 PM
To: [EMAIL PROTECTED]
Subject: RE: [IMail Forum] mail not relaying (fixed?)


In the HOSTS file on the old mail server, there were IP/domain entries for
the sites that mail is relayed for.  On the new DNS/Mail server, there was
only localhost, so I copied from one to the other the relevant sites, and
mail is sending out fine now.  Very cool.

Support at ipswitch, however, seems to consider what I did a hack.  This is
all extremely new to me (Sys admin left the company, the backup took another
position, so this is my trial by fire...IMail, DNS, IIS, all of it), so I
honestly don't know.  If we take on a company for hosting, and they just
want us to relay mail to them, is it incumbent on me to add to that HOSTS
file, or are the additions made through another route?  The 'backup' sys
admin who took another position wants to do a complete reinstall of IMail,
believing that we have a corrupt install.  Right now, everyone is getting
mail, so I'm not interested.

I would really appreciate feedback on the fix/hack/other that I used, and
whether it's good practice or not.

Many thanks,

-Jeff


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of R. Scott Perry
Sent: Wednesday, February 26, 2003 12:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [IMail Forum] mail not relaying



>If IMAIL handles mail for the domain,
>everything works fine.  The problem is, mail that relays to an outside
>server isn't working.

It sounds like your DNS server either isn't set up to allow recursive DNS
lookups, or isn't allowing the IP of the IMail server to perform recursive
DNS lookups.  That would explain the problem, as it would return MX records
that it has stored locally, but not ones stored on other DNS servers.

>Mail is originating from IP 209.251.142.17 (where the DNS for this site
>resolved currently), and then tries to send out through the new DNS server
>(209.208.51.130).

If you have IMail and DNS on the same server, you'll want to change that to
127.0.0.1 (localhost).  That way, you don't have to worry about any
potential routing issues, which are common when trying to route E-mail from
a server to itself.

>We did this, trying 209.208.51.130, then 127.0.0.1, and neither work.

What happens when you do the following:

         nslookup
         server 127.0.0.1
         set type=mx
         hotmail.com

Does it give the MX records for Hotmail, or a "Refused" or similar response?

>Any mail that doesn't relay to an outside server is sending/receiving mail
>correctly, it's just those that relay.  Naturally, this includes our client
>with the largest mail volume.

Ah, so the problem is *incoming* E-mail to domains that IMail handles
(relays), but does not store locally (and all outgoing E-mail and incoming
E-mail to locally hosted domains is fine)?  That is a different issue.

In this case, IMail does correctly go to the HOSTS file -- that is by
design, and just how IMail works.

                                                    -Scott
---
Declude JunkMail: The advanced anti-spam solution for IMail mailservers.
Declude Virus: Catches both viruses and vulnerabilities in E-mail, with no
annual licensing fees.

---
[This E-mail was scanned for viruses by Declude Virus
(http://www.declude.com)]


To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/




To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/




To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to