Exim for local mail?
This is a really basic question on setting up exim for local mail, which
is eluding me.
I have a two machine home network, both running Hamm. The machines are
named/addressed as follows:
newdebian.pfeifer.home (192.168.1.1)
olddebian.pfeifer.home (192.168.1.2)
pfeifer.home (192.168.1.0)
All other network communication between the machines works great -
telnet, ftp, nfs, etc, but I can't get exim to deliver mail from one to
the other. It works fine from one user to another on the same machine.
Here is what I did to set it up:
1) Ran eximconfig and set it up for local mail delivery only (choice 4)
and accepted all defaults for the questions.
2) Edited /etc/exim.conf and made one change, which was to add the other
host to the local_domains field on each machine, so that it is
considered a local machine. I've also tried it *without* editing this
file with the same results as shown below.
3) I've verifed that exim is started by inetd with the
/usr/sbin/exim exim -bs command line in /etc/inetd.conf
Here's two examples of what happens:
---------------------------------------------------------------------
1) There is one user of the same name on both machines. If I send mail
from one to the other, the mail comes back to the user on the sending
machine, but never gets delivered to the other.
For example, if I send mail
from: tompfr@newdebian.pfeifer.home
to: tompfr@olddebian.pfeifer.home
the mail goes to tompfr@newdebian.pfeifer.home. Here's the header:
>From tompfr@newdebian.pfeifer.home Tue Oct 20 11:03:14 1998
Envelope-to: tompfr@olddebian.pfeifer.home
Delivery-date: Tue, 20 Oct 1998 11:03:14 -0400
To: tompfr@olddebian.pfeifer.home
Subject: hello
From: Thomas Pfeifer <tompfr@newdebian.pfeifer.home>
Date: Tue, 20 Oct 1998 11:03:13 -0400
-----------------------------------------------------------------------
2) If I send mail to a valid user of a different name on the other
machine, the mail again does not get delivered, but the sender gets an
error mail message that looks like this:
>From MAILER-DAEMON Tue Oct 20 11:21:10 1998
Envelope-to: tompfr@newdebian.pfeifer.home
Delivery-date: Tue, 20 Oct 1998 11:21:10 -0400
X-Failed-Recipients: karen@olddebian.pfeifer.home
From: Mail Delivery System <Mailer-Daemon@newdebian.pfeifer.home>
To: tompfr@newdebian.pfeifer.home
Subject: Mail delivery failed: returning message to sender
Date: Tue, 20 Oct 1998 11:21:10 -0400
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to all of its recipients.
The following address(es) failed:
karen@olddebian.pfeifer.home:
unknown local-part "karen" in domain "olddebian.pfeifer.home"
-----------------------------------------------------------------------
Again, mail between users on the same machine works fine. Obviously I'm
mising *something* in setting this up, but I see nothing in the config
file that looks like it applies. Maybe I just misunderstand how to enter
the domain names in /etc/exim.conf. Here's the applicable lines on the
newdebian machine - I only changed the 3rd line:
qualify_domain = newdebian.pfeifer.home
# qualify_recipient =
local_domains = olddebian.pfeifer.home
local_domains_include_host = true
local_domains_include_host_literals = true
I'm reading the exim docs, but if anyone sees what my problem is, or
things I should look at, I'd appreciate the help.
Thanks,
Tom
Reply to: