From nobody Thu May 18 04:38:51 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QMHLY6T8Bz4C2nC for ; Thu, 18 May 2023 04:39:17 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "prime.gushi.org", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QMHLY5KSJz493x for ; Thu, 18 May 2023 04:39:17 +0000 (UTC) (envelope-from freebsd@gushi.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (2603-6080-3000-f008-90ba-455c-0633-41d9.res6.spectrum.com [IPv6:2603:6080:3000:f008:90ba:455c:633:41d9]) (authenticated bits=0) by prime.gushi.org (8.16.1/8.16.1) with ESMTPSA id 34I4d7XP007702 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 May 2023 21:39:08 -0700 (PDT) (envelope-from freebsd@gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 34I4d7XP007702 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1684384749; bh=tl408VJrB+4JXdvdDJR6DCZRfPgk+A44oD3ziBloYlo=; h=Subject:From:In-Reply-To:Date:Cc:References:To; z=Subject:=20Re:=20sendmail=20error,=20"MX=20list=20for=20mydomain. com=20points=20back=20to=0D=0A=20server.mydomain.com"|From:=20"Dan =20Mahoney=20(Ports)"=20|In-Reply-To:=20|Date:=20Thu,=2018=20May= 202023=2000:38:51=20-0400|Cc:=20Dewayne=20,=0D=0A=20questions@freebsd.org|References:=20<303e35e4d8 9e68dcd9863239dcda568e@blackfoot.net>=0D=0A=20=0D=0A=20<30b97aa95162c1 63c1781ba1a0fa8e25@blackfoot.net>=0D=0A=20=0D=0A=20|To:=20vagabond=20; b=bRYhgt+TUcQ6RnsxxC2WkQux2KgxvWyU6PDmbYrxO2vv2JLUmDTDVYUSaTtbVO39/ K2z2eDwDiL8OdZMsMWeelTxLfJsX4G4nYN5bIl1Ik9mPNqxnwIPxYCcu4hLf4TdFg4 XjnRsb7Ezj3tgFYr07DR4gZQ6MhS9PNEPeqyY3flOVRFSiX9vSWDzIjx+7gufh3oid FzyVOeDGWLs02mOMXedHLoeg9xjBZlYR/CMlrTJ/LIZV6AuDmcSAwRqQop2PJxEOqG eqfYrQjLkjGJMDVnRrTl6RLGHsRQXS1mH5i9Ph6671FGz45ybSKrgOI3aklGET0uxu du/fO+bmBf8JA== X-Authentication-Warning: prime.gushi.org: Host 2603-6080-3000-f008-90ba-455c-0633-41d9.res6.spectrum.com [IPv6:2603:6080:3000:f008:90ba:455c:633:41d9] claimed to be smtpclient.apple Content-Type: text/plain; charset=us-ascii List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: sendmail error, "MX list for mydomain.com points back to server.mydomain.com" From: "Dan Mahoney (Ports)" In-Reply-To: Date: Thu, 18 May 2023 00:38:51 -0400 Cc: Dewayne , questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <15AF7ED7-BBD9-428D-939F-4AA5B349C578@gushi.org> References: <303e35e4d89e68dcd9863239dcda568e@blackfoot.net> <30b97aa95162c163c1781ba1a0fa8e25@blackfoot.net> To: vagabond X-Mailer: Apple Mail (2.3731.500.231) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (prime.gushi.org [IPv6:2620:137:6000:10:0:0:0:142]); Thu, 18 May 2023 04:39:09 +0000 (UTC) X-Rspamd-Queue-Id: 4QMHLY5KSJz493x X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N What you were saying about your ISP having bogus entries is quite = possibly at least part of the problem. Sendmail uses real DNS and ignores /etc/hosts (because it needs to look = up MX records, there are no MX records in /etc/hosts). If you *really* = want to cheat that, you can run BIND on localhost and put a zone for = your own domain answering on localhost, and put 127.0.0.1 in = /etc/resolv.conf. =20 What is the hostname of your system? Can you post your full freebsd.mc? Have you rebuilt your sendmail.cf recently? -Dan > On May 18, 2023, at 12:19 AM, vagabond wrote: >=20 >> What do you have in /etc/mail/local-host-names? > ns.dreamchaser.org > it did have > ns.dreamchaser.org > ns.discoveriesinwood.com >=20 >> Are you using the stock freebsd.mc or sendmail.mc or whatever came = with the system? >=20 > mc file was originally derived from freebsd.mc from 10.x adapted to = 11.3 to 12.3 to 12.4 over the course of upgrades. > It has: > define(`confCW_FILE', `-o /etc/mail/local-host-names') >=20 >> All variants of domains you accept mail for should be in = /etc/mail/local-host-names, and if you want to map separately for each = domain, you need to set up a virtusertable. >=20 > don't need to map separately. >=20 > Originally I accepted 2 domains, but to get it running I'm willing to = change that to only 1, > dreamchaser.org > I just got rid of the other entry in local-host-names and bounced = sendmail; > the error persists. > Any other places I could be messed up? >=20 > Thanks, >=20 > Gary