PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Host's IP address can't be found
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Host's IP address can't be found

Réponse
 
LinkBack Outils de la discussion
Vieux 28/04/2007, 19h50   #1
Gloria Brown
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Host's IP address can't be found

I installed Etch on a stand-alone workstation which is the sole host on
a local network and has Internet access through a hardware firewall.

I have a MB ethernet chip, but am using a NIC card. Before the card was
eth0, but with installation of Etch on a new disk, it apparently changed
to eth1.

I can't mail out with rmail or Wanderlust because the host's IP address
can't be found:

In exim4/mainlog when I use rmail:

2007-04-28 06:55:20 1HhkaF-0000qy-WE <= brownh@teufel.hartford-hwp.com
U=brownh P=local S=448
2007-04-28 06:55:20 1HhkaF-0000qy-WE no IP address found for host
brownh@hartford-hwp.com
2007-04-28 06:55:20 1HhkaF-0000qy-WE == brownh@teufel.hartford-hwp.com
R=smarthost defer (-1): lookup of host "brownh@hartford-hwp.com"
failed in smarthost router

/etc/hosts:

127.0.0.1 localhost
192.168.1.1 teufel.localdomain teufel

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

$ host hartford-hwp.com
hartford-hwp.com has address 64.227.154.66
hartford-hwp.com mail is handled by 5 inbound.registeredsite.com.

$ netstat -rn teufel
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
192.168.111.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 192.168.111.1 0.0.0.0 UG 0 0 0 eth1

In /etc/network/interfaces:

auto lo
iface lo inet loopback

auto eth1
allow-hotplug eth1
iface eth1 inet dhcp
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255

In /etc/nsswitch.conf, I have:

...
hosts: files dns
networks: files
...

Haines Brown



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/04/2007, 20h40   #2
Douglas Allan Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Host's IP address can't be found

Not trimming on purpose, see below:

On Sat, Apr 28, 2007 at 02:35:03PM -0400, Gloria Brown wrote:
> I installed Etch on a stand-alone workstation which is the sole host on
> a local network and has Internet access through a hardware firewall.
>
> I have a MB ethernet chip, but am using a NIC card. Before the card was
> eth0, but with installation of Etch on a new disk, it apparently changed
> to eth1.
>
> I can't mail out with rmail or Wanderlust because the host's IP address
> can't be found:
>
> In exim4/mainlog when I use rmail:
>
> 2007-04-28 06:55:20 1HhkaF-0000qy-WE <= brownh@teufel.hartford-hwp.com
> U=brownh P=local S=448
> 2007-04-28 06:55:20 1HhkaF-0000qy-WE no IP address found for host
> brownh@hartford-hwp.com
> 2007-04-28 06:55:20 1HhkaF-0000qy-WE == brownh@teufel.hartford-hwp.com
> R=smarthost defer (-1): lookup of host "brownh@hartford-hwp.com"
> failed in smarthost router
>
> /etc/hosts:
>
> 127.0.0.1 localhost
> 192.168.1.1 teufel.localdomain teufel
>
> ::1 ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
>
> $ host hartford-hwp.com
> hartford-hwp.com has address 64.227.154.66
> hartford-hwp.com mail is handled by 5 inbound.registeredsite.com.
>
> $ netstat -rn teufel
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt
> Iface
> 192.168.111.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 0.0.0.0 192.168.111.1 0.0.0.0 UG 0 0 0 eth1
>
> In /etc/network/interfaces:
>
> auto lo
> iface lo inet loopback
>
> auto eth1
> allow-hotplug eth1
> iface eth1 inet dhcp
> address 192.168.1.1
> netmask 255.255.255.0
> network 192.168.1.0
> broadcast 192.168.1.255
>
> In /etc/nsswitch.conf, I have:
>
> ...
> hosts: files dns
> networks: files


What does ifconfig show?
Tack the output here and don't trim so we see everything on one page.

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/04/2007, 21h10   #3
Gloria Brown
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Host's IP address can't be found

On Sat, 2007-04-28 at 15:37 -0400, Douglas Allan Tutty wrote:
> Not trimming on purpose, see below:
>
> On Sat, Apr 28, 2007 at 02:35:03PM -0400, Gloria Brown wrote:
> > I installed Etch on a stand-alone workstation which is the sole host on
> > a local network and has Internet access through a hardware firewall.
> >
> > I have a MB ethernet chip, but am using a NIC card. Before the card was
> > eth0, but with installation of Etch on a new disk, it apparently changed
> > to eth1.
> >
> > I can't mail out with rmail or Wanderlust because the host's IP address
> > can't be found:
> >
> > In exim4/mainlog when I use rmail:
> >
> > 2007-04-28 06:55:20 1HhkaF-0000qy-WE <= brownh@teufel.hartford-hwp.com
> > U=brownh P=local S=448
> > 2007-04-28 06:55:20 1HhkaF-0000qy-WE no IP address found for host
> > brownh@hartford-hwp.com
> > 2007-04-28 06:55:20 1HhkaF-0000qy-WE == brownh@teufel.hartford-hwp.com
> > R=smarthost defer (-1): lookup of host "brownh@hartford-hwp.com"
> > failed in smarthost router
> >
> > /etc/hosts:
> >
> > 127.0.0.1 localhost
> > 192.168.1.1 teufel.localdomain teufel
> >
> > ::1 ip6-localhost ip6-loopback
> > fe00::0 ip6-localnet
> > ff00::0 ip6-mcastprefix
> > ff02::1 ip6-allnodes
> > ff02::2 ip6-allrouters
> > ff02::3 ip6-allhosts
> >
> > $ host hartford-hwp.com
> > hartford-hwp.com has address 64.227.154.66
> > hartford-hwp.com mail is handled by 5 inbound.registeredsite.com.
> >
> > $ netstat -rn teufel
> > Kernel IP routing table
> > Destination Gateway Genmask Flags MSS Window irtt
> > Iface
> > 192.168.111.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> > 0.0.0.0 192.168.111.1 0.0.0.0 UG 0 0 0 eth1
> >
> > In /etc/network/interfaces:
> >
> > auto lo
> > iface lo inet loopback
> >
> > auto eth1
> > allow-hotplug eth1
> > iface eth1 inet dhcp
> > address 192.168.1.1
> > netmask 255.255.255.0
> > network 192.168.1.0
> > broadcast 192.168.1.255
> >
> > In /etc/nsswitch.conf, I have:
> >
> > ...
> > hosts: files dns
> > networks: files

>
> What does ifconfig show?
> Tack the output here and don't trim so we see everything on one page.
>
> Doug.
>


# ifconfig
eth1 Link encap:Ethernet HWaddr 00:A0:C9:B45:A8
inet addr:192.168.111.2 Bcast:192.168.111.255
Mask:255.255.255.0
inet6 addr: fe80::2a0:c9ff:feb4:d5a8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13510 errors:0 dropped:0 overruns:0 frame:0
TX packets:8205 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18629272 (17.7 MiB) TX bytes:601099 (587.0 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1766 errors:0 dropped:0 overruns:0 frame:0
TX packets:1766 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:622964 (608.3 KiB) TX bytes:622964 (608.3 KiB)

Thanks for the ,

Haines


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 29/04/2007, 00h30   #4
Douglas Allan Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Host's IP address can't be found

On Sat, Apr 28, 2007 at 03:48:39PM -0400, Gloria Brown wrote:
> On Sat, 2007-04-28 at 15:37 -0400, Douglas Allan Tutty wrote:
> > Not trimming on purpose, see below:
> >
> > On Sat, Apr 28, 2007 at 02:35:03PM -0400, Gloria Brown wrote:
> > > I installed Etch on a stand-alone workstation which is the sole host on
> > > a local network and has Internet access through a hardware firewall.
> > >
> > > I have a MB ethernet chip, but am using a NIC card. Before the card was
> > > eth0, but with installation of Etch on a new disk, it apparently changed
> > > to eth1.

[snip examples of the network not working]
> > >
> > > /etc/hosts:
> > >
> > > 127.0.0.1 localhost
> > > 192.168.1.1 teufel.localdomain teufel

[snip standard ipv6 entries]
> > >

> >
> > > $ host hartford-hwp.com
> > > hartford-hwp.com has address 64.227.154.66
> > > hartford-hwp.com mail is handled by 5 inbound.registeredsite.com.
> > >
> > > $ netstat -rn teufel
> > > Kernel IP routing table
> > > Destination Gateway Genmask Flags MSS Window irtt
> > > Iface
> > > 192.168.111.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> > > 0.0.0.0 192.168.111.1 0.0.0.0 UG 0 0 0 eth1

What host is this? ^^^ ^

> > >
> > > In /etc/network/interfaces:
> > >
> > > auto lo
> > > iface lo inet loopback
> > >
> > > auto eth1
> > > allow-hotplug eth1
> > > iface eth1 inet dhcp
> > > address 192.168.1.1
> > > netmask 255.255.255.0
> > > network 192.168.1.0
> > > broadcast 192.168.1.255
> > >

Why both dhcp _and_ static entries?

> > > In /etc/nsswitch.conf, I have:
> > >
> > > ...
> > > hosts: files dns
> > > networks: files

> >

> # ifconfig
> eth1 Link encap:Ethernet HWaddr 00:A0:C9:B45:A8
> inet addr:192.168.111.2 Bcast:192.168.111.255
> Mask:255.255.255.0
> inet6 addr: fe80::2a0:c9ff:feb4:d5a8/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:13510 errors:0 dropped:0 overruns:0 frame:0
> TX packets:8205 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:18629272 (17.7 MiB) TX bytes:601099 (587.0 KiB)
>
> lo Link encap:Local Loopback

[snip]

To summarize what I see:
Your nic gets assigned as eth1 by the kernel. If this changes, see man
interfaces; there's a get-mac-address.sh whereby you can set up
interfaces by mac address.

interfaces configures eth1 using dhcp (the other options are ignored).
If you wish to use static, change dhcp to static. Dhcp is assigning
this interface 192.168.111.2

The routing table is routing network 192.168.111.0 to a gateway of
192.168.111.1 (I'm assuming that this is the ip of your firewall box).

Your hosts file contains your hostname at 192.168.1.1 and I think this
is the crux of the problem.

I've never used a hardware firewall (I've always been on dial-up) nor
dhcp. I don't know how to have your NIC setup with dhcp but have an
entry for that NIC in /etc/hosts. A lot of people on this list use dhcp
so hopefully someone jumps in and tells you how to use it consistantly.

Barring that, I would suggest:
fix /etc/hosts so that the 192.168.1.1 is changed to
192.168.111.2.

fix interfaces to take out the extraneouse options.

Good luck,

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 29/04/2007, 13h30   #5
Gloria Brown
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Host's IP address can't be found

On Sat, 2007-04-28 at 19:25 -0400, Douglas Allan Tutty wrote:

> > > On Sat, Apr 28, 2007 at 02:35:03PM -0400, Gloria Brown wrote:
> > > > I installed Etch on a stand-alone workstation which is the sole host on
> > > > a local network and has Internet access through a hardware firewall.


> > > > /etc/hosts:
> > > >
> > > > 127.0.0.1 localhost
> > > > 192.168.1.1 teufel.localdomain teufel

> [snip standard ipv6 entries]
> > > >
> > >
> > > > $ host hartford-hwp.com
> > > > hartford-hwp.com has address 64.227.154.66
> > > > hartford-hwp.com mail is handled by 5 inbound.registeredsite.com.
> > > >
> > > > $ netstat -rn teufel
> > > > Kernel IP routing table
> > > > Destination Gateway Genmask Flags MSS Window irtt
> > > > Iface
> > > > 192.168.111.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> > > > 0.0.0.0 192.168.111.1 0.0.0.0 UG 0 0 0 eth1

> What host is this? ^^^ ^


This address is the default address of my hardware firewall, which is
acting as gateway for my one-host LAN.

> > > > In /etc/network/interfaces:
> > > >
> > > > auto lo
> > > > iface lo inet loopback
> > > >
> > > > auto eth1
> > > > allow-hotplug eth1
> > > > iface eth1 inet dhcp
> > > > address 192.168.1.1
> > > > netmask 255.255.255.0
> > > > network 192.168.1.0
> > > > broadcast 192.168.1.255
> > > >

> Why both dhcp _and_ static entries?


Dunno ;-(. Years ago, when I set up the firewall, I needed to use dhcp
in the interface, and for some reason I carried the pre-firewall
addresses over. If I drop them, how do I define IP addresses on my local
LAN should I add other local hosts to it? In otherwords, how do I define
the 192.168.1.1 address for the local host if I remove these static
addresses?

> > # ifconfig
> > eth1 Link encap:Ethernet HWaddr 00:A0:C9:B45:A8
> > inet addr:192.168.111.2 Bcast:192.168.111.255
> > Mask:255.255.255.0
> > inet6 addr: fe80::2a0:c9ff:feb4:d5a8/64 Scope:Link
> > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > RX packets:13510 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:8205 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0 txqueuelen:1000
> > RX bytes:18629272 (17.7 MiB) TX bytes:601099 (587.0 KiB)
> >
> > lo Link encap:Local Loopback

> [snip]
>
> To summarize what I see:

....
> interfaces configures eth1 using dhcp (the other options are ignored).
> If you wish to use static, change dhcp to static. Dhcp is assigning
> this interface 192.168.111.2
>
> The routing table is routing network 192.168.111.0 to a gateway of
> 192.168.111.1 (I'm assuming that this is the ip of your firewall box).


yes

>
> Your hosts file contains your hostname at 192.168.1.1 and I think this
> is the crux of the problem.


Didn't . Changed to 192.168.111.2 in /etc/hosts and removed the
static addresses in /etc/network/interfaces. Messages out still generate
the error: No IP address found for host brownh@hartford-hwp.com.
Incidentally, shouldn't this be in the form of an e-mail address rather
than, say, just my domain name?

> I've never used a hardware firewall (I've always been on dial-up) nor
> dhcp. I don't know how to have your NIC setup with dhcp but have an
> entry for that NIC in /etc/hosts. A lot of people on this list use dhcp
> so hopefully someone jumps in and tells you how to use it consistantly.
>
> Barring that, I would suggest:
> fix /etc/hosts so that the 192.168.1.1 is changed to
> 192.168.111.2.
>
> fix interfaces to take out the extraneouse options.
>
> Good luck,
>
> Doug.


Thanks Doug.

Haines


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 29/04/2007, 14h10   #6
Kent West
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Host's IP address can't be found

On 4/29/07, Gloria Brown <Gloria@artistsunitedforchristministries.org>
wrote:
>
> On Sat, 2007-04-28 at 19:25 -0400, Douglas Allan Tutty wrote:
>
> > > > On Sat, Apr 28, 2007 at 02:35:03PM -0400, Gloria Brown wrote:
> > > > > I installed Etch on a stand-alone workstation which is the sole

> host on
> > > > > a local network and has Internet access through a hardware

> firewall.
>
> > > > > In /etc/network/interfaces:
> > > > >
> > > > > auto lo
> > > > > iface lo inet loopback
> > > > >
> > > > > auto eth1
> > > > > allow-hotplug eth1
> > > > > iface eth1 inet dhcp
> > > > > address 192.168.1.1
> > > > > netmask 255.255.255.0
> > > > > network 192.168.1.0
> > > > > broadcast 192.168.1.255
> > > > >

> > Why both dhcp _and_ static entries?

>
> Dunno ;-(. Years ago, when I set up the firewall, I needed to use dhcp
> in the interface, and for some reason I carried the pre-firewall
> addresses over. If I drop them, how do I define IP addresses on my local
> LAN should I add other local hosts to it? In otherwords, how do I define
> the 192.168.1.1 address for the local host if I remove these static
> addresses?



Your DHCP server will assign the correct address. If you want the box to get
the same address every time, you'll need to configure the DHCP server to
give a reserved address to this box based on this box's MAC layer (hardware)
address.

> > # ifconfig
> > > eth1 Link encap:Ethernet HWaddr 00:A0:C9:B45:A8
> > > inet addr:192.168.111.2 Bcast:192.168.111.255
> > > Mask:255.255.255.0
> > > inet6 addr: fe80::2a0:c9ff:feb4:d5a8/64 Scope:Link
> > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > > RX packets:13510 errors:0 dropped:0 overruns:0 frame:0
> > > TX packets:8205 errors:0 dropped:0 overruns:0 carrier:0
> > > collisions:0 txqueuelen:1000
> > > RX bytes:18629272 (17.7 MiB) TX bytes:601099 (587.0 KiB)
> > >
> > > lo Link encap:Local Loopback

> > [snip]
> >
> >
> > Your hosts file contains your hostname at 192.168.1.1 and I think this
> > is the crux of the problem.

>
> Didn't . Changed to 192.168.111.2 in /etc/hosts and removed the
> static addresses in /etc/network/interfaces. Messages out still generate
> the error: No IP address found for host brownh@hartford-hwp.com.




Did you then restart networking (/etc/init.d/networking restart)?

Does "ifconfig" still report the same as above?

Can you ping external devices successfully? If so, then I suspect (as you
do) that something's amiss in your mail setup rather than your networking
setup.

--
Kent West
Westing Peacefully - http://kentwest.blogspot.com

  Réponse avec citation
Vieux 30/04/2007, 02h40   #7
Douglas Allan Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Host's IP address can't be found

On Sun, Apr 29, 2007 at 08:03:21AM -0500, Kent West wrote:
> On 4/29/07, Gloria Brown <Gloria@artistsunitedforchristministries.org>
> >On Sat, 2007-04-28 at 19:25 -0400, Douglas Allan Tutty wrote:
> >> > > On Sat, Apr 28, 2007 at 02:35:03PM -0400, Gloria Brown wrote:
> >> > > > I installed Etch on a stand-alone workstation which is the sole

> >host on
> >> > > > a local network and has Internet access through a hardware

> >firewall.
> >
> >> > > > In /etc/network/interfaces:
> >> > > > auto eth1
> >> > > > allow-hotplug eth1
> >> > > > iface eth1 inet dhcp
> >> > > > address 192.168.1.1
> >> > > > netmask 255.255.255.0
> >> > > > network 192.168.1.0
> >> > > > broadcast 192.168.1.255
> >> > > >
> >> Why both dhcp _and_ static entries?

> >
> >Dunno ;-(. Years ago, when I set up the firewall, I needed to use dhcp
> >in the interface, and for some reason I carried the pre-firewall
> >addresses over. If I drop them, how do I define IP addresses on my local
> >LAN should I add other local hosts to it? In otherwords, how do I define
> >the 192.168.1.1 address for the local host if I remove these static
> >addresses?


Shouldn't the dhcp server on the firewall box do that?

Since I've never used dhcp or a hardware firewall box, I'm out of ideas.

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 30/04/2007, 20h10   #8
Celejar
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Host's IP address can't be found

On Sun, 29 Apr 2007 08:03:21 -0500
"Kent West" <westk@acu.edu> wrote:

[snip]

> Your DHCP server will assign the correct address. If you want the box to get
> the same address every time, you'll need to configure the DHCP server to
> give a reserved address to this box based on this box's MAC layer (hardware)
> address.


I do this on my LAN. Just to clarify, this isn't something you can
configure on the Debian client system; the DHCP server has to be
instructed to reserve a specific address for a specific MAC address.
How to do this will depend on the specific DHCP implementation. On my
Netgear home router, for example, there's a section somewhere (I'm not
on my home LAN now) in the web interface that allows one to set up a
table of MAC addresses associated with reserved IP addresses.

[snip]

> Kent West
> Westing Peacefully - http://kentwest.blogspot.com


Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 13/05/2007, 10h50   #9
Chris Bannister
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Host's IP address can't be found

On Sat, Apr 28, 2007 at 02:35:03PM -0400, Gloria Brown wrote:
> I installed Etch on a stand-alone workstation which is the sole host on
> a local network and has Internet access through a hardware firewall.
>
> I have a MB ethernet chip, but am using a NIC card. Before the card was
> eth0, but with installation of Etch on a new disk, it apparently changed
> to eth1.


You are getting online ok?

> I can't mail out with rmail or Wanderlust because the host's IP address
> can't be found:
> In exim4/mainlog when I use rmail:
>
> 2007-04-28 06:55:20 1HhkaF-0000qy-WE <= brownh@teufel.hartford-hwp.com
> U=brownh P=local S=448
> 2007-04-28 06:55:20 1HhkaF-0000qy-WE no IP address found for host
> brownh@hartford-hwp.com
> 2007-04-28 06:55:20 1HhkaF-0000qy-WE == brownh@teufel.hartford-hwp.com
> R=smarthost defer (-1): lookup of host "brownh@hartford-hwp.com"
> failed in smarthost router


[snip unnecessary, INMHO, configs]

Have a look at /etc/email-addresses[1], where you can map local addresses
to your isp address.
Is exim configured to use your smtp server?

[1] Not sure if /etc/email-addresses is the correct name -- could
someone check this.

--
Chris.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 13/05/2007, 15h10   #10
Andrei Popescu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Host's IP address can't be found

mockingbird@earthlight.co.nz (Chris Bannister) wrote:

> On Sat, Apr 28, 2007 at 02:35:03PM -0400, Gloria Brown wrote:
> > I installed Etch on a stand-alone workstation which is the sole
> > host on a local network and has Internet access through a hardware
> > firewall.
> >
> > I have a MB ethernet chip, but am using a NIC card. Before the card
> > was eth0, but with installation of Etch on a new disk, it
> > apparently changed to eth1.

>
> You are getting online ok?
>
> > I can't mail out with rmail or Wanderlust because the host's IP
> > address can't be found:
> > In exim4/mainlog when I use rmail:
> >
> > 2007-04-28 06:55:20 1HhkaF-0000qy-WE <=
> > brownh@teufel.hartford-hwp.com U=brownh P=local S=448
> > 2007-04-28 06:55:20 1HhkaF-0000qy-WE no IP address found for host
> > brownh@hartford-hwp.com
> > 2007-04-28 06:55:20 1HhkaF-0000qy-WE ==
> > brownh@teufel.hartford-hwp.com R=smarthost defer (-1): lookup of
> > host "brownh@hartford-hwp.com" failed in smarthost router

>
> [snip unnecessary, INMHO, configs]
>
> Have a look at /etc/email-addresses[1], where you can map local
> addresses to your isp address.
> Is exim configured to use your smtp server?
>
> [1] Not sure if /etc/email-addresses is the correct name -- could
> someone check this.


Do you mean /etc/aliases or is this an exim file? (I run postfix)

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGRxuLqJyztHCFm9kRAuDfAKCljDX/BLj7r4lPXQWR9IUcSBlEMQCfcY5C
nQDwEtHlDZ6K5rodBxiVM/s=
=tDva
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 13/05/2007, 20h30   #11
Celejar
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Host's IP address can't be found

On Sun, 13 May 2007 17:07:07 +0300
Andrei Popescu <andreimpopescu@gmail.com> wrote:

> mockingbird@earthlight.co.nz (Chris Bannister) wrote:
>
> > On Sat, Apr 28, 2007 at 02:35:03PM -0400, Gloria Brown wrote:


[snip]

> > Have a look at /etc/email-addresses[1], where you can map local
> > addresses to your isp address.
> > Is exim configured to use your smtp server?
> >
> > [1] Not sure if /etc/email-addresses is the correct name -- could
> > someone check this.

>
> Do you mean /etc/aliases or is this an exim file? (I run postfix)


It's the correct name, it's an exim file.

> Regards,
> Andrei


Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 16h51.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,31482 seconds with 19 queries