Hello, I have read through everything I can find and can''t seem to find any documentation describing my problem. I am trying to setup a mailman mailing list using exim4 as my MTA. I recently installed Debian Sarge, and used apt to install mailman and exim4. 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) 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. Any help would be greatly appreciated. -Greg
Andreas Metzler
2005-Jun-13 19:15 UTC
[Pkg-exim4-users] configureing exim4 - setting hostname
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/