Date: Sun, 12 Oct 2003 22:15:21 -0500 From: "Charles Howse" <chowse@charter.net> To: "'Kevin D. Kinsey, DaleCo, S.P.'" <kdk@daleco.biz> Cc: freebsd-questions@freebsd.org Subject: RE: Sendmail hosed after hostname changed Message-ID: <000301c39138$3cd00e10$04fea8c0@moe> In-Reply-To: <3F89ADCC.4000906@daleco.biz>
next in thread | previous in thread | raw e-mail | index | archive | help
> Charles Howse wrote: >=20 > >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<charles@larry.howse.homeunix.net>, 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<root@larry.howse.homeunix.net>, 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<root@larry.howse.homeunix.net>, 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<root@larry.howse.homeunix.net>, 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<root@larry.howse.homeunix.net>, 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<root@larry.howse.homeunix.net>, 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<root@larry.howse.homeunix.net>, 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<charles@larry.howse.homeunix.net>, 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<charles@larry.howse.homeunix.net>, 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<charles@larry.howse.homeunix.net>, 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<root@larry.howse.homeunix.net>, 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<root@larry.howse.homeunix.net>, 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<root@larry.howse.homeunix.net>, 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<charles@larry.howse.homeunix.net>, 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<charles@larry.howse.homeunix.net>, 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<charles@larry.howse.homeunix.net>, 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<root@larry.howse.homeunix.net>, 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<charles@larry.howse.homeunix.net>, 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000301c39138$3cd00e10$04fea8c0>