[Exim] Two servers on same local subnet

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Robert Cotran
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] Two servers on same local subnet
Hi all,

I'm sure this has been asked before, but here goes. I have two exim
servers on the same local subnet (192.168.1.x). I am trying to send an
email from a server I have just finished configuring to the other server
which has been running for months now. I am doing it command-line from
a Linux console:

black:~# mail robert@??? < test.txt

The /var/log/exim4/mainlog has this entry when I do this:

2004-04-14 12:45:13 1BDnVh-0003Rp-9I <= root@black U=root P=local S=294
2004-04-14 12:45:13 1BDnVh-0003Rp-9I ** robert@???: all relevant
MX records point to non-existent hosts
2004-04-14 12:45:13 1BDnVh-0003Rp-9I Completed

However, if I do "host -t MX cotran.ca" I get:

black:/var/log/exim4# host -t MX cotran.ca
cotran.ca               MX      10 mail.cotran.ca
black:/var/log/exim4# host mail.cotran.ca
mail.cotran.ca          A       192.168.1.204


And a telnet to port 25 of that address yields:

black:/var/log/exim4# telnet 192.168.1.204 25
Trying 192.168.1.204...
Connected to 192.168.1.204.
Escape character is '^]'.
220 server.otherdomain.com ESMTP Exim 4.30 Wed, 14 Apr 2004 13:45:19 -0400
quit

So everything looks right to me. The weird thing is, if I send email
with the command line to remote smtp servers, it works fine. Only
domains on the server on the same subnet don't work.

Anyone have any ideas? Thanks!

Robert