Wrong, you are thinking of lmhosts.  The hosts file gets read every time a
query gets made.

Bill
----- Original Message ----- 
From: "Bruce Barnes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 18, 2003 3:29 AM
Subject: RE: Re[2]: [IMail Forum] DNS Used Rather Than Hosts for Local Mail
Servers


> Did you REBOOT after modifying the HOSTS file?  The hosts file is only
read
> by the operating system at the time of the system boot.  If you are
running
> a Windows based operating system, changes made without rebooting a machine
> will not be known by the OS until the machine is rebooted.
>
> Bruce Barnes
> ChicagoNetTech
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> [EMAIL PROTECTED]
> Sent: Sunday, August 17, 2003 18:44
> To: [EMAIL PROTECTED]
> Subject: Re: Re[2]: [IMail Forum] DNS Used Rather Than Hosts for Local
> Mail Servers
>
>
> The Hosts file is in the correct folder (c:\Windows\System32\Drivers\Etc)
> and the SMTP service is using the Local System Account. When I check the
> SMTP log, the IMail server looks like it will read the first domain (after
> localhost) and properly use the private IP for delivery.
>
> If I send a message to the second domain in the Host file list (after
> localhost), the send fails and the message is delivered via the gateway.
>
> All I can say is "Weird...."
>
> Also, I thought maybe there was an update so I downloaded and tried to
> install the 8.02 version. I'm using the Eval 8.01 but the patch would not
> install.
>
> Kathy
>
> ----- Original Message -----
> From: "Sanford Whiteman" <[EMAIL PROTECTED]>
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Sent: Sunday, August 17, 2003 7:13 PM
> Subject: Re[2]: [IMail Forum] DNS Used Rather Than Hosts for Local Mail
> Servers
>
>
> > > ...curious to know why IMail keeps using DNS before Hosts.
> >
> > Is  it,  in fact, using HOSTS at all? If you add a static mailroute to
> > HOSTS  for  a  domain  which  does  not exist via DNS, does IMail then
> > attempt to route using the HOSTS entry?
> >
> > If not, then your HOSTS file may be located in the wrong directory, or
> > the  impersonated  service user may not have rights to the file for an
> > odd reason.
> >
> > -Sandy
> >
> >
> > ------------------------------------
> > Sanford Whiteman, Chief Technologist
> > Broadleaf Systems, a division of
> > Cypress Integrated Systems, Inc.
> > e-mail: [EMAIL PROTECTED]
> > ------------------------------------
> >
> >
> > 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/
>


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