From nobody Sun May 21 23:14:00 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 4QPbyt010Qz4CcJW for ; Sun, 21 May 2023 23:15:18 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from heuristicsystems.com.au (hermes.heuristicsystems.com.au [203.41.22.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2560 bits) client-digest SHA256) (Client CN "hermes.heuristicsystems.com.au", Issuer "Heuristic Systems Type 4 Host CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QPbyq20sZz3Fyl for ; Sun, 21 May 2023 23:15:15 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=heuristicsystems.com.au header.s=hsa header.b="VvLq/rSC"; spf=pass (mx1.freebsd.org: domain of dewayne@heuristicsystems.com.au designates 203.41.22.115 as permitted sender) smtp.mailfrom=dewayne@heuristicsystems.com.au; dmarc=none Received: from [10.0.5.3] (noddy.hs [10.0.5.3]) (authenticated bits=0) by heuristicsystems.com.au (8.15.2/8.15.2) with ESMTPSA id 34LNEQ8I018844 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Mon, 22 May 2023 09:14:27 +1000 (AEST) (envelope-from dewayne@heuristicsystems.com.au) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=heuristicsystems.com.au; s=hsa; t=1684710867; x=1685315668; bh=OI3w+lksLFKTlf/FxsWSbYz4TcNKIuUZFCZpdcU6LMM=; h=Message-ID:Date:Subject:To:From; b=VvLq/rSCJeFaqB5AIHd8G28VfNdqvbyt6fYwuStFrmtcWX4ne3JPIVSuugz1U6hy5 bOtH9lcRCvoi3AbKySt58zEpRjolFEIwHJ6ixRYPVAmwsMSLcaL2G8X+6P67oWu4t8 v0fqApx0ZAVA6pWlnHjgpgfTRnyfXJMiqT5Ix/dldi3wDs2pIb1I6 X-Authentication-Warning: b3.hs: Host noddy.hs [10.0.5.3] claimed to be [10.0.5.3] Message-ID: <5b4ca761-c980-cb47-df3d-fe675a52700e@heuristicsystems.com.au> Date: Mon, 22 May 2023 09:14:00 +1000 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 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: sendmail error, "MX list for mydomain.com points back to server.mydomain.com" Content-Language: en-GB To: questions@freebsd.org References: <303e35e4d89e68dcd9863239dcda568e@blackfoot.net> <30b97aa95162c163c1781ba1a0fa8e25@blackfoot.net> <15AF7ED7-BBD9-428D-939F-4AA5B349C578@gushi.org> <66db9ba3bd66fcc56affdbf7a2621021@blackfoot.net> <2f8bca59462afe206043bea73241bbf2@blackfoot.net> <3da26eb675ecd5d10947fb53fcf3524a@blackfoot.net> <6068541D-A81B-45F0-B961-FD5CD6969FA0@gushi.org> From: Dewayne In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-6.20 / 15.00]; DWL_DNSWL_MED(-2.00)[heuristicsystems.com.au:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_IN_DNSWL_MED(-0.20)[203.41.22.115:from]; R_DKIM_ALLOW(-0.20)[heuristicsystems.com.au:s=hsa]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[heuristicsystems.com.au]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[heuristicsystems.com.au:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:1221, ipnet:203.40.0.0/13, country:AU]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4QPbyq20sZz3Fyl X-Spamd-Bar: ------ X-ThisMailContainsUnwantedMimeParts: N On 20/05/2023 2:45 pm, vagabond wrote: > On 2023-05-19 16:41, Dan Mahoney (Ports) wrote: >> Any luck? > > Unfortunately, no > I was going to send the below last night but wanted to try some more > things. > I did, but haven't gotten much useful info. > > On 2023-05-18 16:11, little.analyst892@aceecat.org wrote: >> On Thu, May 18, 2023 at 03:36:52PM -0700, vagabond wrote: > >>> ;; res_nquerydomain(ns.dreamchaser.org, dreamchaser.org, 1, 28) >>> ;; res_query(ns.dreamchaser.org.dreamchaser.org, 1, 28) >>> ;; res_nmkquery(QUERY, ns.dreamchaser.org.dreamchaser.org, IN, AAAA) >>> ;; res_send() >>> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45481 >>> ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 >>> ;;      ns.dreamchaser.org.dreamchaser.org, type = AAAA, class = IN >>> ;; Querying server (# 1) address = 127.0.0.1 I run sendmail ipv4. Though unless you can correctly resolve ns and mx, per the following: # host -t mx dreamchaser.org; host mail.dreamchaser.org. dreamchaser.org mail is handled by 10 mail.dreamchaser.org. mail.dreamchaser.org is an alias for ns.dreamchaser.org. ns.dreamchaser.org has address 66.109.141.57 sendmail won't receive. From an earlier email in this thread, querying your dns @localhost suggest that where-ever your internet addresses are resolved has something wrong. Sometimes a dot can make the difference ;) 1. To expedite, change /etc/resolv.conf nameserver WhereYourDNSisPubliclyResolvedNotLocalhost # EOF 2. Use host or dig to resolve what's required for your sendmail. host, mx 3. if (2) is working then look at other things natd, firewall rules, routing and finally sendmail (its usually an innocent bystander) 4. Fix your local dns, res_query(ns.dreamchaser.org.dreamchaser.org... is wrong. As aside, when setting up other businesses, most sendmail problems that I've experienced were dns resolution issues. I note your PTR record is also correct. :) PS From bitter experience, I place dnl at the end of every sendmail.mc statement.