From owner-freebsd-questions@FreeBSD.ORG Sun Oct 12 14:31:38 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AFDF16A4FF for ; Sun, 12 Oct 2003 14:31:38 -0700 (PDT) Received: from spam03.cluster1.charter.net (spam03.cluster1.charter.net [209.225.28.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8ACC843FA3 for ; Sun, 12 Oct 2003 14:31:37 -0700 (PDT) (envelope-from chowse@charter.net) Received: from moe (jackson-66-168-145-25.midtn.chartertn.net [66.168.145.25]) h9CL2fj5053781; Sun, 12 Oct 2003 17:02:45 -0400 (EDT) (envelope-from chowse@charter.net) From: "Charles Howse" To: "'Kevin D. Kinsey, DaleCo, S.P.'" Date: Sun, 12 Oct 2003 16:02:35 -0500 Message-ID: <002c01c39104$29d27160$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <3F89ADCC.4000906@daleco.biz> Importance: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-questions@freebsd.org Subject: RE: Sendmail hosed after hostname changed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2003 21:31:38 -0000 > >Hi, > >I've changed my hostname from larry.howse.no-ip.org to > >larry.howse.homeunix.net. > >I'm no longer getting my daily reports, or any mail from=20 > this machine on > >my home network. > >I have "sendmail_enable=3D"NO" in my rc.conf, not running an=20 > external mail > >server, only need local mail. > >I *think* I need to tell sendmail to use localhost as the=20 > relay, because > >howse.homeunix.net is just a record in the dynamic dns server that I > >use: dynDNS.org > > > >I know very little about sendmail, can anyone help correct=20 > this problem? > >Output of tail /var/log/maillog: > > > >[charles@larry ~]$ tail /var/log/maillog > >Oct 12 13:19:06 larry sm-mta[1725]: h9CIIso1001722: > >to=3D, delay=3D00:00:12,=20 > xdelay=3D00:00:00, > >mailer=3Desmtp, pri=3D120370, relay=3Dhowse.homeunix.net. = [66.168.145.25], > >dsn=3D4.0.0, stat=3DDeferred: Connection refused by = howse.homeunix.net. > >Oct 12 13:19:06 larry sm-mta[1725]: h9CCJ6o3001436: > >to=3D, delay=3D06:00:00, = xdelay=3D00:00:00, > >mailer=3Desmtp, pri=3D1111992, relay=3Dhowse.homeunix.net., = dsn=3D4.0.0, > >stat=3DDeferred: Connection refused by howse.homeunix.net. > >Oct 12 13:19:06 larry sm-mta[1725]: h9CCJ6o2001436: > >to=3D, delay=3D06:00:00, = xdelay=3D00:00:00, > >mailer=3Desmtp, pri=3D1114308, relay=3Dhowse.homeunix.net., = dsn=3D4.0.0, > >stat=3DDeferred: Connection refused by howse.homeunix.net. > >Oct 12 13:19:06 larry sm-mta[1725]: h9C9J5o2001281: > >to=3D, delay=3D09:00:00, = xdelay=3D00:00:00, > >mailer=3Desmtp, pri=3D1657639, relay=3Dhowse.homeunix.net., = dsn=3D4.0.0, > >stat=3DDeferred: Connection refused by howse.homeunix.net. > >Oct 12 13:19:06 larry sm-mta[1725]: h9C9J5o3001281: > >to=3D, delay=3D09:00:00, = xdelay=3D00:00:00, > >mailer=3Desmtp, pri=3D1665654, relay=3Dhowse.homeunix.net., = dsn=3D4.0.0, > >stat=3DDeferred: Connection refused by howse.homeunix.net. > >Oct 12 13:19:06 larry sm-mta[1725]: h9C83to1001214: > >to=3D, delay=3D10:15:11, = xdelay=3D00:00:00, > >mailer=3Desmtp, pri=3D1920401, relay=3Dhowse.homeunix.net., = dsn=3D4.0.0, > >stat=3DDeferred: Connection refused by howse.homeunix.net. > >Oct 12 13:19:06 larry sm-mta[1725]: h9C83ao1001150: > >to=3D, delay=3D10:15:29, = xdelay=3D00:00:00, > >mailer=3Desmtp, pri=3D1920404, relay=3Dhowse.homeunix.net., = dsn=3D4.0.0, > >stat=3DDeferred: Connection refused by howse.homeunix.net. > >Oct 12 13:19:06 larry sm-mta[1725]: h9C82Ho1000954: > >to=3D, delay=3D10:16:49,=20 > xdelay=3D00:00:00, > >mailer=3Desmtp, pri=3D2118398, relay=3Dhowse.homeunix.net., = dsn=3D4.0.0, > >stat=3DDeferred: Connection refused by howse.homeunix.net. > >Oct 12 13:19:06 larry sm-mta[1725]: h9C4w1o1000696: > >to=3D, delay=3D13:21:04,=20 > xdelay=3D00:00:00, > >mailer=3Desmtp, pri=3D2550389, relay=3Dhowse.homeunix.net., = dsn=3D4.0.0, > >stat=3DDeferred: Connection refused by howse.homeunix.net. > >Oct 12 13:19:06 larry sm-mta[1725]: h9C4x1o1000716: > >to=3D, delay=3D13:20:05,=20 > xdelay=3D00:00:00, > >mailer=3Desmtp, pri=3D2550418, relay=3Dhowse.homeunix.net., = dsn=3D4.0.0, > >stat=3DDeferred: Connection refused by howse.homeunix.net. > > > > > > =20 > > > Did you update /etc/mail/relay-domains and /etc/mail/local-host-names? Those files did not exist. =20 I couldn't find anything about the format of those files, so... I touched them, and added larry.howse.homeunix.net to local-host-names, and howse.homeunix.net to relay-domains. Then I rebooted, and sent an email from root to charles (on larry). Then I checked charles' mail - no mail [charles@larry ~]$ tail /var/log/maillog Oct 12 15:52:11 larry sm-mta[122]: h9C9J5o3001281: to=3D, delay=3D11:33:05, = xdelay=3D00:00:00, mailer=3Desmtp, pri=3D2205654, relay=3Dhowse.homeunix.net., dsn=3D4.0.0, stat=3DDeferred: Connection refused by howse.homeunix.net. Oct 12 15:52:11 larry sm-mta[122]: h9C83to1001214: to=3D, delay=3D12:48:16, = xdelay=3D00:00:00, mailer=3Desmtp, pri=3D2460401, relay=3Dhowse.homeunix.net., dsn=3D4.0.0, stat=3DDeferred: Connection refused by howse.homeunix.net. Oct 12 15:52:11 larry sm-mta[122]: h9C83ao1001150: to=3D, delay=3D12:48:34, = xdelay=3D00:00:00, mailer=3Desmtp, pri=3D2460404, relay=3Dhowse.homeunix.net., dsn=3D4.0.0, stat=3DDeferred: Connection refused by howse.homeunix.net. Oct 12 15:52:11 larry sm-mta[122]: h9C82Ho1000954: to=3D, delay=3D12:49:54, = xdelay=3D00:00:00, mailer=3Desmtp, pri=3D2658398, relay=3Dhowse.homeunix.net., dsn=3D4.0.0, stat=3DDeferred: Connection refused by howse.homeunix.net. Oct 12 15:52:11 larry sm-mta[122]: h9C4w1o1000696: to=3D, delay=3D15:54:09, = xdelay=3D00:00:00, mailer=3Desmtp, pri=3D3090389, relay=3Dhowse.homeunix.net., dsn=3D4.0.0, stat=3DDeferred: Connection refused by howse.homeunix.net. Oct 12 15:52:11 larry sm-mta[122]: h9C4x1o1000716: to=3D, delay=3D15:53:10, = xdelay=3D00:00:00, mailer=3Desmtp, pri=3D3090418, relay=3Dhowse.homeunix.net., dsn=3D4.0.0, stat=3DDeferred: Connection refused by howse.homeunix.net. Oct 12 15:52:54 larry sendmail[182]: h9CKqsWb000182: from=3Droot, = size=3D31, class=3D0, nrcpts=3D1, msgid=3D<200310122052.h9CKqsWb000182@larry.howse.homeunix.net>, relay=3Droot@localhost Oct 12 15:52:54 larry sm-mta[183]: h9CKqsAs000183: from=3D, size=3D374, class=3D0, = nrcpts=3D1, msgid=3D<200310122052.h9CKqsWb000182@larry.howse.homeunix.net>, proto=3DESMTP, daemon=3DDaemon0, relay=3Dlocalhost.howse.homeunix.net [127.0.0.1] Oct 12 15:52:54 larry sendmail[182]: h9CKqsWb000182: to=3Dcharles, ctladdr=3Droot (0/0), delay=3D00:00:00, xdelay=3D00:00:00, = mailer=3Drelay, pri=3D30027, relay=3D[127.0.0.1] [127.0.0.1], dsn=3D2.0.0, stat=3DSent (h9CKqsAs000183 Message accepted for delivery) Oct 12 15:52:54 larry sm-mta[185]: h9CKqsAs000183: to=3D, delay=3D00:00:00, = xdelay=3D00:00:00, mailer=3Desmtp, pri=3D30370, relay=3Dhowse.homeunix.net. = [66.168.145.25], dsn=3D4.0.0, stat=3DDeferred: Connection refused by howse.homeunix.net.