Hello sendmail group,
I am trying to get sendmail to run on my linux system (Fedora Core
6). I am wishing it would just send log message emails to root. For
some reason my localhost and my local ip are conflicting.
I am using the box primarily as a firewall, running iptables. I have
two network cards, one (eth0) for the internet, and configure via DHCP
from the DSL provider - it has an outside ip address. The other
network card is for my local network (with 3 systems). I am using ip
masquerade, to allow the 3 boxes behind the firewall to access the
internet, etc. It's ip address is 192.168.1.1. I do not want to use
sendmail for anything but on the localhost, which I have named
"ewhlinux" - and set its name and ip in the /etc/hosts file (...
192.168.1.1 ewhlinux).
I also have a line in the hosts file for the localhost.localdomain
which is just 127.0.0.1.
I have removed the sendmail program using rpm -e, and reinstalled it
using the rpm -Uvh, etc to return to a "generic" setup - I seem to
still be missing something. Perhaps someone will see my error?
That describes my setup more or less. I have included here the text
of the "mail" message I get:
Mail version 8.1 6/6/93. Type ? for help.
"/var/spool/mail/root": 1 message 1 new
>N 1 MAILER-DAEMON [at] ewhlin Mon Oct 8 06:59 185/6006 "Postmaster notify: se"
& type
Message 1:
>From MAILER-DAEMON [at] ewhlinux.localdomain Mon Oct 8 06:59:25 2007
Date: Mon, 8 Oct 2007 06:59:25 -0700
From: Mail Delivery Subsystem <MAILER-DAEMON [at] ewhlinux.localdomain>
To: postmaster [at] ewhlinux.localdomain
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="l98DxO8B002752.1191851965/ewhlinux.localdomain"
Subject: Postmaster notify: see transcript for details
Auto-Submitted: auto-generated (postmaster-notification)
This is a MIME-encapsulated message
--l98DxO8B002752.1191851965/ewhlinux.localdomain
The original message was received at Wed, 3 Oct 2007 05:01:22 -0700
from localhost
----- The following addresses had permanent fatal errors -----
<root [at] ewhlinux.localdomain>
----- Transcript of session follows -----
<root [at] ewhlinux.localdomain>... Deferred: Connection refused by
192.168.1.1.
Message could not be delivered for 5 days
Message will be deleted from queue
--l98DxO8B002752.1191851965/ewhlinux.localdomain
Content-Type: message/delivery-status
Reporting-MTA: dns; ewhlinux.localdomain
Arrival-Date: Wed, 3 Oct 2007 05:01:22 -0700
Final-Recipient: RFC822; root [at] 192.168.1.1
Action: failed
Status: 4.4.7
Remote-MTA: DNS; 192.168.1.1
Last-Attempt-Date: Mon, 8 Oct 2007 06:59:25 -0700
--l98DxO8B002752.1191851965/ewhlinux.localdomain
Content-Type: message/rfc822
Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
by ewhlinux.localdomain (8.14.1/8.14.1) id l93C1LEh010548;
Wed, 3 Oct 2007 05:01:22 -0700
Date: Wed, 3 Oct 2007 05:01:22 -0700
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <200710031201.l93C1LEh010548 [at] ewhlinux.localdomain>
To: <root [at] 192.168.1.1>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="l93C1LEh010548.1191412882/ewhlinux.localdomain"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
This is a MIME-encapsulated message
--l93C1LEh010548.1191412882/ewhlinux.localdomain
The original message was received at Fri, 28 Sep 2007 04:31:31 -0700
from localhost.localdomain [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<root [at] ewhlinux.localdomain>
----- Transcript of session follows -----
<root [at] ewhlinux.localdomain>... Deferred: Connection refused by
192.168.1.1.
Message could not be delivered for 5 days
Message will be deleted from queue
--l93C1LEh010548.1191412882/ewhlinux.localdomain
Content-Type: message/delivery-status
Reporting-MTA: dns; ewhlinux.localdomain
Arrival-Date: Fri, 28 Sep 2007 04:31:31 -0700
Final-Recipient: RFC822; root [at] 192.168.1.1
Action: failed
Status: 4.4.7
Remote-MTA: DNS; 192.168.1.1
Last-Attempt-Date: Wed, 3 Oct 2007 05:01:22 -0700
--l93C1LEh010548.1191412882/ewhlinux.localdomain
Content-Type: message/rfc822
Return-Path: <root [at] 192.168.1.1>
Received: from ewhlinux.localdomain (localhost.localdomain
[127.0.0.1])
by ewhlinux.localdomain (8.14.1/8.14.1) with ESMTP id
l8SBVVld011508
for <root [at] ewhlinux.localdomain>; Fri, 28 Sep 2007 04:31:31
-0700
Received: (from root [at] localhost)
by ewhlinux.localdomain (8.14.1/8.14.1/Submit) id
l8SBVShj011305;
Fri, 28 Sep 2007 04:31:28 -0700
Date: Fri, 28 Sep 2007 04:31:28 -0700
Message-Id: <200709281131.l8SBVShj011305 [at] ewhlinux.localdomain>
To: root [at] 192.168.1.1
From: logwatch [at] 192.168.1.1
Subject: Logwatch for ewhlinux.localdomain (Linux)
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="iso-8859-1"
