Re: [exim] Mail server does not recognize me

Top Page
Delete this message
Reply to this message
Author: H. Haines Brown
Date:  
To: Nigel Wade
CC: exim-users
Subject: Re: [exim] Mail server does not recognize me
> The main problem is your hosts file.

Are you saying the hosts file on the two machines should be identical?
I tried having this on both machines:

127.0.0.1    localhost.localdomain localhost
192.168.1.2     teufel.hartford-hwp.com teufel
192.168.1.3     langhans.hartford-hwp.com langhans
192.168.1.1     router.hartford-hwp.com router


I didn't know what name to give the router. Is "router" right?

# ifconfig -a on my desktop shows that its IP address has changed to
inet addr:192.168.1.4. I've no idea what could have caused
this. Should I just modify the two hosts files above accordingly, or
find out why teufel is no longer at 192.168.1.2? I tried adding

192.168.1.4 teufel...

to both files, but it did not help.

> The most likely problem is that your laptop is not getting assigned a
> sensible hostname, and the mail domain which Exim is appending to the
> sender is not one which your hosting service is configured to relay for.
> I don't know how Debian configures the hostname, you'd need to look into
> that yourself. But getting the /etc/hosts correct is the first step.


Debian didn't configure the hostname, I did. That is, when installing
the system I assigned the hostname, but I know from experience that I
can change the hostname at will simply by editing the /etc/hostname
file and rebooting (actually, it can be a bit more complicated than
this, but even this works). I assume the hostname file is static and
simply contains the name that I write to it.

> Also, check the settings in /etc/reslov.conf on both machines. They
> should be the same, but appear not to be.


No, they are the same. Both files simply have:

nameserver 192.168.1.1

Haines