[Pkg-exim4-users] configureing exim4 - setting hostname
Andreas Metzler
ametzler@downhill.at.eu.org
Mon, 13 Jun 2005 21:15:48 +0200
On 2005-06-13 Greg Post <gpost@pierwisconsin.org> wrote:
[...]
> Everything seems to be working except for outgoing mail.
> When I check the logs I see:
> Jun 13 13:55:53 2005 (7022) delivery to someone@somewhere.tld failed
> with code -1: (111, 'Connection refused')
> Upon further inspection, I noticed that if I telnet to port 25 I see the
> following:
> 220 localhost.localdomain ESMTP Exim 4.50 Mon, 13 Jun 2005 13:34:45
> -0500
> My guess is that the connection is being refused because my server is
> not reporting a valid host.domain (instead it is reporting
> localhost.localdomain)
Hello,
I don't think so. The remote host is rejecting the connection before
exim has identified itself in ehlo.
You can verify this with
swaks -s the.remote.server.that.failed -f 'gpost@pierwisconsin.org' \
-t postmaster -q rcpt
> So down to the real question: Where do I set the hostname and domain
> for exim4? I am using single file method for exim configure.
Give your host a real name instead of "localhost" (in /etc/hostname).
cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
http://downhill.aus.cc/