Re: [Exim] Debian, Exim and HELO.

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Matthew Byng-Maddick
Data:  
Para: exim-users
Asunto: Re: [Exim] Debian, Exim and HELO.
On Mon, Jun 17, 2002 at 08:07:10PM +0200, j2 wrote:
> Aparantly my server just does a "HELO cookiemonster" and not a "HELO
> cookiemonster.mupp.net" What might i have missed?
>
> cookiemonster:/home/gefu# host cookiemonster
> cookiemonster.mupp.net  A       192.168.0.130
> cookiemonster:/home/gefu# host 192.168.0.130
> Name: cookiemonster.mupp.net
> Address: 192.168.0.130

>
> Seems to be in order, no?


Have a look at your /etc/hosts. Exim does a gethostbyaddr(3) to find out
its name, and unlike host(1), it will use /etc/hosts in preference to the
DNS.

Your /etc/hosts should read:
| 127.0.0.1 localhost
| 192.168.0.130 cookiemonster.mupp.net cookiemonster

and then it will work correctly.

However, you've been rather silly in using the 192.168.0.0/24 network,
as RFC1918 suggests that you should pick a random one.

MBM

--
Matthew Byng-Maddick         <mbm@???>           http://colondot.net/